How to open notification between pages?

2 posts, 0 answers
  1. Hugo
    Hugo avatar
    11 posts
    Member since:
    Aug 2011

    Posted 16 Aug 2011 Link to this post

    Hi everybody!!!

    I'm here again with another question, I'm working with this control, "Notification", is a good control but I have a problem when I try to open one notification from a aspx page to ascx page, I dont know how to do this.
    I have to add value to data base in my *.ascx (user control), and in my *.aspx page, I want to show a message with notification control, wich must show a message confirmation for example, "this user has been added correctly".

    thank you for your attention.

    Have a Nice Day!!!

    Victor Hugo.
  2. Marin Bratanov
    Marin Bratanov avatar
    4438 posts

    Posted 17 Aug 2011 Link to this post

    Hi Victor,

    You can use the server-side Show() method of the RadNotification to force it to show, even if you do not include it in an AJAX update. For this you would need to first access the control, which depends on your custom page structure, but a call similar to the following should enable you to get a proper reference:
    (this.Page.FindControl("RadNotificationSuccessfullySavedToDb") as RadNotification).Show();

    All the best,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top