This is a migrated thread and some comments may be shown as answers.

ServerSide validation in RadGrid

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
pasam Anna
Top achievements
Rank 1
pasam Anna asked on 10 May 2010, 09:35 AM
I have RadGrid with Formtemplate.
i did some validation .
When I hit Update Button it closes the form and loses the Data.

If I put 
e.cancel =true
the form will be appear and data will be lost.
what needs to be do if persist data

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 10 May 2010, 05:45 PM
From the sound of things either the validation you have set up does not display that the data entered is incorrect, or you might not be setting up the proper CRUD operations for the RadGrid. If you are not using all of the "AllowAutomaticUpdates/Inserts/Delete" properties with a declarative source you would have to look into Advanced Databinding and setting up the CRUD operations manually. If you have the automatic properties set up and you still do not see the change in the corresponding RadGrid the hint seems to be that there is nothing wrong with the validation - it may just be that you really aren't updating your data. I would recommend reading this article regarding advanced databinding and this article showing how to perform the CRUD operations on a database level. Additionally you might want to read over the validation documentation article.
Tags
Grid
Asked by
pasam Anna
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or