Javascript calendar not working on page postback

Posted by Ramkumarkrk under ASP.NET on 12/19/2011 | Points: 10 | Views : 1397 | Status : [Member] | Replies : 2
Hi,

I am using a javascript calendar in my aspx page. The calendar control was wokring find until the page is postback. after the page post
back when i click on the calendar button it throws javascript error.

Any have faced the same issues before.

Thanks,
Ram




Responses

Posted by: Sksamantaray on: 12/19/2011 [Member] Silver | Points: 25

Up
0
Down
can you attach your code

Thanks,
Sanjay

Ramkumarkrk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ramkumarkrk on: 12/20/2011 [Member] Starter | Points: 25

Up
0
Down
Hi SK,

Thanks for you reply. I have identified the error in my page and resolved the same.

I am working on Dot net framework 1.1. To maintain the page scroll position I have included the property "SmartNavigation = True " in the pae directive and because of that the javascript calendar is not working after the page postback, so I removed that property and now the caendar control is working.

To maintain the page scroll position I have used javascript.

Thanks,
Ramkumar K


Ramkumarkrk, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response