Radnotification Reappear when page navigated back to.

2 posts, 0 answers
  1. Jamie Lediet
    Jamie Lediet avatar
    3 posts
    Member since:
    Mar 2010

    Posted 13 Aug 2012 Link to this post

    I have a scenario where I am displaying  a radnotification via a server side show, but when the user closes the the radnotification, navigates away from the page, then back to the page the radnotification reappears. 

    How do I prevent the radnotification from showing again.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 14 Aug 2012 Link to this post

    Hi Jamie Lediet,

    I was able to resolve the issue on placing the Button inside an RadAjaxPanel or UpdatePanel as follows.

    ASPX:
    <telerik:RadNotification ID="RadNotification1" runat="server" EnableRoundedCorners="true" EnableShadow="true" Text="Sample content" Title="Sample title" Width="300" Height="100">
    </telerik:RadNotification>
    <telerik:RadAjaxPanel ID="RadAjaxpanel1" runat="server">
      <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" />
    </telerik:RadAjaxPanel>

    C#:
    protected void Button1_Click(object sender, EventArgs e)
     {
       RadNotification1.Show();
     }

    Please take a look into this documentation for more information about show method.

    Hope this helps.

    Regards,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top