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

Rad window width and height properties are not working

1 Answer 193 Views
Window
This is a migrated thread and some comments may be shown as answers.
Esther Nirmala
Top achievements
Rank 1
Esther Nirmala asked on 12 May 2011, 09:23 AM
Hi,

    I have used rad window. It was working fine wih IE8 and firefox. Recently i upgraded with telerik latest version. since then, the pop up is not getting opened with the width and height which i set.
 I have given the code of radwindow and javascript f unction call to open rad window below

 

<telerik:RadWindowManager ID="RadWindowManager2" runat="server"
<Windows>
 <telerik:RadWindow ID="radWindowAddRecurrencePopup" OnClientClose="CallBackFunctionRecurrence"  Behavior="Close" VisibleTitlebar="false" Modal="true" Width="750px" runat ="server" Height="650px" VisibleStatusbar="false"
</telerik:RadWindow>
</Windows
</telerik:RadWindowManager>
  
   function OpenRadWindowViewEditRecurrencePopup(isConflict, startDate, endDate, startTime, EndTime, SessionID, recordid, LOCATIONname, roomNo) {
                var Url = "./ViewEditSchedulePopUp.aspx?ISCONFLICT=" + isConflict + "&STARTDATE=" + startDate + "&ENDDATE=" + endDate + "&STARTTIME=" + startTime + "&ENDTIME=" + EndTime + "&SESSIONID=" + SessionID + "&CODE=" + recordid + "&LOCATIONID=" + LOCATIONname + "&roomNo=" + roomNo;
                var oWnd = radopen(Url, "radWindowViewEditRecurremcePopup");
                //oWnd.SetUrl(oWnd.GetUrl());
                return false;
            }

this problem is only with IE. it works in other browsers..
Is their any fixes for this issue?

Thx
Esther

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 13 May 2011, 11:45 AM
Hello Esther,

I am not quite sure how this works in other browsers, but in your code, you are opening a RadWindow called
radWindowViewEditRecurremcePopup
while in the markup, there is only one window called
radWindowAddRecurrencePopup

When you provide a name (in the radopen() function), different from the ID of a RadWindow declared in a RadWindowManager on that page, a new RadWindow will be opened, with the default settings taken from the RadWindowManager. Try changing the name in the JavaScript function and see if the problem persists.


Best wishes,
Georgi Tunev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Window
Asked by
Esther Nirmala
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or