http://dotnet.aspx.cc/ShowDetail.aspx?id=E5254FD8-252F-457C-F61E-32EE353E8BF2把变色部分改为改提示即可
解决方案 »
- gridview 赋值
- *******请问实现类似淘宝秒拍的这种高并发处理怎么做******
- 文件上传控件
- 异常:找不到具有绑定 MetadataExchangeHttpBinding 的终结点的与方案 http 匹配的基址。注册的基址方案是 []。
- asp.net中的runtime error
- 想入门.net的3层架构,求一些资料,很易懂实例
- 动态增加表中数据列的问题
- .net中,如何在新窗口打开连接
- 我该买本什么样的教材?大家给点建议~
- asp.net 页面数据绑定
- 散分~~动态生成控件,并取得这多个控件的ID及其它属性
- 思归等高手入内,连接AS/400 db2 的问题,感谢大家指点迷津!!!!
{
if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
e.Item.Attributes["onmouseover"]="this.name=this.style.backgroundColor;this.style.backgroundColor='yellow';";
e.Item.Attributes["onmouseout"]="this.name=this.style.backgroundColor;this.style.backgroundColor='#ffffff';";
//e.Item.Attributes["ondbclick"]="window.open('***.aspx?id=" + e.Item.Cells[0].Text + "','newwin','')";
}
if(e.Item.ItemIndex>-1)
{
System.Web.UI.WebControls.HyperLink h = (HyperLink)e.Item.Cells[15].FindControl("HyperLink1");
h.ToolTip=h.Text;//在提示中显示完整信息
if(h.Text.Length>2)
{
h.Text=h.Text.Substring(0,2)+"....";
}
}
}
给HyperLink 控件增加onmouseover脚本事件,改变HyperLink的ToolTip属性?
懂了吗?