Hi All 
I have two user control with a calendar control and within the page render event I am just writing writer.WriteLine(DateTime.Now.ToString() in both the contols
contols are placed in updatePanel .I am hosting these control in an aspx page .Whenever I am clicking on any of the calendar's month it is not changing other calendar's month but it is refreshing the time for both user control.Code snippet.
<
uc:Order id="UserControl1" runat="server"></uc:Order> <uc:Order id="OrderDetail" runat="server"></uc:OrderDetail>
<%
@ Control Language="C#" AutoEventWireup="true" CodeFile="OrderDetail.ascx.cs" Inherits="OrderDetail" %>
<
asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>protected override void Render(HtmlTextWriter writer)
{
writer.WriteLine(DateTime.Now.ToString());} simlar code for the order user control.
Please do help me in finding out a way so that datetime of both user control does not get refreshed whenever I am triggering a post back through the calendar control.
Thanks and Regards
Ashok