is there is anyway to make the radwindows just load on demand like radtooltip?
i mean load on demand an ascx control in the ContentTemplate
2 Answers, 1 is accepted
0
Svetlina Anati
Telerik team
answered on 02 May 2011, 02:42 PM
Hello janna,
To achieve what you need I suggest to go through the following steps:
1) Add a RadAjaxManager on your page if you do not have such
2) Put a standard asp panel inside the ContentTemplate of RadWindow and configure the manager to update it
3) In the server event of the OnAjaxRequest of the manager load dynamically the content in the panel
4) Handle the RadWindow's OnClientShow event and call the ajaxRequest client method of the ajax manager there (you can provide an argument in addition).
A quick follow-up - my suggestion below mimics the OnAjaxUpdate loading of RadToolTip. However, you have not explained what configuration of the tooltip you want to mimic and in case this is WebService - you can use the RadXmlHttpPanel control