Gridview paging display

My gridview has 5 columns and the paging row automatically has a colspan = 5 added to that? Is there a way to remove the paging from the gridview table or place it a tfoot, or something like that so the paging layout isn't tied to what columns and cell data have? The numbers span the entire table...

Answers


You can remove enable or disable the paging a few different ways. If your gridview is connected up to a datasource, you can click on the smart tag on the gridview when you are in Design view. If not, you can right click on the gridview, click on properties, then scroll down and you can see "Paging." It may already be expanded, if not expanded that and you can set "AllowPaging" to false. Here, you can also change the page size. By default, it's usually set to 10. In this properties, you can actually set the PagerSettings as well. You may have to click the plus sign to expand it. You can change the position to "Bottom", "Top", or even both with "TopAndBottom." If I understood you correctly, this should help you out!


Need Your Help

Select by O(1) from SQL table

sql sql-server select indexing time-complexity

I looking for way to run select query by O(1).

Png Image support of J2ME WTK Emulator

java java-me png wtk image-formats

I use a png image in my project that is not displayed in emulator but it can be displayed in phone. Then i open it with photoshop, save as png and use that image. It is displayed both emulator and ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.