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

ShowInterval and postback

2 Answers 64 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 2
Erik asked on 12 Sep 2012, 09:05 AM
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 Answers, 1 is accepted

Sort by
0
Erik
Top achievements
Rank 2
answered on 12 Sep 2012, 09:07 AM
The page is using AJAX update panels btw...
0
Erik
Top achievements
Rank 2
answered on 12 Sep 2012, 09:18 AM
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.

Tags
Notification
Asked by
Erik
Top achievements
Rank 2
Answers by
Erik
Top achievements
Rank 2
Share this question
or