M
Martin
Hi,
I'm working on a rendered control that I'm trying to put client side
validation into.
The issue I'm having is that ValidatorHookupControl isn't working for me.
This appears to be because my markup uses the input tag in lower case, but
ValidatorHookupControl has code like
if (control.tagName != "INPUT" && control.tagName != "TEXTAREA" &&
control.tagName != "SELECT")
I tried outputing an uppercase INPUT to make the js work, but I still get a
lower case input, inspite of changing my rendering from
output.RenderBeginTag(HtmlTextWriterTag.Input);
to
output.RenderBeginTag("INPUT");
I can't modify ValidatorHookupControl because it is some sort a dynamic file
in ASP.Net 2
Anyone been here/got a solution?
Thanks
Martin
I'm working on a rendered control that I'm trying to put client side
validation into.
The issue I'm having is that ValidatorHookupControl isn't working for me.
This appears to be because my markup uses the input tag in lower case, but
ValidatorHookupControl has code like
if (control.tagName != "INPUT" && control.tagName != "TEXTAREA" &&
control.tagName != "SELECT")
I tried outputing an uppercase INPUT to make the js work, but I still get a
lower case input, inspite of changing my rendering from
output.RenderBeginTag(HtmlTextWriterTag.Input);
to
output.RenderBeginTag("INPUT");
I can't modify ValidatorHookupControl because it is some sort a dynamic file
in ASP.Net 2
Anyone been here/got a solution?
Thanks
Martin