Not displaying title and content

2 posts, 0 answers
  1. David Rhodes
    David Rhodes avatar
    60 posts
    Member since:
    May 2005

    Posted 17 May 2013 Link to this post

    Hi, I'm trying to fire the Notification on button click. The Notification is displaying but the title and content are empty, any ideas why?

    <telerik:RadNotification ID="Notification" runat="server" Position="Center"
        AutoCloseDelay="10000" Width="350" EnableRoundedCorners="true" ContentIcon="none" KeepOnMouseOver="true" ShowCloseButton="false">
            <asp:Literal ID="NotificationText" runat="server" />

    protected void SaveQuoteButton_Click(object sender, EventArgs e)
        Notification.Title = "Save Title";
        NotificationText.Text = "Save Text";
  2. Marin Bratanov
    Marin Bratanov avatar
    3907 posts

    Posted 20 May 2013 Link to this post

    Hello David,

    The most likely reason is that this is a partial postback that does not update the RadNotification control. Adding it as an UpdatedControl in the AjaxSetting (or moving it to the same UpdatePanel, depending on the setup you have) should resolve this.

    You may also find interesting the server-side Show(newText) method: It can change the text only, but it will not require that the control is included in the partial postback.

    Kind regards,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top