submiting of page...

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
 
S

Scott M.

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.
 

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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top