社区
.NET技术前瞻
帖子详情
gridview中的css问题
zhangsiyan
2010-10-20 04:14:44
我在页面中的gridview用css定义了其中某列的textbox为只读,然后想在后台给它加条件当条件适合时将这列的只读属性去掉
求解,在线等
...全文
117
6
打赏
收藏
gridview中的css问题
我在页面中的gridview用css定义了其中某列的textbox为只读,然后想在后台给它加条件当条件适合时将这列的只读属性去掉 求解,在线等
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
janjinyezi
2010-10-20
打赏
举报
回复
TextBox txtFind = e.row.FindControl("textbox的id") as TextBox;
txtFind.ReadOnly = false;
hongjiaoli
2010-10-20
打赏
举报
回复
txt.Attributes.Remove("ReadOnly");
hongjiaoli
2010-10-20
打赏
举报
回复
TextBox txt= (TextBox)FindControl("textBox");
Attributes.Remove("");
kongxh1218
2010-10-20
打赏
举报
回复
(e.row.FindControl("textbox的id") as TextBox).Attributes.Remove("readonly");
zhangsiyan
2010-10-20
打赏
举报
回复
[Quote=引用 1 楼 wuyq11 的回复:]
FindControl
Attributes.Remove("")
[/Quote]
大哥能给例举一下吗
我是这样弄的
e.row.cells[1].attributes.remove("");
没用
wuyq11
2010-10-20
打赏
举报
回复
FindControl
Attributes.Remove("")
ASP .Net
GridView
CSS
模板样式
一个漂亮的
GridView
CSS
模板样式。 测试过,可用。
对
GRIDVIEW
的美化.zip
对
GRIDVIEW
的美化.zip ,
GRIDVIEW
ASP.NET 美化 实用
GridView
_
CSS
的完整样式表
GridView
_
CSS
的样式, 里面包含了所有的
GridView
的样式以及调用的方式
给
gridview
写
css
样式.doc
给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc给
gridview
写
css
样式.doc
漂亮的
GridView
样式
Here is another
gridview
theme I have been playing around with this weekend based on a general CNET GameSpot style. The
CSS
for the
gridview
has been put into its own file for this series of posts, so that I can change the look of a
gridview
quickly without changing the class names that have been assigned to it:
.NET技术前瞻
13,346
社区成员
5,386
社区内容
发帖
与我相关
我的任务
.NET技术前瞻
.NET技术 .NET技术前瞻
复制链接
扫一扫
分享
社区描述
.NET技术 .NET技术前瞻
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章