ASP.Net Onclick event not working with ajaxcontroltoolkit
I am designing a web application using vs2008 and C #. I've done many versions already and they all work fine.
Yesterday I decided to replace calendar with ajax calendar and for that I used ajaxcontroltoolkit. The new calendar also works great.
But the buttons I have in my form stopped working.
The onclick event just does nothing. I have already switched to the old calendar and everything is working fine.
The button calls the method behind the code.
So, any of you guys know what I am doing wrong? Are there any other ways to do this?
Tks in advance
thank you for your responses
my problem is that I am using this onsubmit = "return setHourglass (); on my form so that the user knows when the page is waiting for a response.
Something like that:
Paste the script code
function setHourglass () {document.body.style.cursor = 'wait'; }I removed this and it works fine, but I really don't know the motivation behind this behavior: |