i have a radiobutton list, and one label with a textbox. Beside the
Texbox i have inserted a fieldvalidator: now, i was wondering if the
code that follows is correct, and if it does, where i should put it.
What i want to do is this: if is selected YES on the RadioButton,
than Fieldvalidator should be Enabled (it is disabled by default).
so here is the code that i have written:
if (RadioButtonListContact.Cheked == "YES")
{
FieldValidatorName.Enabled = true;
}
The fact now is that i don't now where to insert this code, 'cause i
wish the system to activate the FieldValidatorName immediately after
the user has selected the YES option in the RadioButton list.
Thanks
JIGNESH - 08 Oct 2007 14:06 GMT
Hi Vinnie,
This link will guide you to your query.
http://msdn.microsoft.com/msdnmag/issues/02/04/Valid/
Regards
JIGNESH
> i have a radiobutton list, and one label with a textbox. Beside the
> Texbox i have inserted a fieldvalidator: now, i was wondering if the
[quoted text clipped - 14 lines]
>
> Thanks