文件名称:GridView水平滚动源码2012518
文件大小:176KB
文件格式:ZIP
更新时间:2015-06-08 03:51:13
GridView 水平 滚动 源码
GridView水平滚动源码 源码描述: 当GridView中字段很多屏幕放不下的时候, 我们可以考虑给GridView加入水平滚动条来展示数据来自51ASPX。 Add Jquery reference to the master page. Create a style as follows. As you see width is specified as 200px initially. Later using the JQuery 200px is replaced with width of dvScreenWidth div. Add a div to measure the screen width. Add another div around the GridView. This div display the scroll bar. Add the following JQuery scrip. Script will get the width of the dvScreenWidth div and replace the width of dvGridWidth div.Populate the Gridview with dummy data. Populate the Gridview with dummy data.
【文件预览】:
51aspx_GridViewDockingSample22892191-717b-46a1-ad1f-ba844677f72e
----Site.Master.cs(345B)
----Global.asax.cs(1KB)
----DockingSample.csproj.user(1KB)
----Web.Debug.config(1KB)
----Scripts()
--------jquery-1.4.1.min.js(70KB)
--------jquery-1.4.1.js(165KB)
--------jquery-1.4.1-vsdoc.js(237KB)
----Global.asax(97B)
----bin()
--------DockingSample.dll(8KB)
--------DockingSample.pdb(34KB)
----Web.config(2KB)
----obj()
--------Debug()
----Properties()
--------AssemblyInfo.cs(1KB)
----DockingSample.suo(31KB)
----Styles()
--------Site.css(4KB)
----Default.aspx(1KB)
----Default.aspx.cs(3KB)
----About.aspx(446B)
----Default.aspx.designer.cs(787B)
----About.aspx.designer.cs(451B)
----Site.Master(2KB)
----About.aspx.cs(334B)
----Account()
--------ChangePassword.aspx.cs(351B)
--------ChangePasswordSuccess.aspx.designer.cs(475B)
--------Login.aspx.designer.cs(1KB)
--------Web.config(330B)
--------Register.aspx(6KB)
--------ChangePasswordSuccess.aspx.cs(358B)
--------Login.aspx.cs(471B)
--------Register.aspx.cs(913B)
--------Register.aspx.designer.cs(1KB)
--------ChangePasswordSuccess.aspx(530B)
--------ChangePassword.aspx.designer.cs(814B)
--------Login.aspx(3KB)
--------ChangePassword.aspx(4KB)
----DockingSample.sln(915B)
----DockingSample.csproj(7KB)
----Web.Release.config(1KB)
----Site.Master.designer.cs(2KB)