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

Need to reopen RadGrid edit after one item is changed via RadWindow

0 Answers 21 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 24 Jan 2013, 08:26 PM
Hi!

I am running a RadGrid with items to Edit.  When you open up an item to edit, it has a whole bunch of fields and a table within it.  To edit that table, we click "Add item" and a RadWindow pops up.   I've gotten everything working where you can select the new items and it returns them to the Table within the Edit mode of the RadGrid.  However, to get it to post back with the correct item in the top level RadGrid opened, I need to pass the full ID of that edit button to the RadWindow that I'm opening and do a postback like so:

  RadAjaxManager1.GetCurrent(Page).ResponseScripts.Add("parent.__doPostBack('ctl00$MasterPage$MainContent$ResCompWorkExperience$ComponentList$ctl00$ctl12$EditButton',''); CloseWindow();")


Basically I want a nice way to get that ID from within the RadWindow or another way to make the original RadGrid reload with the proper Edit template open - eg the Edit item who has a component/table that I just changed.

Thoughts?

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Brett
Top achievements
Rank 1
Share this question
or