Click here to Skip to main content
15,915,328 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When a new control is going to add to a panel that should add at the top.

Example :I have 4 notifications . After 10 second a new notification will come that should be added at the top dynamically ,remaining the 4 older notifications as it is below that.

Please suggest how i will solve this problem and give some ideas other than this(adding into panel).

Thanks
Posted
Updated 3-Apr-12 2:56am
v5

 
Share this answer
 
Comments
fjdiewornncalwe 2-Apr-12 11:23am    
+5. Of course.
Since you have updated the question and asked for dynamic there are serveral ways to do this.

Use a timer to repost the form, or using an UpdatePanel, and rebind to a datasource the is sorted as you require. A Repeater would work for this.

From the client make an AJAX call and use JQuery methods, such as before[^] to add a new element.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900