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
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:
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.