<asp:button onmouseover="this.style.cursor='hand' > not working


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: <asp:button onmouseover="this.style.cursor='hand' > not working

Hybrid View

  1. #1
    Aruna Guest

    <asp:button onmouseover="this.style.cursor='hand' > not working


    <asp:button id="Button9" onmouseover="this.style.cursor='hand' runat="server"
    Width="119px"></asp:label>


    I am getting error at onmouseover.
    But it is working fine for HTML element <INPUT>.
    Why it is not working for <asp:button> ?
    Is it necessary to import any namespace?
    Can anybody give code?


  2. #2
    Phil Weber Guest

    Re: <asp:button onmouseover="this.style.cursor='hand' > not working

    > <asp:button id="Button9" onmouseover="this.style.cursor='hand'
    > runat="server" Width="119px" />
    > I am getting error at onmouseover.


    Aruna: You're missing the closing double-quote on your onmouseover
    attribute.
    ---
    Phil Weber



  3. #3
    Igor Guest

    Re: <asp:button onmouseover="this.style.cursor='hand' > not working


    "Phil Weber" <pweber@nospam.fawcette.com> wrote:
    > > <asp:button id="Button9" onmouseover="this.style.cursor='hand'
    > > runat="server" Width="119px" />
    > > I am getting error at onmouseover.

    >
    >Aruna: You're missing the closing double-quote on your onmouseover
    >attribute.
    >---
    >Phil Weber
    >
    >


    Hi Phil,
    Button on a server hasn't "onmouseover" event as far as other mouse events.
    Use simple <button idid="Button9" onmouseover="this.style.cursor='hand'
    Width="119px" />



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center