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

blank page

2 Answers 72 Views
Window
This is a migrated thread and some comments may be shown as answers.
ehsan
Top achievements
Rank 1
ehsan asked on 30 Aug 2008, 09:01 AM
hi
i am using rad window ajax Q1 with asp.net 3.5
i have code like this :

 <telerik:RadWindow ID="RadWindow1" runat="server" Height="510px"

OpenerElementID="Button1" Skin="Sunset" Width="400px" Animation="Fade" BackColor="#FFFF99">

somthing ...text

</telerik:RadWindow>

but when  rad window is opened on my page,  its content is blank.
i tested  it with ie7 & ff 3.
need help,
tnx

2 Answers, 1 is accepted

Sort by
0
altaf
Top achievements
Rank 1
answered on 30 Aug 2008, 01:19 PM

hello,
try this,

write java script function in your .aspx page
e.g
<script type="text/javascript">

function openPopUp()

{

var oWnd = window.radopen("PopUpPage.aspx?, "RadWindow1");

return false;

}
</script>
and in .cs in page_load event
Button1..Attributes.Add("onclick", "return openPopUp()");

clear this OpenerElementID="Button1"

Regards,

Altaf

0
Georgi Tunev
Telerik team
answered on 01 Sep 2008, 08:10 AM
Hi e,

RadWindow is intended to replace the standard browser's popup and the control itself is based on an IFRAME. Just like the popup and the IFRAME container, RadWindow can only display external pages - e.g. you need to set its NavigateUrl property.

For scenarios where you need the content to be on the same page, we suggest to use RadDock or RadToolTIp.


All the best,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
ehsan
Top achievements
Rank 1
Answers by
altaf
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or