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

RadGrid EditTemplate values are getting cleared

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Velkumar
Top achievements
Rank 2
Velkumar asked on 22 Nov 2011, 11:43 AM
I am using the EditItemTemplate in the RadGrid to input the values .When ever the user submitting the vales i am validating the values inserted by the user and if it is invalid i am showing the Edit template using the "e.canceled =true" command inside the InsertCommand Eventhandler of the Grid.My issue is when i am showing the EditTemplate after the values are validated all the previously entered values in the Edit Template are getting lost . how can we hold all the entered values in the EditTemplate Form?

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 22 Nov 2011, 12:00 PM
Hello Velkumar,

The reason is to clear the data is Your grid was again bind data before comes to the InsertCommand EVent.

SO if possible then USe advance data binding method for binding the datasource.

Let me know if you have still any issue.

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Velkumar
Top achievements
Rank 2
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or