어떻게 마우스 호버에 의한 ASP.NET의 gridview에 라벨에서 jQuery를 대화를 해고 할 수 있습니까? '호출 JQuery와 대화 상자가
ASP 마크 업
<asp:GridView ID="gvMain2" runat="server">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table class="tg-table-plain" style="width:100%">
<tr>
<td><asp:Label ID="GRID_LBL" class="GRID_LBL"
runat="server" Text='<%# Eval("Some_text") %>'></asp:Label>
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
자바 스크립트
$(function() {
$("#dialog").dialog({
autoOpen: false,
show: {
effect: "blind",
duration: 1000
},
hide: {
effect: "explode",
duration: 1000
}
});
$("#GRID_LBL").hover(function() {
$("#dialog").dialog("open");
});
});
ASP 코드를 추가 할 수 있습니까? – nmat