Any way to update args.Value? 
Author Message
 Any way to update args.Value?

I'm working on a custom validation control.
In my Validate sub, I am stripping all non-numeric characters out,
and would like to place that value back in the original text box.

args.Value = outString

Gives me an error, "Property Value is ReadOnly"
I tried to change the
ByVal args  to ByRef but that didn't help any.

Thanks
Robin



Mon, 31 Oct 2005 23:41:40 GMT  
 Any way to update args.Value?
Hello,


Quote:
> I'm working on a custom validation control.
> In my Validate sub, I am stripping all non-numeric characters out,
> and would like to place that value back in the original text box.

> args.Value = outString

> Gives me an error, "Property Value is ReadOnly"
> I tried to change the
> ByVal args  to ByRef but that didn't help any.

Post the complete code of your Sub Validate. If this is an ASP .NET
related question, do not post to microsoft.public.dotnet.languages.vb.

Regards,
Herfried K. Wagner



Tue, 01 Nov 2005 01:05:22 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. JScript Optional recset.Open optional args error ( few args )

2. datagrid updatecommand event args does not recieve updated information

3. Ways to get single value or aggregates from db

4. Update the value in a textbox

5. Update and insert with value in variables

6. Updating field in form from summary value in another

7. Update Field Value

8. Help with updating a field value

9. Recordset value changes with .update

10. Updating Fields with Different Values?

11. Variable and field value changes after .Update in VBA

12. need help on getting the auto-increment value of a field BEFORE updating recordset

 

 
Powered by phpBB® Forum Software