Hello All,
I have two DayPilotCalendar cotrols on my web page.
Both are in different update panel. On checkbox change i am updating both of them.
But I found that first DayPilotCalendar is comming ok,but the secod is flickering.
so can someone tell me how to stop flickering of second DayPilotCalendar.
following is the code.
<tr>
<td>
<asp:UpdatePanel ID="UpdatePanelCalendar" runat="server" UpdateMode="Conditional"
ChildrenAsTriggers="false">
<ContentTemplate>
<asp:CheckBoxList ID="chkClinicList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="chkClinicList_SelectedIndexChanged"
AppendDataBoundItems="true">
<asp:ListItem Text="one" Value="1"></asp:ListItem>
<asp:ListItem Text="two" Value="2"></asp:ListItem>
<asp:ListItem Text="three" Value="3"></asp:ListItem>
<asp:ListItem Text="four" Value="4"></asp:ListItem>
</asp:CheckBoxList>
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
<ContentTemplate>
<DayPilot:DayPilotCalendar ID="DayPilotCalendar1" runat="server" ClientObjectName="dpc1"
HourNameBackColor="#ECE9D8" BorderColor="#A0A0A0" CellBorderColor="#A0A0A0" EventBorderColor="#505050"
AllDayEventBorderColor="#a0a0a0" TimeRangeSelectedHandling="PostBack" EventClickHandling="PostBack"
EventDeleteHandling="JavaScript" EventResizeHandling="CallBack" EventMoveHandling="CallBack"
Width="200">
</DayPilot:DayPilotCalendar>
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td>
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
<ContentTemplate>
<DayPilot:DayPilotCalendar ID="DayPilotCalendar2" runat="server" ClientObjectName="dpc1"
HourNameBackColor="#ECE9D8" BorderColor="#A0A0A0" CellBorderColor="#A0A0A0" EventBorderColor="#505050"
AllDayEventBorderColor="#a0a0a0" TimeRangeSelectedHandling="PostBack" EventClickHandling="PostBack"
EventDeleteHandling="JavaScript" EventResizeHandling="CallBack" EventMoveHandling="CallBack"
Width="200">
</DayPilot:DayPilotCalendar>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
server side code
protected void chkClinicList_SelectedIndexChanged(object sender, EventArgs e)
{
UpdatePanel1.Update();
UpdatePanel2.Update();
}
thanks in advance