ShowInterval and postback

3 posts, 0 answers
  1. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 12 Sep 2012 Link to this post

    Hello,

    I'm encountering a smaal issue: (in fireFox, but I think Chrome too)

    In the page_Load I do this:

    RadNotification1.ShowInterval = 12000 ' 2 minutes
    RadNotification1.AutoCloseDelay = 10000 ' 10 sec
    lbl_NotifyText.Text = Format(Now, "HH:mm"' a label within the RadNotification1

    So, say I start the page at 11:00, I want to see the notification at 11:02
    But during this time I do some PostBacks, until 11:01, what should reset the RadNotification1 to 11:03 and the text in the label to "11:03". Well.. It doesn't...

    Although the code is executed (breakpoint) and the new timer values are added and the text was changed, I still get a message at 11:02 with the label text "11:02".

    How can I change this behaviour?


    Kind regards and thanks in advance,

    Erik
       
  2. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 12 Sep 2012 Link to this post

    The page is using AJAX update panels btw...
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 12 Sep 2012 Link to this post

    ow, ok, it was not in the update panel, and with good reason. I added the RadNotification1 to RadAjaxManager and it worked fine.

    so, solved, thanks.

Back to Top