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

Radwindow and LoadOnDemand

2 Answers 60 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jana
Top achievements
Rank 1
Jana asked on 29 Apr 2011, 05:40 PM
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

Sort by
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).

Best wishes,
Svetlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Svetlina Anati
Telerik team
answered on 02 May 2011, 02:45 PM
Hi janna janna,

 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

http://demos.telerik.com/aspnet-ajax/xmlhttppanel/examples/overview/defaultcs.aspx 

to get the content on demand.

Greetings,
Svetlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Window
Asked by
Jana
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or