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

Manually Close Server Side

2 Answers 145 Views
Notification
This is a migrated thread and some comments may be shown as answers.
dhuss
Top achievements
Rank 1
dhuss asked on 03 Jul 2014, 09:39 PM
How do you close the notification control server side when the close X is not on the control. I have the AutoCloseDelay =0 so it will stay open until the user clicks my Ok or Cancel button.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 Jul 2014, 03:48 AM
Hi dhuss,

You can use the RadNotification's Client-side API and call its hide() method via JavaScript. This is best done on the client - i.e. without a postback. If you need the logic in the code-behind you can inject the call to the JavaScript function from the code-behind as well.

Thanks,
Shinu.
0
Shinu
Top achievements
Rank 2
answered on 04 Jul 2014, 03:55 AM
Hi dhuss,

Please find the attached link http://www.telerik.com/help/aspnet-ajax/window-troubleshooting-javascript-from-server-side.html, in the previous post link was not attached properly.

Thanks,
Shinu.
Tags
Notification
Asked by
dhuss
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or