ASP.Net/Asp Control/Mouse Event

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

asp button mouse in and mouse out action

<%@ Page Language="C#" %>
<html>
<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>