The attached example demonstrates how to use RadWindow Prometheus
for editing RadGrid Prometheus
records in UserControl.
Below I describe the needed steps to use RadWindow for editing:
- For each GridDataItem in the ItemCreated handler find the Hyperlink instance inside the template column.
- Open the popup window calling window.radopen() and passing the primary key in the query string of the new window.
- In the content page of RadWindow retrieve the cell values from the grid source which correspond to the primary key from the query string and display them in editable textboxes.
- Edit the content in the textboxes, update the row in the grid source, close the popup window and refresh the grid calling the RadAjaxManager.ajaxRequestWithTarget method
Don't hesitate to contact us if you have any other questions.
the Telerik team