Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Window > Issue when RadWindowManager's AlertTemplate is set
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.

Answered Issue when RadWindowManager's AlertTemplate is set

Feed from this thread
  • Nishanth avatar

    Posted on May 23, 2011 (permalink)

    Hi,

    I added an Alert Template to the RadWindowManager as shown below:
    <telerik:RadWindowManager ID="RadWindowManager1" Width="400" Height="200" runat="server" >
            <AlertTemplate>
            <div style="width: 300px; height: 300px; border-style: solid; border-color: Black;
                    border-width: 2px; background-color: White;">
                    <div style="padding-left: 0;">
                        <table style="width:100%">
                            <tr style="width:100%">
                                <td align="right" colspan="2">
                                    <a href="Javascript:void(0)"><img src="../images/Cancel.gif" alt="" onclick="$find('{0}').close();" /> </a>
                                </td>
                            </tr>
                            <tr style="width:100%">
                                <td style="width:30px;">
                                    <img src="../images/Cancel.gif" alt="" />
                                </td>
                                <td>
                                     <b>{1}</b>
                                </td>
                            </tr>
                            <tr style="height:150px;">
                                <td style="width:30px;">
                                  
                                </td>
                                <td>
                                   
                                </td>
                            </tr>
                        </table>                   
                    </div>
                </div>
            
            </AlertTemplate>
            
            </telerik:RadWindowManager>

    RadAjaxPanel is also there on the page. I added the below code in the page load of the page

    RadWindowManager1.RadAlert("ErrorMessage", null, null, "Info", "alertCallBackFn");

    Now the alert popup is showing properly but the contents on the page is not visible once I close the alert popup. if no template is set, the popup gets displayed and once i close, I can see the contents on the page.

    Can any one please help me with this issue?

  • Answer Marin Bratanov Marin Bratanov admin's avatar

    Posted on May 24, 2011 (permalink)

    Hello Nishanth,

    You have stated that you are using Q1 2009, but the server-side RadAlert() method is available since Q1 2011, so I am assuming that you are using the current version and not the old one.

    This is the first time such behavior is reported and I was not able to reproduce it with the provided information. You can find my test page attached and here is a video from my experiment: http://screencast.com/t/FSFcVrrx.

    I assumed that you are using AJAX on the page and thus I simulate a long AJAX request in the page_Load method. I have set up a Loading Panel to hide the contents of the page during the callback, yet as soon as it is done the contents are displayed again.

    Are you experiencing this behavior only under certain browsers? Am I missing something? Can you reproduce your issue with my page? If so please modify it accordingly and send it back so that we can investigate it further.



    All the best,
    Marin
    the Telerik team

    Consider using RadControls for ASP.NET AJAX (built on top of the ASP.NET AJAX framework) as a replacement for the Telerik ASP.NET Classic controls, See the product support lifecycle here.

    Attached files

  • Nishanth avatar

    Posted on May 24, 2011 (permalink)

    Mark,

    Once I restarted my machine , it started working fine.. :) .
    Thanks a lot for the dummy app !!

    Nishanth

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Window > Issue when RadWindowManager's AlertTemplate is set