Results 1 to 4 of 4

Thread: How do change the text in a asp:Button control while mouseover?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Posts
    4

    How do change the text in a asp:Button control while mouseover?

    You can use this type to fire Button Onmouse over event...

    PageLoad()

    In Asp.Net, we can get the mouserOver event for button using Page add attributes...

    {

    btnExMouseOver.Attributes.Add
    ("onmouseover", "return validate();");


    }

    Then just using java script for that function in HTML page
    ex:
    <script language='javascript'>
    function validate()
    {
    here put your coding....
    as per your requirement....
    }



  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How do change the text in a asp:Button control while mouseover?

    ASP.NET questions belong in the ASP.NET forum. I've asked the mods to move this thread.

    That said, I'm even sure that you're asking a question. Are you?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: How do change the text in a asp:Button control while mouseover?

    Thread moved to ASP.Net forum

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: How do change the text in a asp:Button control while mouseover?

    I think he was trying to create a 'code snippet'/FAQ type thing...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width