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

How to maintain Table in RadWindow with out navigatin URL

3 Answers 47 Views
Window
This is a migrated thread and some comments may be shown as answers.
ravi
Top achievements
Rank 1
ravi asked on 03 Jun 2009, 08:30 AM
How to maintain design in the Radwindow, with out using naviagation URL.
I am using Default.aspx page i want to maintain table structure in the Radwindow with out creating another page and calling that page in the navigate URL.

please help me.

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 04 Jun 2009, 01:14 PM
Hi Ravi,

As far as I understood from your explanations you want the content of the RadWindow to be part of the same page and not to use an IFRAME element with another document load in it. You can achieve this by wrapping the desired content in some element, e.g a DIV element and set it as a contentElement as shown below:

 function ShowWindow()  
        {  
 
           var wnd = $find("<%=RadWindow1.ClientID %>");  
           wnd.set_contentElement($get("pnl1"));  
           wnd.show();  
             
        } 


Note, however, that this solution works only if you are having plain HTML -  table, div, etc. and you cannot use server controls with it because they need to be placed in a form which is runat=server.

If you want to show other server controls in a popup on the same page, I suggest to examine our RadToolTip control, whose demos are available below:

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

Kind regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
ravi
Top achievements
Rank 1
answered on 09 Jun 2009, 02:35 PM
Hi
    Thanks for u r reply, In the tooltip demo we are not able to move the popup body, we need all the functionality like Radwindow.
    
0
Svetlina Anati
Telerik team
answered on 10 Jun 2009, 09:32 AM
Hello ravi,

In this case I hope that the set_contentElement solution will work fine in your case. Let us know in case you need further assistance or if you experience problems with the suggested solution.


Kind regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
ravi
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
ravi
Top achievements
Rank 1
Share this question
or