O
onseats.ky
I have a strange problem with a required field validator when I have
EnableClientScript set to true. When the client side validation fires
I get a javascript exception inside the .net javascript. The exact
error is "targetedControl has no properties". Looking at the .net
script it looks like there is an event object that is expected to have
an object named either srcElement or target which I would guess is the
foem element to be validated. Debugging this code on the browser I see
that both of these objects are always null.
I have another page using the client side validation without a problem
so it appears to be something wrong with this particular page. Also,
I'm positive I have the framework script is available (i walked
through it using firebug)
Does anyone have any ideas what might be causing this?
thanks
EnableClientScript set to true. When the client side validation fires
I get a javascript exception inside the .net javascript. The exact
error is "targetedControl has no properties". Looking at the .net
script it looks like there is an event object that is expected to have
an object named either srcElement or target which I would guess is the
foem element to be validated. Debugging this code on the browser I see
that both of these objects are always null.
I have another page using the client side validation without a problem
so it appears to be something wrong with this particular page. Also,
I'm positive I have the framework script is available (i walked
through it using firebug)
Does anyone have any ideas what might be causing this?
thanks