radnotification with show method

2 posts, 0 answers
  1. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 19 Aug 2012 Link to this post

    Instead of using visibleonpageload i used show method to display notification.But it reappears after postback.Is there any work around for this?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 19 Aug 2012 Link to this post

    Hi Tina,

    Here is the sample code that I tried to open Notification on a button click event. Try placing the Button inside an RadAjaxPanel or UpdatePanel as shown below.
    <telerik:RadNotification ID="RadNotification1" runat="server" EnableRoundedCorners="true" EnableShadow="true" Text="Sample" Title="Sample " Width="300" Height="100">
    <telerik:RadAjaxPanel ID="RadAjaxpanel1" runat="server">
      <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" />
    protected void Button1_Click(object sender, EventArgs e)

  3. DevCraft R3 2016 release webinar banner
Back to Top