DataPager 分页样式(css)
<asp:DataPager ID="DataPager1" runat="server" PagedControlID="LV" PageSize="">
<Fields>
<asp:NextPreviousPagerField ShowFirstPageButton="True" ShowNextPageButton="False"
ShowPreviousPageButton="False" FirstPageText="<<"
LastPageText="尾页" />
<asp:NumericPagerField ButtonCount="" CurrentPageLabelCssClass="current" />
<asp:NextPreviousPagerField ShowLastPageButton="True" ShowNextPageButton="False"
ShowPreviousPageButton="False" FirstPageText="首页"
LastPageText=">>" />
</Fields>
</asp:DataPager>
PagedControlID="LV" 对应的是 asp:ListView ID="LV"
current.css
/*页面分页样式*/ span#ContentPlaceHolder1_DataPager1 a.aspNetDisabled
{
border: 1px solid #382a4a;
padding: 2px 5px;
margin: 2px;
color: #4c3766;
text-decoration: none;
} span#ContentPlaceHolder1_DataPager2 a.aspNetDisabled
{
border: 1px solid #382a4a;
padding: 2px 5px;
margin: 2px;
color: #4c3766;
text-decoration: none;
} span#ContentPlaceHolder1_DataPager3 a.aspNetDisabled
{
border: 1px solid #382a4a;
padding: 2px 5px;
margin: 2px;
color: #4c3766;
text-decoration: none;
} #ContentPlaceHolder1_DataPager1 a
{
border: 1px solid #563f83;
padding: 2px 5px;
margin: 2px;
color: #9966FF;
text-decoration: none;
} #ContentPlaceHolder1_DataPager2 a
{
border: 1px solid #563f83;
padding: 2px 5px;
margin: 2px;
color: #9966FF;
text-decoration: none;
} #ContentPlaceHolder1_DataPager3 a
{
border: 1px solid #563f83;
padding: 2px 5px;
margin: 2px;
color: #9966FF;
text-decoration: none;
} #ContentPlaceHolder1_DataPager1 a:hover
{
border: 1px solid #9966FF;
} #ContentPlaceHolder1_DataPager2 a:hover
{
border: 1px solid #9966FF;
} #ContentPlaceHolder1_DataPager3 a:hover
{
border: 1px solid #9966FF;
} .current
{
border: 1px solid #9933FF;
padding: 2px 5px 2px 5px;
font-weight: bold;
color: #fff;
background-color: #CC66FF;
}
DataPager 分页样式(css)的更多相关文章
- thinkphp分页样式css代码
<style type="text/css"> .Pagination a:hover,.current{background-color: #f54281;borde ...
- VS中的DataPager分页
微软的DataPager分页功能很强大,不要设置数据库存储过程,只要添加个DataPager控件,关联下要分页的控件,简单设置就可以有不错的分页效果.当然要有更理想的效果还是要前台和后台处理下. wi ...
- php分页类代码带分页样式效果(转)
php分页类代码,有漂亮的分页样式风格 时间:2016-03-16 09:16:03来源:网络 导读:不错的php分页类代码,将类文件与分页样式嵌入,实现php查询结果的精美分页,对研究php分页原理 ...
- 打造简单实用的Thinkphp分页样式(Bootstrap版本)
先吐槽一下ThinkPHP3.1版的分页样式,虽然看起来也很简单大方,但是所有的页码全是使用简单的数字,之间的空隙比较小,不大容易点,还有那个“前5页”和“后5页”显得有点多余,因为点击当前显示第一页 ...
- 帝国cms 列表页分页样式修改美化【2】
上一篇(帝国cms 列表页分页样式修改美化[1])中我们已经对分页说了一个大概,下面我们就自己动手弄一个分页把: 第一步:进入帝国cms后台,点击系统设置->系统参数设置->信息设置:里面 ...
- 帝国cms 列表页分页样式修改美化【1】
[1]自己修改帝国cms默认的分页样式(css),这样做的好处是你不用去改动帝国的核心文件,方便以后升级. [2]自己动手去修改帝国的分页(php+css),帝国的分页在e>class>下 ...
- 修改DeDe标签Pagelist分页样式
我们在用dede仿站的时候,调用文章列表页的分页时,我们会用到: {dede:pagelist listitem=”info,index,end,pre,next,pageno” listsize=” ...
- 帝国cms分页样式修改文件-注意事项
帝国cms分页样式主要有:内容页分页样式.列表页分页样式以及默认搜索模板使用的搜索样式等几种. 要改这些样式其实也很简单,在网站目录中找到相应的.css文件修改empages属性就行了,但是这样比较麻 ...
- bootstrap导航条+模态对话框+分页样式
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content ...
随机推荐
- iphone中button按钮显示为圆形解决
iphone中button按钮显示为圆形解决: 添加样式: -webkit-appearance:button; 如果需要为直角: border-radius:0 在源码中添加如:style=&quo ...
- XE3随笔20:几个和当前路径相关的新函数
偶然从 SysUtils 里发现了几个路径相关的函数, 以前没见过, 可能是 Delphi XE3 新增的: GetLocaleDirectory(); GetLocaleFile(); Locale ...
- 关于 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause() 错误
最近在做项目的时候发现一个如题的控制台报错. 一看右侧的报错文件是undefined 这下苦恼了,定位不到问题所在. 今天解决了这个问题,就来分享一下. 问题的关键所在是在执行了play()方法以后立 ...
- SQL server清空数据库日志脚本
/*设置为简单模式*/ USE [master] } SET RECOVERY SIMPLE WITH NO_WAIT } SET RECOVERY SIMPLE /*获取日志文件名称*/ } ) / ...
- 设置secureCRT的鼠标右键为弹出文本操作菜单功能
options菜单下的 global options 页面的 terminal 中的 mouse 子菜单对 paste on right button 的选项取消勾选即可.
- 从多列的DataTable里取需要的几列(转)
方法一: 也是广为人知的一种: YourDataTable.Columns.Remove("列名"); 但是这种情况只适合于去掉很少列的情况. 如果有很多列我却只要一两列呢,那就得 ...
- XML文件的读写
using System; using System.Collections.Generic; using System.Xml; namespace COMMON { public class Xm ...
- select值的获取及修改
例子: <select id="a" name="a"> <options value="1">a</opti ...
- JavaScript-BOM-history:保存当前窗口打开后成功访问过的url历史记录栈
history:保存当前窗口打开后成功访问过的url历史记录栈history.go(n):前进n步前进一步:history.go(1);后退一步:history.go(-1);刷新:history.g ...
- MySQL的安装配置
安装配置 MySQL1.官方下载 MySQL2.用 tar 解压.tar.bz 或.tar.gz3.解压后有三个目录,分别为 usr etc var4.进入 usr,进入 bin5.在主机上建个目录( ...