如何在GridView的中间显示分页并在最左侧下拉 [英] How to show paging in the middle of the GridView and drop down in the left most

查看:60
本文介绍了如何在GridView的中间显示分页并在最左侧下拉的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经通过gridview RowCreated事件为gridview编写了分页.我保留了下拉列表以选择应显示的页面数.工作正常.
但是我想在左侧显示下拉列表,在中间显示分页号.我没有得到如何显示.有人可以帮忙吗??

在此先感谢.

Hi all,

I have written paging for gridview through gridview RowCreated event. And I kept dropdown list to select how many pages should be displayed. Its working fine.
But I want to show dropdownlist in the left and paging numbers in the middle. Im not getting how to show. Can anybody please help????

Thanks in advance.

推荐答案

该gridview属性如何:
What about this gridview property: MSDN: GridView.PagerTemplate Property [^]

You can design your page template the way you want to. You can put a table with proper tr/td defined for the controls placement in it.


这篇关于如何在GridView的中间显示分页并在最左侧下拉的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆