Run Without Page Load Event

3 posts, 2 answers
  1. Danny
    Danny avatar
    35 posts
    Member since:
    May 2012

    Posted 29 Oct 2012 Link to this post

    Is there a way to set up RadNotification to run only one method at a fixed interval, and then display only if conditions are met?

    Right now it just seems to spam the page_load event, I do not want this behavior.

  2. Answer
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Oct 2012 Link to this post

    Hi Danny,

    You can set VisibleOnPageLoad Property of RadNotification to false and show RadNotification whenever you want as follows.

    <telerik:RadNotification ID="RadNotification1" runat="server" VisibleOnPageLoad="false" Title="Sample Title" Text="Simple text content" ShowCloseButton="true" >


    Hope this helps.

  3. DevCraft R3 2016 release webinar banner
  4. Answer
    Marin Bratanov
    Marin Bratanov avatar
    3567 posts

    Posted 30 Oct 2012 Link to this post

    Hello Danny,

    I have just answered your support ticket on the matter and for your convenience and for others that may have a similiar question I am pasting my reply here:

    The RadNotification control supports two main ways of getting updated content - a client callback and a webservice. Client callbacks are lighter than postbacks because they do not go through the rendering stages of the page, yet they will still hit the page load event. Webservices, on the other hand, are not related to a given page and thus they will not affect it. You can see this in the following demos:
    I also think the following demo will give you a nice idea on implementing the functionality - through checking the value taken from the server:

    All the best,
    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