hi. i got a updatepanel with a repeater in it. it display different events that i get from a calendar.
now what it want for it to do is i click on a event and it should display in a jquery dialog.
now this works great if i am not using a updatepanel but with it just wont work.
i been looking for it yesterday for some time and i seen some articles but i stil wont get the solution i am looking for..
$(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>