Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Dynamic Gridview Paging
July 18, 2011
Friends i came with an issue of dynamic gridview paging.Actually i am creating Gridview dynamically in vb.net and i have added the gvwDetails(This is my Grid view name) gvwDetails_PageIndexChanging event.But after loading the page when i clicked first time on page numbers it is not working, but if i clicked again on the page numbers then it is going to the certain page .Can any one give the sol for this
Posted Date: July 18, 2011 Points: 20
I got the solution.
Thanks & Regards
Posted Date: July 23, 2011 Points: 20
you should handled the gridview1_pageindexichanging event of the gridview
just go to events of the gridview control then double click on the pageindexchaging event
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
GridView1.PageIndex = e.NewPageIndex;
public void bind()
here you have to bind the data to the gridview
To post reply
Related Questions Related Questions
GridView dynamic rows and columns on user input
Dynamic checkobx adding in GridView
Gridview dynamic headding
How show specific columns gridview using Dynamic Data and autogenerated columns
check box with paging in gridview
GridView paging using JQuery
How to display Searched Records in Highlight way inside GRIDVIEW ?
how to display photo of members in gridview at run time?
how to validate the gridview
Latest Forum Questions From The Same Category
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend