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

Dynamically Create Notification

1 Answer 79 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 26 Jul 2011, 01:38 PM
I am trying to dynamically create a Notification in code behind, however when I call the Show() method, it gives me an Object is not set to the instance of an object error.

I am assuming that is because this control must be added to the page's controls?

Is that the case?

I have a large project with many pages and controls and don't want to have to add the markup on every since page of my project.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 27 Jul 2011, 12:43 PM
Hi Robert,

The RadNotification indeed needs to be added to the controls collection of the page in order to function, just like any other server control that should work on the said page.


Regards,
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
Robert
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or