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

Opening window from within a RadAjaxPanel

1 Answer 55 Views
Window
This is a migrated thread and some comments may be shown as answers.
timtom
Top achievements
Rank 1
timtom asked on 13 Jun 2008, 09:01 AM
Hi :o)

I am trying to open a window from within a RadAjaxPanel.

I am using the following code which works great outside of the panel but not within.

Thanks for your help - I really appreciate it :o)


Tim x


Dim newwindow As New Telerik.Web.UI.RadWindow()

newwindow.ID =

"RadWindow1"

newwindow.NavigateUrl =

"CustomerContact.aspx"

newwindow.VisibleOnPageLoad =

True

newwindow.Height = 482

newwindow.Width = 504

newwindow.Modal =

True

newwindow.VisibleStatusbar =

False

newwindow.ShowContentDuringLoad =

True

RadWindowManager1.Windows.Add(newwindow)

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 13 Jun 2008, 01:53 PM
Hello Tim,

Your code looks fine and as you say - works properly if the button is outside of the update panel. Can you please tell me whether the RadWindowManager is within that panel as well? It must be so it can be Ajaxified properly.



Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
timtom
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or