Dynamically Create Notification

2 posts, 0 answers
  1. Robert
    Robert avatar
    5 posts
    Member since:
    Jul 2011

    Posted 26 Jul 2011 Link to this post

    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.
  2. Marin Bratanov
    Marin Bratanov avatar
    4438 posts

    Posted 27 Jul 2011 Link to this post

    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.

    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