Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Javascript and server controls?


Message #1 by "Steven Feher" <feherbone@h...> on Fri, 31 Aug 2001 09:59:04 -0400
Can I make a server control call javascript function, or does it 

always have to post back to the source behind code?

 

Message #2 by "Chris Scott" <chris@e...> on Fri, 31 Aug 2001 15:44:53 -0700
Hi Steven,



Yes, No.

However, if you specify a server and client side function for the same event

e.g. onclick, the server function takes priority.

If necessary, you can use events such as onmousedown to trigger the client

function before the onclick triggers the server function.



HTH



Chris



----- Original Message -----

From: "Steven Feher" <feherbone@h...>

To: "ASP+" <aspx@p...>

Sent: Friday, August 31, 2001 6:59 AM

Subject: [aspx] Javascript and server controls?





> Can I make a server control call javascript function, or does it

> always have to post back to the source behind code?

>

>

>




>




  Return to Index