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

Problem with offsetY using server side

1 Answer 54 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 25 Oct 2011, 02:13 PM
Hi, I have a page with 2 notifications object! Here the scenario, a page with three notifications objects. I have a link button, and by server side i call show of three objects.
How can i calculate offset for each object is necessary?
I've implemented "OnClientShowing" and "ONClientHidden", and works fine, but only If i used show notification from client side.
Any workaround?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 26 Oct 2011, 09:35 AM
Hi Martin,

If you show them all from the server then they will be shown in the same time on the client - when the response is received. This means that you can set the OffsetY server property on the server according to the order you wish them to have. Please note that in order for this to take effect you need to also update the RadNotifications in the AJAX request (if you are not using a full postback). An alternative is to execute a JS function from the server and use your existing client-side logic.


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