Radwindow display issues in Firefox

2 posts, 0 answers
  1. James Moyon
    James Moyon avatar
    10 posts
    Member since:
    Jun 2009

    Posted 12 May 2011 Link to this post

    Hello,

    I am opening an aspx page from a hyperlink in a RadWindow with the following markup:

     

    <telerik:RadWindowManager ID="rwmCustomer" runat="server" ReloadOnShow="true" EnableViewState="false">
    <Windows>
    <telerik:RadWindow ID="rwCustomer" runat="server" Title="Find a customer" OpenerElementID='<%# Me.lnkCustomer.ClientID %>' NavigateUrl='<%# Me.lnkCustomer.NavigateUrl %>' />

     

     

    </Windows>

     

    </telerik:RadWindowManager>

     

    <asp:HyperLink ID="lnkCustomer" runat="server" ToolTip="Search for a customer" NavigateUrl="someurl.aspx" />

    The RadWindow opens up correctly in both IE 7 and Firefox 4.0.1. However, in Firefox, despite having MaintainScrollPositionOnPostback set to "true", the page scrolls back to the top but the RadWindow opens however far down the page the lnkCustomer link is placed, which means that users only see the very top of the RadWindow. Because the original page cannot be scrolled while the RadWindow is open, users therefore cannot use the RadWindow properly.

    I would be grateful for any assistance.

    Thanks in advance.

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 17 May 2011 Link to this post

    Hi James,


    The code looks OK and is working as expected in my test environment. Here is the full test:
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadWindowManager ID="rwmCustomer" runat="server" ReloadOnShow="true" EnableViewState="false">
        <Windows>
            <telerik:RadWindow ID="rwCustomer" runat="server" Title="Find a customer" OpenerElementID='<%# Me.lnkCustomer.ClientID %>'
                NavigateUrl='<%# Me.lnkCustomer.NavigateUrl %>' />
        </Windows>
    </telerik:RadWindowManager>
    <div style="height: 1300px;">
    </div>
    <asp:HyperLink ID="lnkCustomer" runat="server" ToolTip="Search for a customer" NavigateUrl="someurl.aspx"
        Text="Some text" />
    </form>


    Please make sure that you are using XHTML-compliant doctype on that page. Our controls, being ASP.NET AJAX ones, rely on that doctype for a proper positioning and sizing on the page. I would also recommend not to use OpenerElementID, but the client-side API.
    e.g.
    <asp:HyperLink onclick="radopen(null,'rwCustomer'); return false;" ID="lnkCustomer"
            runat="server" ToolTip="Search for a customer" NavigateUrl="someurl.aspx" Text="Some text" />

    If the suggestions above do not help, please open a support ticket and send us a small sample project that isolates the problem, so we can investigate further.


    Regards,
    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