I just started learning asp.net, I want to put a textbox in my gridview control to let the user input whichever page the user wanna go instead of click First/Prev/Next/Last buttons.
Within the gridview control pagersetting mode, I can’t find an option to create this kind of function. Is there a way to do this in ASP.net?
Start Visual Studio -> File -> New Project -> Web -> ASP.NET Dynamic Data Entities WebApplication
In solution explorer expand Dynamic Data -> Content folder
There is an awesome user control called GridViewPager.ascx:
Add it to your project and specify it as the PagerTemplate in the GridView:
You may need to tweak the user control slightly to work for your specific project but this should give you a good start