This is a migrated thread and some comments may be shown as answers.

Radnotification Reappear when page navigated back to.

1 Answer 43 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Jamie Lediet
Top achievements
Rank 1
Jamie Lediet asked on 13 Aug 2012, 04:42 PM
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.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 14 Aug 2012, 06:41 AM
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.
Tags
Notification
Asked by
Jamie Lediet
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or