[thelist] ASP.NET: Passing the value of a link button

Casey Crookston caseyc at IntelliSoftmn.com
Tue Aug 8 11:28:38 CDT 2006


CASEY:

>How do I modify AlphaCommand(ByVal sender As Object, ByVal e As
>System.EventArgs) to capture the value of the link button clicked?

ROB:

Hate to be an ars but this is a RTFM response. Although my ASP.NET
experience is at the novice level, I can almost bet that it is:

MyButton.text

CASEY:

I'll never consider you an ars when you're helping!  But, I don't think
it's this simple.  I'm dealing with 26 dynamically generated
linkbuttons, and I won't know which one the user clicked.  The value
will need to be captured via the Sender.Property as Peter mentioned -
I'm just working out the details.

Thanks!


 





More information about the thelist mailing list