Rad window width and height properties are not working

2 posts, 0 answers
  1. Esther Nirmala
    Esther Nirmala avatar
    19 posts
    Member since:
    Apr 2010

    Posted 12 May 2011 Link to this post

    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

     

     

     

     

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 13 May 2011 Link to this post

    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.

Back to Top