SOS ----- SOS.
I have a RadGrid with FormTemplate having approx 30 controls including ASP.NET validation controls.
I have a ClientSide CustomValidator which needs to access other control on the form using Javascript/JQuery to read its value and also enable or disable some of Other validation controls.
I tried to write following line on a clientside in a CustomValidation Control
I also want to access other controls like textbox, RadmaskedTextbox etc inside CustomValidator control.
Please tell me how to I get a successfull access to these controls.
Regards
JD
I have a RadGrid with FormTemplate having approx 30 controls including ASP.NET validation controls.
I have a ClientSide CustomValidator which needs to access other control on the form using Javascript/JQuery to read its value and also enable or disable some of Other validation controls.
I tried to write following line on a clientside in a CustomValidation Control
ValidatorEnable($(
'RequiredFieldValidator4'), value);
But that does not work and returns error "Microsoft JScript runtime error: 'null' is null or not an object"
I also want to access other controls like textbox, RadmaskedTextbox etc inside CustomValidator control.
Please tell me how to I get a successfull access to these controls.
Regards
JD
<
EditFormSettings
EditFormType
=
"Template"
PopUpSettings-Width
=
"900px"
CaptionFormatString
=
"Edit Property: {0}"
CaptionDataField
=
"PropertyName"
InsertCaption
=
"Add New Property"
PopUpSettings-Modal
=
"true"
PopUpSettings-Height
=
"500px"
PopUpSettings-ScrollBars
=
"Vertical"
>
<
FormTemplate
>
ASP:RadTextBox ......
ASP:RadCombobox
ASP:RequiredFieldValidator
ASP:CustomValidator
etc..... (approx 30 other controls)
</
FormTemplate
>