点击编辑按钮gridview展开 [英] on clicking edit button gridview expands

查看:117
本文介绍了点击编辑按钮gridview展开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个gridview,它与数据集绑定。我没有手动创建任何边界。当我点击gridview文本框的编辑按钮时出现和gridview expands.But更新后一切都OK。如何防止扩展宽度在后面的代码中点击编辑按钮后的gridview。我试图修复rowcreated事件,但是失败了。

I have a gridview and it is bounded with dataset.I have not create any boundfield manually.When i click on edit button of gridview textboxes appears and gridview expands.But after updating all is ok.How to prevent the expansion of width of gridview after clicking edit button in code behind.I have tried to fix in rowcreated event ,but failed.

推荐答案





这可能对你有所帮助......



http://msdn.microsoft.com/en-us/library/ms178296(v=vs.100).aspx [ ^ ]

http://www.aspdotnet-suresh.com/2013/ 01 / aspnet-set-gridview-column-width.html [ ^ ]


这篇关于点击编辑按钮gridview展开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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