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

How to open notification between pages?

1 Answer 62 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Hugo
Top achievements
Rank 1
Hugo asked on 16 Aug 2011, 09:10 PM
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.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 17 Aug 2011, 11:37 AM
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,
Marin
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.

Tags
Notification
Asked by
Hugo
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or