ASP.Net/Asp Control/Mouse Event

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

asp button mouse in and mouse out action

   <source lang="csharp">

<%@ Page Language="C#" %> <html> <head id="Head1" runat="server">

   <title>Button Expando</title>

</head> <body>

   <form id="form1" runat="server">
   <asp:Button
       id="btnSubmit"
       Text="Submit"
       onmouseover="this.value="Click Here!""
       onmouseout="this.value="Submit""
       Runat="server" />
   
   
   </form>

</body> </html>

      </source>