<HeaderTemplate>
<TABLE cellSpacing="0" cellPadding="0" border="0" id="viewTable" width="100%">
<TBODY style="width:100%">
<TR class="repeaterHeadRow">
<TD colSpan="2">扣分点</TD>
<td style="cursor:hand;" onmouseover="this.style.color='red';" onmouseout="this.style.color='black';" ondblclick="Getsort('Ncount');">
数量<ASP:ImageButton ImageUrl="../images/shengxu.gif" runat="server" ID="imageBtn"></ASP:ImageButton>
</td>
<TD>单位列表</TD>
</TR>
</HeaderTemplate>在后台怎么取得这个<ASP:ImageButton 控件?
<TABLE cellSpacing="0" cellPadding="0" border="0" id="viewTable" width="100%">
<TBODY style="width:100%">
<TR class="repeaterHeadRow">
<TD colSpan="2">扣分点</TD>
<td style="cursor:hand;" onmouseover="this.style.color='red';" onmouseout="this.style.color='black';" ondblclick="Getsort('Ncount');">
数量<ASP:ImageButton ImageUrl="../images/shengxu.gif" runat="server" ID="imageBtn"></ASP:ImageButton>
</td>
<TD>单位列表</TD>
</TR>
</HeaderTemplate>在后台怎么取得这个<ASP:ImageButton 控件?
解决方案 »
- 用随机数从数组中取值怎么实现
- 诚心求一个NavigateUrl的vb后台编写
- 怎么避免不同的javascript linlk之间的干扰
- ScriptManager +updatepanel放到iframe中 速度很慢,就是没反应,不刷新数据
- 能用System.IO.File.Delete 借助通配符删除文件名相似的文件?
- gridview 键盘操作问题
- XML中如何设置自动增长列?
- 又是一道面试题:Aspx文件和CS文件他们之间的继承关系是怎么样的?
- 水晶报表输入注册码后,左边的工具栏却没了??
- 如何用REPEATER实现分页显示技术?
- !!!!!!!!!!!!!!!!!!gridview里面的文本框绑定,失去焦点事件!!!!!!!!大家帮我看看对马
- 不同的文件夹存放在同一根文件夹中,安全吗?
for ( int i = 0 ; i < Repeater1.Controls.Count ; i++ )
{
ImageButton imgButton = Repeater1.Controls[i].FindControl( "imageBtn" ) as ImageButton;
if ( imgButton != null )
{
imgButton.ImageUrl = "http://community.csdn.net/expert/images/rank/user1.gif";
break;
}
}
不难的