P
Paul Allan
I am new to ASP.net (intermediate ASP developer). I am developing a ASP.net
web application and I am having some difficulty calling and passing
parameters to a function that is declared in my "codebehind" page.
Function declaration:
Sub MyFunction(ByVal sender As Object, ByVal e As System.EventArgs)
I want to receive and process parameters here.
End Sub
I know that I am calling the function by it's address (using a delegate).
The function call (called from an anchor tag when the user clicks it):
<a HREF='www.myURL.com' ID='ExampleTag' onserverclick='MyFunction("want to
pass parameters here")' runat=server></a>
I am assuming that the "e" argument that is defined in MyFunction should
receive any parameters, but how do I pass them for this to happen?
Any help would be appreciated.
Thanks,
Paul.
web application and I am having some difficulty calling and passing
parameters to a function that is declared in my "codebehind" page.
Function declaration:
Sub MyFunction(ByVal sender As Object, ByVal e As System.EventArgs)
I want to receive and process parameters here.
End Sub
I know that I am calling the function by it's address (using a delegate).
The function call (called from an anchor tag when the user clicks it):
<a HREF='www.myURL.com' ID='ExampleTag' onserverclick='MyFunction("want to
pass parameters here")' runat=server></a>
I am assuming that the "e" argument that is defined in MyFunction should
receive any parameters, but how do I pass them for this to happen?
Any help would be appreciated.
Thanks,
Paul.