Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

paging is not working

Status
Not open for further replies.

arada1

MIS
Dec 3, 2006
47
US
Hi all,
I am working on this project where our customer would like to see the letting information for the contracts, who are the bidders for the project and the items they bid in order to win the bid.I used three gridview and three different queries to display this information.so far so good. but the information about the items the contractors bid some time it is too long and i decided to use paging and this where i get the problem. when i click paging the whole page becoms blank and I lose all the information that i display on gridview and gives me a blank page.I just do not what i miss here...as always your help is very much appreciated.
 
Maybe your paging code is incorrect?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
thank you ca8msm for your response...as I have mentioned above I have three gridview on one page and I just want to use paging for one of them. the id of gridview is gvitems and here is my code for paging...thank you for the help.

Protected Sub gvitems_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles gvitems.PageIndexChanging
gvitems.PageIndex = e.NewPageIndex
DataBind()
End Sub
 
Just figured it out...the was I put the my binddata method between If Not IsPostBack once I take it out of there every thing works as it supposed to. thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top