<telerik:GridButtonColumn ButtonType="PushButton" CommandName="del" ConfirmText="确定删除吗!?" ConfirmTitle="提示信息"
ConfirmDialogType="RadWindow" ConfirmDialogHeight="70" Text="删除" ></telerik:GridButtonColumn>
<telerik:GridTemplateColumn>
这是我的关于这个按钮的代码,我如何按照其他列中的数据将这个按钮可用或者不可用呢?
ConfirmDialogType="RadWindow" ConfirmDialogHeight="70" Text="删除" ></telerik:GridButtonColumn>
<telerik:GridTemplateColumn>
这是我的关于这个按钮的代码,我如何按照其他列中的数据将这个按钮可用或者不可用呢?
属性='<%# 判断条件(判断字段) ? "true" : "false" %>'条件可以写个方法在后台这个控件没用过 大致思路就是这样。
或通过((GridEditFormItem)((Button)sender).NamingContainer)
findcontrol设置
http://www.codeproject.com/Answers/116449/RadGrid-not-Visible.aspx#answer1
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-nestedviewtemplate-w-usercontrol-need-to-rebind-grid.aspx