RadGrid EditTemplate values are getting cleared

2 posts, 0 answers
  1. Velkumar
    Velkumar avatar
    85 posts
    Member since:
    Apr 2011

    Posted 22 Nov 2011 Link to this post

    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?
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 22 Nov 2011 Link to this post

    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.

    Jayesh Goyani
Back to Top