<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX Control Toolkit</title><link>http://forums.asp.net/1022.aspx</link><description>Here's your place to discuss everything in and about the AJAX Control Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: How to change txt2.text when the txt1's date of AJAX CalendarExtender changes?</title><link>http://forums.asp.net/thread/3272423.aspx</link><pubDate>Fri, 03 Jul 2009 00:39:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272423</guid><dc:creator>wooper</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272423.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3272423</wfw:commentRss><description>&lt;p&gt;Ok i just realesed that this happens only when the textbox is read only = true, so if i put it false and use an attribute it works just fine, thanks&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to change txt2.text when the txt1's date of AJAX CalendarExtender changes?</title><link>http://forums.asp.net/thread/3272416.aspx</link><pubDate>Fri, 03 Jul 2009 00:28:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272416</guid><dc:creator>wooper</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272416.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3272416</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, the solution of this problem was great, but i have a question, how can i prevent to erase de value in the textbox after a postback, because when i select a date and i use a postback it dissapears, how can i prevent that&lt;/p&gt;</description></item><item><title>Re: Any solution algorithm for Date Forwarding?</title><link>http://forums.asp.net/thread/3272309.aspx</link><pubDate>Thu, 02 Jul 2009 21:49:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272309</guid><dc:creator>Playbill</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272309.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3272309</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m on a similar scenario but my 2nd textbox&amp;#39;s default value is 01/01/1900.&amp;nbsp; The Javascript does change the value of the 2nd textbox but when I click on the image button to show the calendar, the value of the calendar is still at 01/01/1900 - not the new value that comes from the Javascript.&amp;nbsp; Any idea how to sync the calendar extender value?&amp;nbsp; Thanks!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Any solution algorithm for Date Forwarding?</title><link>http://forums.asp.net/thread/2934500.aspx</link><pubDate>Wed, 11 Feb 2009 18:51:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2934500</guid><dc:creator>MinimalTech</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2934500.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2934500</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you &lt;b&gt;kinjalin&lt;/b&gt; and &lt;strong&gt;sangam100&lt;/strong&gt;!!&lt;/p&gt;&lt;p&gt;Your solutions are great!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Any solution algorithm for Date Forwarding?</title><link>http://forums.asp.net/thread/2933674.aspx</link><pubDate>Wed, 11 Feb 2009 13:57:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2933674</guid><dc:creator>sangam100</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2933674.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2933674</wfw:commentRss><description>&lt;p&gt;Hi &lt;a href="http://forums.asp.net/members/MinimalTech.aspx"&gt;&lt;font color="#034efa"&gt;MinimalTech&lt;/font&gt;&lt;/a&gt; ,&lt;/p&gt;
&lt;p&gt;Here goes the prototype, which is close to what kinjalin posted:&lt;/p&gt;
&lt;p&gt;Add this script in the design page:&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;&amp;lt;script&amp;gt;
&lt;b id="2"&gt;2    &lt;/b&gt;function addDays() {
&lt;b id="3"&gt;3    &lt;/b&gt;    dateParts = document.getElementById(&lt;span class="st"&gt;&amp;#39;txtDate1&amp;#39;&lt;/span&gt;).&lt;span class="kwd"&gt;value&lt;/span&gt;.split(&lt;span class="st"&gt;&amp;#39;/&amp;#39;&lt;/span&gt;);
&lt;b id="4"&gt;4    &lt;/b&gt;    year  =  dateParts[2];
&lt;b id="5"&gt;5    &lt;/b&gt;    month = parseInt(dateParts[0])-1;
&lt;b id="6"&gt;6    &lt;/b&gt;    day   = parseInt(dateParts[1]) + 1;
&lt;b id="7"&gt;7    &lt;/b&gt;    
&lt;b id="8"&gt;8    &lt;/b&gt;    newDate = &lt;span class="kwd"&gt;new&lt;/span&gt; Date ( year, month, day );
&lt;b id="9"&gt;9    &lt;/b&gt;    year  = newDate.getYear();
&lt;b id="10"&gt;10   &lt;/b&gt;    month = newDate.getMonth()+1;
&lt;b id="11"&gt;11   &lt;/b&gt;    day   = newDate.getDate();
&lt;b id="12"&gt;12   &lt;/b&gt;    formattedDate = month + &lt;span class="st"&gt;&amp;#39;/&amp;#39;&lt;/span&gt; + day + &lt;span class="st"&gt;&amp;#39;/&amp;#39;&lt;/span&gt; + year;
&lt;b id="13"&gt;13   &lt;/b&gt;
&lt;b id="14"&gt;14   &lt;/b&gt;    document.getElementById(&lt;span class="st"&gt;&amp;#39;txtDate2&amp;#39;&lt;/span&gt;).&lt;span class="kwd"&gt;value&lt;/span&gt;=formattedDate;
&lt;b id="15"&gt;15   &lt;/b&gt;}
&lt;b id="16"&gt;16   &lt;/b&gt;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&lt;strong&gt;&lt;/strong&gt;Now in the design page:&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&lt;font size="2"&gt;&lt;p&gt;Date1:&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#800000" size="2"&gt;TextBox&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;txtDate1&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#800000" size="2"&gt;TextBox&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&amp;amp;nbsp;&lt;/font&gt;&lt;font size="2"&gt; Date2 (One day forward):&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#800000" size="2"&gt;TextBox&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;txtDate2&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#800000" size="2"&gt;TextBox&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;cc1&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#800000" size="2"&gt;CalendarExtender&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;CalendarExtender1&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;TargetControlID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;txtDate1&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;PopupButtonID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;txtDate1&amp;quot;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000" size="2"&gt;cc1&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#800000" size="2"&gt;CalendarExtender&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;In the code behind:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font size="2"&gt;&lt;p&gt;txtDate1.Attributes.Add(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;onchange&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;addDays();&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;Now this works.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;Hope this helps. Please feel free to ask if any problem persists or if any help is required. Thanks.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/pre&gt;</description></item><item><title>Re: Any solution algorithm for Date Forwarding?</title><link>http://forums.asp.net/thread/2933575.aspx</link><pubDate>Wed, 11 Feb 2009 13:23:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2933575</guid><dc:creator>kinjalin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2933575.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2933575</wfw:commentRss><description>&lt;p&gt;here you have to add it in Javascript &lt;/p&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;cc1:CalendarExtender&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;ClExFromDt&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;span class="attr"&gt;                    runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;span class="attr"&gt;                    TargetControlID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TxtFromDate&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;span class="attr"&gt;                    PopupButtonID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;BtnFromCal&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;span class="attr"&gt;                    Format=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;dd/MM/yyyy&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;span class="attr"&gt;                    OnClientDateSelectionChanged=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;AddDate&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;span class="attr"&gt;                    CssClass=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;calExt_Theme1&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;span class="tag"&gt;cc1:CalendarExtender&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;p&gt;Here on &lt;span class="attr"&gt;OnBlur, write a Javascript function &lt;/span&gt;&lt;b&gt;&lt;span class="attrv"&gt;addDate&lt;/span&gt;&lt;/b&gt; &lt;/p&gt;&lt;p&gt;on Page_Load write the line &amp;quot; Text1.Attributes.Add(&amp;quot;onblur&amp;quot;, &amp;quot;javascript:addDate();&amp;quot;) &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;amp; in Javascript Fetch the Value using document.getElementByID(&amp;quot;TextBox1&amp;quot;).value&lt;/p&gt;&lt;p&gt;add it using below Javascript &amp;amp; bit of ur Logic&lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;//create the date&lt;br /&gt;var myDate = new Date();&lt;br /&gt; &lt;br /&gt;//add a day to the date&lt;br /&gt;myDate.setDate(myDate.getDate() + 1);&lt;br /&gt; &lt;br /&gt;//add a week&lt;br /&gt;myDate.setDate(myDate.getDate() + 7);&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;after&amp;nbsp; adding Show it in ur TextBox2&lt;/p&gt;&lt;p&gt;$get(TextBox2).value = myDate&lt;/p&gt;&lt;p&gt;Thats it. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Any solution algorithm for Date Forwarding?</title><link>http://forums.asp.net/thread/2933079.aspx</link><pubDate>Wed, 11 Feb 2009 10:03:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2933079</guid><dc:creator>MinimalTech</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2933079.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2933079</wfw:commentRss><description>&lt;p&gt;Hey guys!&lt;/p&gt;&lt;p&gt;Did anyone found a solution algorithm to forward the dates correctly?&lt;/p&gt;Thanks!&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to change txt2.text when the txt1's date of AJAX CalendarExtender changes?</title><link>http://forums.asp.net/thread/2930267.aspx</link><pubDate>Tue, 10 Feb 2009 11:50:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2930267</guid><dc:creator>MinimalTech</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2930267.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2930267</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you &lt;strong&gt;nimeshprabhakar&lt;/strong&gt;, but even this solution uses the update panel...&lt;/p&gt;&lt;p&gt;As i said, i do not want any postbacks... So i do not want any update panel...&lt;/p&gt;&lt;p&gt;I want some pure JavaScript solution.... &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to change txt2.text when the txt1's date of AJAX CalendarExtender changes?</title><link>http://forums.asp.net/thread/2930156.aspx</link><pubDate>Tue, 10 Feb 2009 11:14:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2930156</guid><dc:creator>nimeshprabhakar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2930156.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2930156</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Please download this control and place two controls inside an update pannel.&lt;/p&gt;&lt;p&gt;download control for your framework:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.eworldui.net/Download.aspx" title="http://www.eworldui.net/Download.aspx" target="_blank"&gt;http://www.eworldui.net/Download.aspx&lt;/a&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;something liek this. &lt;br /&gt;&lt;/p&gt;&amp;lt;asp:UpdatePanel id=&amp;quot;UpdatePanel1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;contenttemplate&amp;gt;&lt;br /&gt;&lt;b&gt;&amp;lt;cc2:CalendarPopup id=&amp;quot;CalendarPopup1&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;71px&amp;quot; OnDateChanged=&amp;quot;CalendarPopup1_DateChanged&amp;quot; AutoPostBack=&amp;quot;True&amp;quot;&amp;gt;&amp;lt;/cc2:CalendarPopup&amp;gt; &amp;lt;cc2:CalendarPopup id=&amp;quot;CalendarPopup2&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;71px&amp;quot;&amp;gt;&amp;lt;/cc2:CalendarPopup&amp;gt;&lt;/b&gt;&lt;br /&gt;&amp;lt;/contenttemplate&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/asp:UpdatePanel&amp;gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;Code behind:&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;protected void CalendarPopup1_DateChanged(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CalendarPopup2.SelectedDate = CalendarPopup1.SelectedDate.AddDays(1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to change txt2.text when the txt1's date of AJAX CalendarExtender changes?</title><link>http://forums.asp.net/thread/2930137.aspx</link><pubDate>Tue, 10 Feb 2009 11:08:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2930137</guid><dc:creator>MinimalTech</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2930137.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2930137</wfw:commentRss><description>&lt;p&gt;Thank you very much&amp;nbsp; &lt;strong&gt;sangam100&lt;/strong&gt;!&lt;/p&gt;&lt;p&gt;Your solution looks fine (also i was thinking something similar to do) but, as i said to my 1st post: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;MinimalTech:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;...Using client-side script (or other method without postbacks), i want when the user chooses a date from CalendarExtender1,&lt;/p&gt;&lt;p&gt;the same date plus a day front to go to the txt2...&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;i&amp;#39;m tryiing to&amp;nbsp; avoid the posts back even if the postbacks is from the update panel..&lt;/p&gt;&lt;p&gt;Do you know some way to do this via javascript or AJAX? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to change txt2.text when the txt1's date of AJAX CalendarExtender changes?</title><link>http://forums.asp.net/thread/2930098.aspx</link><pubDate>Tue, 10 Feb 2009 10:55:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2930098</guid><dc:creator>sangam100</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2930098.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2930098</wfw:commentRss><description>&lt;p&gt;Hi &lt;a href="http://forums.asp.net/members/MinimalTech.aspx"&gt;&lt;font color="#034efa"&gt;MinimalTech&lt;/font&gt;&lt;/a&gt; ,&lt;/p&gt;
&lt;p&gt;Put the controls in an updatepanel, and in the textchanged event of first textbox, read it&amp;#39;s text, convert to datetime and add 1 day in this and display in second textbox. You should enable postback in the first textbox.&lt;/p&gt;
&lt;p&gt;Hope this helps. Please feel free to ask if any problem persists or if any help is required. Thanks.&lt;/p&gt;</description></item><item><title>How to change txt2.text when the txt1's date of AJAX CalendarExtender changes?</title><link>http://forums.asp.net/thread/2929951.aspx</link><pubDate>Tue, 10 Feb 2009 10:10:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2929951</guid><dc:creator>MinimalTech</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2929951.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2929951</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi!&lt;/p&gt;&lt;p&gt;I&amp;nbsp; have two text boxes inside my aspx page: a) the &amp;quot;txt1&amp;quot; and b) the &amp;quot;txt2&amp;quot;.&lt;/p&gt;&lt;p&gt;Both text boxes has CalendarExtender controls attached: a) the txt1 has the &amp;quot;CalendarExtender1&amp;quot; and b) the txt2 has the&amp;quot;CalendarExtender2&amp;quot;.&lt;/p&gt;&lt;p&gt;All i want, is this:&lt;/p&gt;&lt;p&gt;Using client-side script (or other method without postbacks), i want when the user chooses a date from CalendarExtender1,&lt;/p&gt;&lt;p&gt;the same date plus a day front to go to the txt2.&lt;/p&gt;&lt;p&gt;For example:&lt;/p&gt;&lt;p&gt;If the user choose 03/28/2009 in the CalendarExtender1, i want the value of the txt2 to be the 03/29/2009....&lt;/p&gt;&lt;p&gt;Also, if the month reaches the end, i want the txt2 to take the new moth. For example:&lt;/p&gt;&lt;p&gt;If the user choose 03/31/2009 in the CalendarExtender1, i want the value of the txt2 to be the 04/01/2009....&lt;/p&gt;&lt;p&gt;That behavior i want to exists only to the CalendarExtender1 like i describe it. I don&amp;#39;t want the user to be able to do this&lt;/p&gt;&lt;p&gt;with CalendarExtender2 (the CalendarExtender2 has the default behavior)...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How can i accomplish that? Thank you very much!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>