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?
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?