which is executed first

  • Thread starter Thread starter Victor Sayas
  • Start date Start date
V

Victor Sayas

i have a html button and i'm wondering which is executed first, the
onserverclick event inside the ASP.Net IDE or the onclick event in the HTML
side?
i hope u can realy help me with this one guys and ladies, because i have
codes executed on the IDE environment and also in the HTML side, thanks.
 
since the page is on the client, client-side clicks occur first, then stuff
is processed on the server. when the page is written out to the client
further processing client-side may occur
 
thank you alvin, can i ask another question. since that is the case my
problem is this:
i have a frame, so i have a line in my code that refreshes the frame
"parent.document.location.href = "./Main2.aspx"", on my serverclick event of
my button i have codes that passes values in the session so i can use in the
next page, since "parent.document.location.href = "./Main2.aspx"" this is
executed on the cliend side the values that i passed will not take effect,
how can i put this code on the serverclick event of my html button? or in
what way can i refresh my frameset after the onserverclick event is
finished. thank u.


Alvin Bruney said:
since the page is on the client, client-side clicks occur first, then stuff
is processed on the server. when the page is written out to the client
further processing client-side may occur

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Victor Sayas said:
i have a html button and i'm wondering which is executed first, the
onserverclick event inside the ASP.Net IDE or the onclick event in the
HTML
side?
i hope u can realy help me with this one guys and ladies, because i have
codes executed on the IDE environment and also in the HTML side, thanks.
 
Back
Top