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

Access control of parent page

2 Answers 90 Views
Window
This is a migrated thread and some comments may be shown as answers.
Chandan Kumar
Top achievements
Rank 1
Chandan Kumar asked on 15 Oct 2010, 11:13 AM
Dear Sir/ Madam

I have some problem

I have a page and a popup(radwindow) is opening from that page. How can i access any control of parent page on popup page.
Querystring or session won't solve my problem.



Thanks
Chandan kumar

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Oct 2010, 07:21 AM
Hi Chandan Kumar,


Use the BrowserWindow property of current radwindow object to get refernce to the main page.
    var oBrowserWnd = GetRadWindow().BrowserWindow;


Now access the controls placed in the main page from client side.

And since the RadControls for ASP.NET AJAX Q3 2009 release, RadWindow can be used as controls container. This feature is useful for scenarios where you need to have the content in the same page where the RadWindow is declared and it is possible to access the controls directly as its on page.
Using RadWindow as controls container


-Shinu.
0
Chandan Kumar
Top achievements
Rank 1
answered on 18 Oct 2010, 08:36 AM
Dear Sir,

Can u give me some example regarding this problem.
because your given link is not too helpful.


Thanks
Chandan kumar
Tags
Window
Asked by
Chandan Kumar
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Chandan Kumar
Top achievements
Rank 1
Share this question
or