When update nested/details table not come from edit mode

2 posts, 0 answers
  1. Akhil Raj
    Akhil Raj avatar
    69 posts
    Member since:
    Aug 2012

    Posted 05 Feb 2010 Link to this post

    hi all,
      I created self refernceing heirarchy with edit functionality. When edit and update update functions work nicely for all levels. But after update i bind the grid again to sshow with all values. But in the first level / master table only came out from edit mode and bind. In the nested tables after pdate also exist in the edit mode itself. but new values updated successfulyl. Can i manually hard code to come out from edit mode ?

  2. Radoslav
    Radoslav avatar
    1564 posts

    Posted 10 Feb 2010 Link to this post

    Hello Akhil,

    Are you performing the Update/insert operation manually or automatically? If you are performing the operation in code behind(manually), then set the AllowAutomaticInserts/Updates to false and check if it helps to close the edit form.

    Also could you please double-check that after insert/update the record is added/updated in the grid source and you do not have e.Canceled = true somewhere in your InsertCommand/UpdateCommand handlers?

    Also could you try the following code snippet and let me know if the issue still persists.

    protected void RadGridCardDetails_PreRender(object sender, EventArgs e)          {            
      if (Session["ItemInserted"] != null && Session["ItemInserted"] ==
         RadGridCardDetails.MasterTableView.IsItemInserted = false;                 

    Additionally could you please post your grid definition along with the InsertCommand/UpdateCommand handlers in this forum thread? I will inspect the code and will do my best to advice you further.

    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top