467,919 Members | 1,220 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,919 developers. It's quick & easy.

Ajax doesn't work with calendar control

I applied the following Ajax code in my web page which has a calendar control
to keep my page from completely reloading everytime something was changed.

<atlas:ScriptManager ID="ScriptManager1" runat="server"
EnablePartialRendering="true"/>
<atlas:UpdatePanel runat="server" ID="UpdatePanel1" Mode="Conditional">
<ContentTemplate>

After inserting this code, my calendar stopped working in that if I clicked
on a date, nothing would display whereas before I inserted the Ajax code I
would get a programmatic response when clicking on a calendar date. I have
used this Ajax code in other webpages with different controls. But for some
reason, it invalidates any Java script code associated with the calendar
control. Has anyone else had this problem?
Dec 15 '06 #1
  • viewed: 2385
Share:
3 Replies
Hi Parrot
This problem is coming because calendar control incorporated in 2.0 is
built using javascript. So ur javascript is giving compatibility issues
with calendar control. I also had same problem. So i decided to go for
DatePickers available in net. This calendar control is having some
drawbacks...for example if u have to choose Date of Birth as 20th
January, 1960, then u have to click back button so many times and all
the times the page will postback..So better go for javascript
datepickers available on net..If u want i can send u the javascript
calendar files.
--Raghav
Parrot wrote:
I applied the following Ajax code in my web page which has a calendar control
to keep my page from completely reloading everytime something was changed.

<atlas:ScriptManager ID="ScriptManager1" runat="server"
EnablePartialRendering="true"/>
<atlas:UpdatePanel runat="server" ID="UpdatePanel1" Mode="Conditional">
<ContentTemplate>

After inserting this code, my calendar stopped working in that if I clicked
on a date, nothing would display whereas before I inserted the Ajax code I
would get a programmatic response when clicking on a calendar date. I have
used this Ajax code in other webpages with different controls. But for some
reason, it invalidates any Java script code associated with the calendar
control. Has anyone else had this problem?
Dec 15 '06 #2
Hiii Dave!!
I tried sending DatePicker on pa****@discussions.microsoft.com. But I
am getting message that this email id doesnot exist. So, give me
another email id. Better give yahoo or hotmail..
--Raghav
Parrot wrote:
Hi Raghav;
Thanks for your response. I would like to receive the javascript calendar
files. It sounds like NET calendar controls are not compatible with Atlas.
Hope they fix that someday.
Dave

"raghav" wrote:
Hi Parrot
This problem is coming because calendar control incorporated in 2.0 is
built using javascript. So ur javascript is giving compatibility issues
with calendar control. I also had same problem. So i decided to go for
DatePickers available in net. This calendar control is having some
drawbacks...for example if u have to choose Date of Birth as 20th
January, 1960, then u have to click back button so many times and all
the times the page will postback..So better go for javascript
datepickers available on net..If u want i can send u the javascript
calendar files.
--Raghav
Parrot wrote:
I applied the following Ajax code in my web page which has a calendar control
to keep my page from completely reloading everytime something was changed.
>
<atlas:ScriptManager ID="ScriptManager1" runat="server"
EnablePartialRendering="true"/>
<atlas:UpdatePanel runat="server" ID="UpdatePanel1" Mode="Conditional">
<ContentTemplate>
>
After inserting this code, my calendar stopped working in that if I clicked
on a date, nothing would display whereas before I inserted the Ajax code I
would get a programmatic response when clicking on a calendar date. I have
used this Ajax code in other webpages with different controls. But for some
reason, it invalidates any Java script code associated with the calendar
control. Has anyone else had this problem?
Dec 16 '06 #3
Hi Raghav;
My email address is du*****@maxiis.com. Sorry for the confusion.
Dave

"raghav" wrote:
Hiii Dave!!
I tried sending DatePicker on pa****@discussions.microsoft.com. But I
am getting message that this email id doesnot exist. So, give me
another email id. Better give yahoo or hotmail..
--Raghav
Parrot wrote:
Hi Raghav;
Thanks for your response. I would like to receive the javascript calendar
files. It sounds like NET calendar controls are not compatible with Atlas.
Hope they fix that someday.
Dave

"raghav" wrote:
Hi Parrot
This problem is coming because calendar control incorporated in 2.0 is
built using javascript. So ur javascript is giving compatibility issues
with calendar control. I also had same problem. So i decided to go for
DatePickers available in net. This calendar control is having some
drawbacks...for example if u have to choose Date of Birth as 20th
January, 1960, then u have to click back button so many times and all
the times the page will postback..So better go for javascript
datepickers available on net..If u want i can send u the javascript
calendar files.
--Raghav
Parrot wrote:
I applied the following Ajax code in my web page which has a calendar control
to keep my page from completely reloading everytime something was changed.

<atlas:ScriptManager ID="ScriptManager1" runat="server"
EnablePartialRendering="true"/>
<atlas:UpdatePanel runat="server" ID="UpdatePanel1" Mode="Conditional">
<ContentTemplate>

After inserting this code, my calendar stopped working in that if I clicked
on a date, nothing would display whereas before I inserted the Ajax code I
would get a programmatic response when clicking on a calendar date. I have
used this Ajax code in other webpages with different controls. But for some
reason, it invalidates any Java script code associated with the calendar
control. Has anyone else had this problem?
>
>

Dec 16 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Manny Chohan | last post: by
reply views Thread by Garg | last post: by
2 posts views Thread by =?Utf-8?B?Q2VzYXI=?= | last post: by
2 posts views Thread by =?Utf-8?B?UGF1bA==?= | last post: by
3 posts views Thread by =?Utf-8?B?UGF1bA==?= | last post: by
4 posts views Thread by ton | last post: by
2 posts views Thread by =?Utf-8?B?QWJoaWxhc2g=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.