Hi!
This is my problem:
I have a Grid with a User Control for editing and it works fine. However, i cannot get client-side validation to work.
In the User Control i have a couple of validators (Regular Expression, Required Field...) and a button with CommandName="Update". However, when the button is pressed a postback occurs even if the input is incorrect. With correct ValidationGroups, the validators will display after the postback.
The problem is that the validators should trigger client-side, as normal. What am i missing since the grid postbacks?
This is my problem:
I have a Grid with a User Control for editing and it works fine. However, i cannot get client-side validation to work.
In the User Control i have a couple of validators (Regular Expression, Required Field...) and a button with CommandName="Update". However, when the button is pressed a postback occurs even if the input is incorrect. With correct ValidationGroups, the validators will display after the postback.
The problem is that the validators should trigger client-side, as normal. What am i missing since the grid postbacks?