在Asp.net的“复选框"列表中显示工具提示
问题描述:
这是我的代码,用于将工具提示设置为复选框".
This is my code to set the tooltip to Checkbox each items.
sub SetTolTip
for indx as integer=0 to chkbxcnt.items.count-1
chkbxcnt.items(indx).attributes.add("tittle",chkbxcnt.items(indx).Tex)
next
End sub
我在回发页面(只有第一次'不是Ispostback条件')上调用了此方法. CheckBoxlist项目仅在第一次显示tootip,任何回发都会丢失工具提示.
I called this method at page Postback (only first time 'Not Ispostback condtion '). CheckBoxlist items shows tootip first time only, Any postback cause loss the tooltip.
有人知道解决方法吗?.
Can anyone knows solution..?
谢谢
答
谢谢你的帖子.请考虑 http://forums.asp.net/ 作为更好的选择.
Thanks for your post. Please consider http://forums.asp.net/ as a better option.