﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - RowStyle on hover</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowStyle-on-hover/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>RowStyle on hover</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowStyle-on-hover/</link><pubDate>Tue, 26 Jan 2010 01:43:28 GMT</pubDate><dc:creator>yudi</dc:creator><category>webgrid rowstyle hover</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Glad to hear that your solution solves the problem.&lt;br /&gt;Should you have any other questions regarding our products, please let us know. We’ll be more than glad to assist you.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>RowStyle on hover</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowStyle-on-hover/</link><pubDate>Mon, 25 Jan 2010 03:14:43 GMT</pubDate><dc:creator>hermancordes@gmail.com</dc:creator><category>webgrid rowstyle hover</category><description>&lt;p&gt;Allright, finally sorted it out.&lt;/p&gt;
&lt;p&gt;All solutions with interactions to the Client API seem to work, but with some issues (see my post above). The nicest way to simulate it best, is to assign a CssClass to each RowStyle in use.&lt;/p&gt;&lt;pre&gt;&amp;lt;style type="text/css"&amp;gt;
tr[type="Record"]:hover td.GridRowStyle
{
	background-color: blue;
}
tr[type="Record"]:hover td.GridAlternateRowStyle
{
	background-color: green;
}
&amp;lt;/style&amp;gt;&lt;/pre&gt;
&lt;p&gt;This Css-example sets the backgroundcolor to blue and green if hovered. It's working by assigning this layoutsettings to the WebGrid:&lt;/p&gt;&lt;pre&gt;&amp;lt;LayoutSettings AlternatingColors="True"&amp;gt;
                &amp;lt;AlternatingRowStyle CssClass="GridAlternateRowStyle" /&amp;gt;
                &amp;lt;RowStyle CssClass="GridRowStyle" /&amp;gt;
            &amp;lt;/LayoutSettings&amp;gt;&lt;/pre&gt;
&lt;p&gt;I'd say problem solved. Anyone who thinks this solution will cause other issues, please reply! Thanks.&lt;/p&gt;</description></item><item><title>RowStyle on hover</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowStyle-on-hover/</link><pubDate>Wed, 20 Jan 2010 07:15:56 GMT</pubDate><dc:creator>go.biz88@gmail.com</dc:creator><category>webgrid rowstyle hover</category><description>&lt;p&gt;*removed&lt;br /&gt;&lt;/p&gt;</description></item><item><title>RowStyle on hover</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowStyle-on-hover/</link><pubDate>Wed, 20 Jan 2010 06:35:49 GMT</pubDate><dc:creator>hermancordes@gmail.com</dc:creator><category>webgrid rowstyle hover</category><description>&lt;p&gt;Thank you for the attachment code and feature request (I think it would be a nice addon)! Your example works quite smoothly, unfortunatly, except for one thing.&lt;/p&gt;
&lt;p&gt;The backgroundcolor changes to cyan on row enter and simultaneously switches the background color of other rows back to normal. Good so far. My problem occurs when the mouse pointer enters some 'empty' areas of the grid, column headers, the footer or leaves the grid control. When I do one of these actions, the cyan background color stays on the last hovered row and doesn't switch back to normal.&lt;/p&gt;
&lt;p&gt;I've studied the code and tried some events, but can't get a descent solution yet. Still figuring out. Maybe you or someone has an idea to this?&lt;/p&gt;
&lt;p&gt;Many thanks.&lt;/p&gt;</description></item><item><title>RowStyle on hover</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowStyle-on-hover/</link><pubDate>Wed, 20 Jan 2010 05:58:03 GMT</pubDate><dc:creator>yudi</dc:creator><category>webgrid rowstyle hover</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Currently there is no property that can be set to style a row on mouse over.&lt;br /&gt;I enclosed a workaround to achieve this kind of scenario. Please have the attached sample tested on your and let us know whether it helps or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I have forwarded this to WebGrid development team as feature request. They will check the feasibility to implement this on the upcoming build.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>RowStyle on hover</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowStyle-on-hover/</link><pubDate>Tue, 19 Jan 2010 10:38:50 GMT</pubDate><dc:creator>hermancordes@gmail.com</dc:creator><category>webgrid rowstyle hover</category><description>Today I've been discovering layout possibilities on the WebGrid. Currently I can't find a&amp;nbsp;nice property to use to style a row, when hovering over it with the mouse pointer. I'd like to change the background of the entire row, when the mouse pointer hovers over one of the row's cells. 
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Is it available on the WebGrid? If not, what's the best workaround to achieve it?&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Thanks in advance.&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;(this discussion had to be a question, clicked wrong link)&lt;/p&gt;</description></item></channel></rss>