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

how to hide notification when...

1 Answer 87 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Turki
Top achievements
Rank 1
Turki asked on 25 Jun 2012, 08:41 AM
Hello,

I am using notification control to display some message to end user.

normally, it displays how many request you have, which is done through database query

now if there are some requests then it must popup

but i need if there is no request then notification should not popup

how can i do so,

Regards

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 26 Jun 2012, 10:13 AM
Hi Turki,

I advise that you examine this demo: http://demos.telerik.com/aspnet-ajax/notification/examples/updateinterval/defaultcs.aspx. It shows how you can use the Value property of the control to check whether you need to show it in the OnClientUpdated event. If you do not need to - avoid calling show() instead of attempting to hide() it.


Greetings,
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.
Tags
Notification
Asked by
Turki
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or