﻿<?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 - webgrid background color problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/webgrid-background-color-problem/</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>webgrid background color problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/webgrid-background-color-problem/</link><pubDate>Sun, 01 Jul 2012 23:32:25 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p /&gt;&lt;p&gt;Hi Randy,&lt;/p&gt;
&lt;p&gt;I've tried to replicate this issue in Win7 style but unfortunately it works fine. It seems it's already been fixed in our WebGrid 8. Hope this helps.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Bernard&lt;/p&gt;
&lt;/div&gt;
&lt;p /&gt;</description></item><item><title>webgrid background color problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/webgrid-background-color-problem/</link><pubDate>Fri, 29 Jun 2012 14:36:34 GMT</pubDate><dc:creator>RLG1</dc:creator><description>&lt;p&gt;This relates to a problem I have been working.  Has this been fixed in WebGrid version 8?&lt;/p&gt;</description></item><item><title>webgrid background color problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/webgrid-background-color-problem/</link><pubDate>Tue, 29 Jun 2010 03:42:08 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;i have solved the probelm, by changing the defaultstylemode from win7 to Elegant.&lt;/p&gt;
&lt;p&gt;The problem still exist for win7 style.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>webgrid background color problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/webgrid-background-color-problem/</link><pubDate>Tue, 29 Jun 2010 02:02:59 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;hi,&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I have a webgrid , where i have changed the background using the below code&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;FormatConditions&amp;gt;&lt;br /&gt;        &amp;lt;ISWebGrid:WebGridFormatCondition ColumnMember="VIEWED" ConditionText="Y" Name="WebGridFormatCondition0"&amp;gt;&lt;br /&gt;            &amp;lt;FormatStyle BackColor="white" BackColor2="darkgray"&amp;gt;&lt;br /&gt;            &amp;lt;/FormatStyle&amp;gt;&lt;br /&gt;        &amp;lt;/ISWebGrid:WebGridFormatCondition&amp;gt;&lt;br /&gt;        &amp;lt;ISWebGrid:WebGridFormatCondition ColumnMember="VIEWED" ConditionText="N" Name="WebGridFormatCondition0"&amp;gt;&lt;br /&gt;            &amp;lt;FormatStyle BackColor="white" BackColor2="lightgreen"&amp;gt;&lt;br /&gt;            &amp;lt;/FormatStyle&amp;gt;&lt;br /&gt;        &amp;lt;/ISWebGrid:WebGridFormatCondition&amp;gt;&lt;/pre&gt;
&lt;p&gt;and also using inside webgridinitilizerow method&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt; if (e.Row.Cells.GetNamedItem("VIEWED").Text == "Y")&lt;br /&gt;                    {&lt;br /&gt;                        e.Row.Cells.GetNamedItem("download").Style.BackColor = System.Drawing.Color.White;&lt;br /&gt;                        e.Row.Cells.GetNamedItem("REPORTNAME").Style.BackColor2 = System.Drawing.Color.DarkGray;&lt;br /&gt;                        e.Row.Cells.GetNamedItem("REPORTNAME").Style.BackColor = System.Drawing.Color.White;&lt;br /&gt;                    }&lt;br /&gt;                    else&lt;br /&gt;                    {&lt;br /&gt;                        e.Row.Cells.GetNamedItem("download").Style.BackColor = System.Drawing.Color.White;&lt;br /&gt;                        e.Row.Cells.GetNamedItem("REPORTNAME").Style.BackColor2 = System.Drawing.Color.LightGreen;&lt;br /&gt;                        e.Row.Cells.GetNamedItem("REPORTNAME").Style.BackColor = System.Drawing.Color.White;&lt;br /&gt;                    }&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I am getting the grid perfectly, but problem arise when i just clcik on the grid or row in the grid.&lt;/p&gt;
&lt;p&gt;The background color vanishes and come to the default white when clcik on the row.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;please let me know the solution&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&lt;/p&gt;
&lt;p&gt;ca&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>