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

RadWindow as Modal Popup

3 Answers 163 Views
Window
This is a migrated thread and some comments may be shown as answers.
Saurabh Srivastava
Top achievements
Rank 1
Saurabh Srivastava asked on 06 Sep 2009, 08:54 AM
Hi,

I have a page with an asp button. On click of the button I do some server side processing and display the results on a new page. I would want to display those results using radwindow as a popup. How can this be done?

Regards,
Saurabh

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 07 Sep 2009, 07:09 AM
Hi Saurabh,

You could achieve the desired result by:
  1. opening the RadWindow from the server by using the VisibleOnPageLoad property like shown in this help topic.
  2. using the query string to load data in the content page like shown here and in this demo.



Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Saurabh Srivastava
Top achievements
Rank 1
answered on 07 Sep 2009, 12:47 PM
Hi,

I am getting a Sys is undefined error when I do

 

 

  string jScript = "function()\n";  
                jScript += "{\n";  
                jScript += "var ownd = radopen('www.google.com', 'RadWindow1');\n";  
                jScript += "ownd.center();\n";  
                jScript += "}";  
                ScriptManager.RegisterClientScriptBlock(this, GetType(), "Javascript""Sys.Application.add_load (" + jScript + ");"true); 

on my button click. I have a master page which has a ScriptManager and the code above is written on a content page which has a RadAjaxManager as well.

My web.config is written appropriately to handle Ajax.

Could you please help?

 



0
Georgi Tunev
Telerik team
answered on 07 Sep 2009, 01:49 PM
Hello Saurabh,

I believe that the following blog post will be of help in this case:
http://blogs.telerik.com/blogs/09-05-05/executing_javascript_function_from_server-side_code.aspx

If you still experience problems, please open a support ticket and send us a sample page where this issue could be reproduced so we could check it.




Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Saurabh Srivastava
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Saurabh Srivastava
Top achievements
Rank 1
Share this question
or