M
Marius Traelnes
Hello!
My problem is that i have validation controls on my webform but they are not
"fired"
because there is no "onclick" event being made on the button that should
"fire" off the
validation controls. I have tried to add the onclick event by myself by
adding:
LoginBtn.Attributes.Add("onclick", "if (typeof(Page_ClientValidate) ==
'function') Page_ClientValidate(); ")
But that is not good enough because i need some server validation as well.
The strangest
is that I have two web applications, one that works perfectly and one that
doesn't.
Can anyone think of any reason why the onclick event should not be created?
Hope for some help, I'm stuck.
Regards,
Marius
My problem is that i have validation controls on my webform but they are not
"fired"
because there is no "onclick" event being made on the button that should
"fire" off the
validation controls. I have tried to add the onclick event by myself by
adding:
LoginBtn.Attributes.Add("onclick", "if (typeof(Page_ClientValidate) ==
'function') Page_ClientValidate(); ")
But that is not good enough because i need some server validation as well.
The strangest
is that I have two web applications, one that works perfectly and one that
doesn't.
Can anyone think of any reason why the onclick event should not be created?
Hope for some help, I'm stuck.
Regards,
Marius