Report action trigger's text (VB) : Event « Language Basics « ASP.NET Tutorial






<%@ Page Language="VB" %>

<script runat="server">
   Sub Button1_Click(Sender as Object, e as EventArgs)
      Label1.Text="You clicked <b>" & Sender.Text & "</b>"
   end Sub
</script>

<html><body>
   <form runat="server">
      <asp:Button id=Button1 runat="server" Text="Button1"
         onClick="Button1_Click" />
         
         <asp:Label id=Label1 runat=server />
   </form>
</body></html>








2.2.Event
2.2.1.Get action sender text (VB.net)
2.2.2.Report action trigger's text (VB)
2.2.3.Report action trigger's text (C#)
2.2.4.Change img border stype in Input Button action (VB.net)