Click here to Skip to main content
15,892,805 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to know how can one update a label present inside a GridView without having the entire GridView refresh? I am a beginner so please include some code in your explanation as well. Some one told me i need Jquery and Json, i have no idea how to use those.
Posted
Comments
Chinmaya C 5-Apr-13 4:56am    
Yes you can update using Jquery, which is complex to implement but a recommendable solution.
But also you can put that label inside update panel and have a timer control to refresh the label in a certain interval.

1 solution

VB
Dim lbl As Label = CType(gvView.FindControl("Label Name"), Label)
lbl.Text = "Updated Text"
 
Share this answer
 
v3

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