CSS .NET Gridview 主题示例

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1973240/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 21:24:15  来源:igfitidea点击:

.NET Gridview themes examples

.netcssgridviewthemes

提问by Faruz

I'm looking for examples for .net gridView themes (css files) to get ideas for my grid.

我正在寻找 .net gridView 主题(css 文件)的示例来获取我的网格的想法。

My grid must have a double-pager look (Bottom & Top) and should support sorting (by clicking on headers) and row highlighting when moving the mouse.

我的网格必须具有双页外观(底部和顶部),并且在移动鼠标时应支持排序(通过单击标题)和行突出显示。

The only one I found online was the Glassy Black (http://weblogs.asp.net/kevinbrammer/archive/2008/02/24/glassy-black-gridview-theme.aspx)

我在网上找到的唯一一个是 Glassy Black ( http://weblogs.asp.net/kevinbrammer/archive/2008/02/24/glassy-black-gridview-theme.aspx)

Do you have any other websites I can learn from?

有没有其他可以学习的网站?

(I'd be happier if it included source code examples, but if not - it's also good, css and html are readable)

(如果它包含源代码示例,我会更高兴,但如果没有 - 这也很好,css 和 html 是可读的)

回答by Aseem Gautam

Gridview are rendered as HTML Tables. So any Table themes would get the job done. For headers, footers and other stuff you might have to code the css your self.

Gridview 呈现为 HTML 表格。所以任何表格主题都可以完成工作。对于页眉、页脚和其他内容,您可能需要自己编写 css 代码。

Check out these links.

查看这些链接。

Update 24/15 - mattberseth.com dead - updated links with archive.org

24/15 更新 - mattberseth.com 已死 - 更新了与 archive.org 的链接

http://icant.co.uk/csstablegallery/index.php?css=69#r69

http://icant.co.uk/csstablegallery/index.php?css=69#r69

https://web.archive.org/web/20110303235607/http://mattberseth2.com/demo/has lot of gridview customizations with code download.

https://web.archive.org/web/20110303235607/http://mattberseth2.com/demo/有很多带有代码下载的 gridview 自定义。

Paging

分页

Paging With Slider

用滑块分页

Sorting with sort icons

使用排序图标排序

Some more themes

更多主题

https://web.archive.org/web/20140702022550/http://mattberseth.com/blog/2007/10/a_yui_datatable_styled_gridvie.html

https://web.archive.org/web/20140702022550/http://mattberseth.com/blog/2007/10/a_yui_datatable_styled_gridvie.html

https://web.archive.org/web/20150201190248/http://mattberseth.com/blog/2007/11/5_gridview_themes_based_on_goo.html

https://web.archive.org/web/20150201190248/http://mattberseth.com/blog/2007/11/5_gridview_themes_based_on_goo.html

alt text

替代文字

回答by JustesenR

Matts site has been hiHymaned and you cannot get to the resources using these links. See http://forums.asp.net/t/1755110.aspx/1/10

Matts 站点已被劫持,您无法使用这些链接访问资源。见http://forums.asp.net/t/1755110.aspx/1/10

回答by Christo Carstens

Matt Berseth's Page: http://mattberseth.com/blog/2007/11/5_gridview_themes_based_on_goo.htmlSource Code can be downloaded here after hacked website: http://t.co/J9UJetHb

Matt Berseth 的页面:http://mattberseth.com/blog/2007/11/5_gridview_themes_based_on_goo.html 被黑网站后可以在这里下载源代码:http: //t.co/J9UJetHb