In a page i have a imagebutton and a grid, on clicking the button a popupwindow comes, in the codebehing(server side) of radwindow i want get the reference of the grid object .
Please help me in this regard...
regards
sathies
1 Answer, 1 is accepted
0
Svetlina Anati
Telerik team
answered on 19 Mar 2009, 03:17 PM
Hi Sathies,
Since the content page of the RadWindow and the parent page are different documents the only way to achieve communication between them is to use javascript. What you can do yin your case is the following:
Implement a javascript function in the RadWindow's content page which references the main page and calls a javascript function which is defined there and manipulates the grid (it can manipulate the grid on the client or perform a postback or ajax request from the client to the server). The following demos are demonstrating this approach: