Dynamically Generated RadGrid

2 posts, 0 answers
  1. Jason
    Jason avatar
    1 posts
    Member since:
    Mar 2016

    Posted 18 Oct Link to this post

    Dynamically Generated Radgrid with Form Template loses Dynamic Binding on Edit Click.

     

    I have a RadGrid that gets Created and Bound Dynamically. But when I click edit it rebinds the grid then when I hit update it rebinds the grid and loses the datasource and so It has to call NeedDataSource again which blows away the new values before it gets to the update command.

  2. Jerald
    Jerald avatar
    7 posts
    Member since:
    Jan 2016

    Posted 18 Oct in reply to Jason Link to this post

    If you are using a SqlDataSource control, have you checked the UpdateCommand to make sure that the Update statement was generated correctly?  I've had issues in the past with the SqlDataSource generating an UpdateCommand that rebinds all fields to the original values.  
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top