Can anyone from infragistics please help me on this issue.
I have an ultrawebgrid and a ultratoolbar in a page.
i can add data to my grid from a add new row which is fixed at bottom.
I enter data in the add new row and perform all validations for each cell in the Before Row Insert event of the grid
so that only validated data enters the grid.
On a toolbar button click i save the data. here on the tool bar button click i also perform validations(client side) to confirm
that no data misses on updation of any row.
Now the problem is i enter some data in the new row which is fixed at bottom and click the tool bar
button , the validation fails then a pop up comes up asking to enter the missing data(in my validation operations i
used alerts to specify the missing data cell) then a postback occurs and i lose the entered data in the new
row.
Can any one help me to stop the postback and hold the data on tool bar button click on validation failure
in the new row?
Thanks.
Can anyone from infragistics help me on this issue......
Hello,
It is really very hard to figure out what is going on in the scenario. I am not really sure how the grid is setup, how validation is used, etc.
One idea the comes to my mind when forcing all ASP.NET client-side validators programmatically by calling the built-in Client_Validate() javascript function. Maybe you can explicitly call it somewhere (either directly, from a client-side event, etc)
Could you please post a sample code how to call this Client_Validate() function or some link where i can
know how to use this event and what it does.
It will be a great help to me.
Thank You.