Hi Chris,
���Short answer:� you can't access server-side functions with client-side
javascript.
���Now with that in mind, there are several controls (like asp:button) which
can be assigned to call a server-side function on postback, but that's done
either in the tag, like this:
<asp:button id="myButton" onclick="SomeServerSideFunctionOrSub" />
...or on the function/sub itself, as in Visual Studio where it says something
like this (actual syntax may vary):
Private Sub SomeSubroutine Handles myButton.OnClick
Cheers,
Peter
From: christopher andrada [EMAIL PROTECTED]
Hi All,
I'm wondering if asp:hyperlink when click, it will
access a specified function in the code behind instead
of specifiying the new URL?
kind of link .
with that, u'r accessing functionName() defined in
javascript. in my case, i want to call a function
defined in my code behind.
Please let me know if this is possible and if so,
please give me an example. Thanks.
Chris
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/