Postbacks caused by the Calendar control

N

Nathan Sokalski

As we all know, the Calendar control causes postbacks that we often do not
want. This will obviously cause the Page's Load event to be triggered. I
have code in my Load event that I want executed under all the other
scenarios that might cause postbacks, but now when the user is simply
changing the date of a Calendar control. Is there any way to determine what
control caused the current postback so that I can determine whether my
Calendar control caused it or whether another control did? Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top