Click here to Skip to main content
15,887,338 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello friends...

I need to show data on webpage using gridview.
So I want it that that page should not be on post back when user ask for next page of gridview.
Please provide me with any kind of example or link which will clear my point.
Posted
Updated 24-Dec-10 10:05am
v2
Comments
Dalek Dave 24-Dec-10 16:05pm    
Edited for Readability and Syntax.

How would you move to next page without postback? There will be postback. To avoid full postback you can use update panel
 
Share this answer
 
Comments
Dalek Dave 24-Dec-10 16:06pm    
Fair Point.
nilesh.d.mankar 25-Dec-10 1:49am    
hi dalek
i m talking about gridview's paging....
and i wan to avoid post when move to next page..
and i wan to do it only by using javascript code not by using AJAX controls.... please help me in that sence
"I need to show data on webpage using gridview."

Actually, you probably don't. It's a common mistake to throw in a technology as a requirement when it's not really a requirement. I doubt the client would ever say "we must use a gridview here". When you think like this, you can open yourself to other possibilities. In this case, I'd recommend replacing the gridview with jqGrid[^], a jQuery JGrid plugin. It's not free, but it is extremely powerful and extremely flexible (Disclaimer: I have nothing to do with this company, we just used this product recently and were very impressed by it).
 
Share this answer
 
"i wan to do it only by using javascript code not by using AJAX controls"


You might be looking for this: Client Side Gridview Pagination using JQuery[^]
 
Share this answer
 

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