Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > Not able to open radwindow
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Not able to open radwindow

Feed from this thread
  • Reyaz Ahmad Intermediate avatar

    Posted on Mar 26, 2011 (permalink)

    Hi,

    I have one user control for opening error list.

    .ascx

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
        <Windows>
            <telerik:RadWindow ID="RadErrorWindow" Width="580px" Height="500px" AutoSize="false"
                Modal="false" KeepInScreenBounds="true" ShowContentDuringLoad="false" ReloadOnShow="true"
                VisibleStatusbar="false" runat="server" Behaviors="Pin,Reload,Move,Minimize,Maximize,Close"
                NavigateUrl="~/ErrorWarnings.aspx" OpenerElementID="errorAnctor" RestrictionZoneID="ParentDivElement">
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td style="height: 22px;">
                You have<a id="errorAnctor"> &nbsp;&nbsp;<img
                    src="../../Images/error.png" alt="error" style="vertical-align: bottom" />
                    <asp:Label ID="lblEMError" runat="server"></asp:Label>
                    Error &nbsp;&nbsp;|&nbsp;&nbsp;
                    <img src="../../Images/warnings.png" alt="Warning" style="vertical-align: bottom;" />
                    <asp:Label ID="lblEMWarning" runat="server"></asp:Label>
                    Warnings</a>
            </td>
        </tr>
    </table>
    ------------------------------
    opener form contain following code to open error list

      <div id="DivError" runat="server" style="margin-left: 10px; display: none;">
             <uc:ErrorManager ID="ErrorManagerTimecards" runat="server" />
      </div>


    Problem:
    link get visible but when clicking on link, window is not opening. Same coding is running well in other form.
    Please suggest.

    Regards,
    Reyaz



    ----------------------------------------------

    ----------------------------------------------

  • Posted on Mar 29, 2011 (permalink)

    Hello Reyaz,

    I tried your code and that worked fine at my end. Please make  sure that you have set the visibility of the div which contains the UserContol and clicked on the correct link.

    As an alternate I recommend you to open the Window explicitly using radOpen().

    Check out the following help article for more on this.
    http://www.telerik.com/help/aspnet-ajax/window-programming-opening.html

    Thanks,
    Shinu.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > Not able to open radwindow