onmouseover and onmouseout events : Button « Asp Control « ASP.Net






onmouseover and onmouseout events


<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Button Expando</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <asp:Button
        id="btnSubmit"
        Text="Submit"
        onmouseover="this.value='Click Here!'"
        onmouseout="this.value='Submit'"
        Runat="server" />
    
    </div>
    </form>
</body>
</html>

 








Related examples in the same category

1.Event in code behind file (VB.net)
2.asp:button: command name and arguments (VB.net)
3.Event driven page (VB.net)
4.Set Button text (VB.net)
5.asp:button event to change the label text (VB.net)
6.Button action Command and Parameter (VB.net)
7.Add action listener to a server Button (VB.net)
8.asp button postbackurl (C#)
9.asp button on client click (C#)
10.Button counter: click and change button label (C#)
11.Add action listener to asp Button by delegate (C#)
12.Read input and do the calculation in Button action listener (C#)
13.Button event Handler (C#)
14.OnClientClick event
15.CausesValidation="False"