iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
hi,
I have a webgrid , where i have changed the background using the below code
<FormatConditions> <ISWebGrid:WebGridFormatCondition ColumnMember="VIEWED" ConditionText="Y" Name="WebGridFormatCondition0"> <FormatStyle BackColor="white" BackColor2="darkgray"> </FormatStyle> </ISWebGrid:WebGridFormatCondition> <ISWebGrid:WebGridFormatCondition ColumnMember="VIEWED" ConditionText="N" Name="WebGridFormatCondition0"> <FormatStyle BackColor="white" BackColor2="lightgreen"> </FormatStyle> </ISWebGrid:WebGridFormatCondition>
and also using inside webgridinitilizerow method
if (e.Row.Cells.GetNamedItem("VIEWED").Text == "Y") { e.Row.Cells.GetNamedItem("download").Style.BackColor = System.Drawing.Color.White; e.Row.Cells.GetNamedItem("REPORTNAME").Style.BackColor2 = System.Drawing.Color.DarkGray; e.Row.Cells.GetNamedItem("REPORTNAME").Style.BackColor = System.Drawing.Color.White; } else { e.Row.Cells.GetNamedItem("download").Style.BackColor = System.Drawing.Color.White; e.Row.Cells.GetNamedItem("REPORTNAME").Style.BackColor2 = System.Drawing.Color.LightGreen; e.Row.Cells.GetNamedItem("REPORTNAME").Style.BackColor = System.Drawing.Color.White; }
I am getting the grid perfectly, but problem arise when i just clcik on the grid or row in the grid.
The background color vanishes and come to the default white when clcik on the row.
please let me know the solution
thanks and regards
ca
i have solved the probelm, by changing the defaultstylemode from win7 to Elegant.
The problem still exist for win7 style.
This relates to a problem I have been working. Has this been fixed in WebGrid version 8?
Hi Randy,
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.
Regards,
Bernard
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname