我得到了一個帶有中繼器的updatepanel。它顯示我從日曆中獲得的不同事件。在中繼器的updatepanel中的jquery對話框
現在它要做的是我點擊一個事件,它應該顯示在一個jQuery對話框中。
現在,如果我不使用updatepanel,但它只是不會工作,這很好。
我一直在尋找它昨天有一段時間了,我看到了一些文章,但我還是老樣子不會得到我正在尋找解決方案..
$(document).ready(function() {
$("#btnCheck").click(function(evt) {
evt.preventDefault();
$(".dialog").dialog({ height: 700, width: 600,
closeOnEscape: true, title: 'prev' }).dialog("open");
});
});
<div class="calendar_event_div">
<asp:Repeater ID="repContent" runat="server" OnItemDataBound="repContent_OnItemDataBound" OnItemCommand="repContent_OnItemCommand">
<ItemTemplate>
<asp:Literal ID="lbnEvent" runat="server" />
<asp:Literal ID="litEventBody" runat="server" />
</ItemTemplate>
</asp:Repeater>
</div>
</ContentTemplate>
</asp:UpdatePanel>
「對話框」類的元素在哪裏? – matpol 2009-12-10 08:46:34