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

Issue with Radwindow positioning in Q3 2008

1 Answer 39 Views
Window
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 06 Mar 2009, 11:50 AM

Hi All,
I have just upgraded my Telerik version to ASP.NET AJAX - 2008.3 1314 from Q2 2008.

Everything seems normal except Radwindow.

I am defining radwindow as ,

<telerik:RadWindowManager ID="rWindowManager" runat="server" 
ClientCallBackFunction="CallBackCustomerData" Height="4px" Left="" 
Skin="Vista" Top="" Behavior="Close,Reload" InitialBehavior="None" 
style="display: none;">  

 

<windows> 
<telerik:RadWindow ID="rWindowDeal" runat="server" Height="200px" 
Left="50px" Modal="True" NavigateUrl="" ReloadOnShow="True" Title="Deal" 
Top="50px" VisibleStatusbar="False" Width="440px" />

</windows>
</RadWindowManager>

My javascript function is,

function OpenWindow()
{
    radopen("frmTest.aspx","rWindowDeal"); (before upgradation it was window.radopen(...))
}
Now I have set window Left and Top as 50 but still it is opening window in left top corner of the widnow.

Also, another problem is sometimes it shows window with specified height and wit\dth but sometimes it shows full scren (same as parent height and width).

Can anyone help me out please?

Best Regards,
Hrushikesh.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 06 Mar 2009, 02:37 PM
Hello Hrushikesh,

Your code looks fine so I assume that the problem is with the Doctype. The MS AJAX framework uses XHTML Doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"

and all RadControls for ASP.NET AJAX rely on this Doctype to position and display themselves correctly.

If this is not the problem, please open a support ticket and send us a small sample project where this behavior can be reproduced - we will check it right away.



Regards,
Georgi Tunev
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
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or