submiting of page...

  • Thread starter Thread starter Seth Broomer
  • Start date Start date
S

Seth Broomer

I have gotten stuck, and i need some help.
I have a page, what happens is that their is a calendar on it (like the type
on airline reservations) When you click on a date it needs to refresh the
page (which works fine) However I do not know how to make it act as a
serverclick and not a client click. The reason why I want it to act as a
server click, is that I need it to run before the page_load event is fired.


thanks
 
Are you using the Web Form Calendar Control? This is a server control and
when you click on it, it will cause a postback and thus, the page will be
reprocessed.

You should be aware though that you can't get any server control to process
its event handler prior to the Page_Load event because at that point, the
control hasn't been fully created yet. Server control events will fire
after page load.
 
Back
Top