How to change grid row background color on mouse move

4 posts, 0 answers
  1. Ofer
    Ofer avatar
    14 posts
    Member since:
    Apr 2009

    Posted 18 Jun 2009 Link to this post

    I use the Aqua theme but need a different background color on the row that the mouse points to.

    Where to change it?

    Thanks!
  2. gerbrand
    gerbrand avatar
    78 posts
    Member since:
    Mar 2009

    Posted 18 Jun 2009 Link to this post

    Hi,

    You can handle this in the MouseHover event of the radgrid. Don't have samples of it.

    Gerbrand
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ofer
    Ofer avatar
    14 posts
    Member since:
    Apr 2009

    Posted 18 Jun 2009 Link to this post

    Thanks but your answer doen't solve my problem.

    the MouseHover doesn't supply any event args.

    1) How to know which row the mouse is on?

    2) How to know the previous row the mouse was on?
    I can keep the previous row number in my code, it would be nice if the grid supplied this info.


    Thanks!
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 19 Jun 2009 Link to this post

    Hi gerbrand,

    The best approach would be to create a theme with Visual Style Builder. You can see movies on how to use VSB on telerik.tv.

    A bit off-topic: if your company has purchased our controls already, please ask the purchase holder to add you as a License Developer to the purchase. This will give you direct access to our support ticketing system and services. More on License Developers you can find here: www.telerik.com/account/faqs.aspx


    All the best,
    Victor
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top