what do you want to display? if you display the link, try <a href="http://www.csdn.net" onmouseover="this.title=this.href;">CSDN</a>if you want to display the content between <a> .. </a>, try <a href="http://www.csdn.net" onmouseover="this.title=this.innerText;">CSDN</a>if you want to display fancy html code, use popup
<a href="http://www.csdn.net">CSDN</a>
<a href="http://www.blueidea.com">Blue</a>
用javascript,在“手指”的旁边显示1个飘动的文本框,里面显示“手指”
所指的datagrid子控件的模板列的超级链接上的内容!!!!!
you try it.
<a href="http://www.csdn.net" onmouseover="this.title=this.href;">CSDN</a>if you want to display the content between <a> .. </a>, try
<a href="http://www.csdn.net" onmouseover="this.title=this.innerText;">CSDN</a>if you want to display fancy html code, use popup
<IMG ID=PrevYear SRC="prevYear.gif" ALT="上一年">
当你将鼠标移动到上面的时候就能出现"上一年".
使用模版列不使用HyperLinkColumn <asp:TemplateColumn>
<ItemTemplate>
<a onmouseover = "javascript:this.title=this.href;" href='../treeview/treeviewtest.aspx?id=<%# DataBinder.Eval(Container, "DataItem.ID")>'>gdsgs </a>
</ItemTemplate>
</asp:TemplateColumn>
{
if(e.Item.ItemType == ListItemType.Item )
e.Item.Cells[0].Attributes["onMouseOver"]="this.title=this.all.item(0).href";
//
}
使用模版列不使用HyperLinkColumn
也是可以的