我的问题是在ASP.NET GridView控件上。我在Columns标签中使用了一个CommandField,如下所示。ASP.NET GridView CommandField更新/取消不包装
<asp:CommandField ShowEditButton="True" HeaderStyle-Width="40px" UpdateText="Save" ButtonType="Link" HeaderStyle-Wrap="true" ItemStyle-Wrap="true" ItemStyle-Width="40px"/>
What renders is the shown in the following image (after I click on the Edit button).
alt text http://i33.tinypic.com/5dpdad.jpg
正如你可以看到我想有取消链接出现一个新行,我的问题是你怎么做呢?如果我将ButtonType =“Link”更改为ButtonType =“Button”,我将它正确渲染,如下所示。
alt text http://i38.tinypic.com/2pqopxi.jpg
我试过谷歌已经和我也许不正确的标签搜索,但我看不出这个人之前解决。
感谢任何帮助。 谢谢。
无法看到你的形象... – Bryant 2008-10-09 17:35:32