Get action sender text (VB.net) : Event « Language Basics « ASP.NET Tutorial






<%@ Page Language="VB" %>

<script runat="server">
   Sub Button_Click(Sender As Object, e As EventArgs)
      Response.Write(Sender.Text)
   End Sub
</script>

<html>
<body>
   <form runat="server">
      <asp:button id="btSubmit" Text="Submit" runat=server OnClick="Button_Click"/>
   </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)