I open the Office2007Blue.isl file in the AppStylist for Windows Forms, and the grid's selected row's font displays as dark blue in the preview canvas. When I put an UltraGrid on a Windows Form and load Office2007Blue.isl using the StyleManager, the selected row's font is white. Is there something I'm doing wrong?
I am using NetAdvantage for .NET 2008 Vol. 3 CLR 2.0.
John
Hi John,
I tried this out exactly as you described and the forecolor of the selected rows is dark blue for me, not white.
Perhaps I am using a newer version of the grid than you are. Maybe there is a hot fix you can download. My Infragistics Keys and Downloads - Download Anything and Everything You Own
It is possible that there are fixes in my internal build that are not yet available in the hot fix, too. But you would have to contact Infragistics Developer Support for more information on that. I'm not aware of any bug fixes in this area that could be causing the discrepency here.
Hi Mike,
Here are the steps I go through to reproduce this. I am running on XP Pro SP 3:
1. Add an instance of UltraGrid to a C# Windows Form in Visual Studio .NET 20052. In the UltraWinGrid Quick Start window's Step 1, select the first option "Create an UltraDataSource..."3. Click DataColumns 3 times to add 3 columns4. Click Next5. In Step 2, leave the defaults and click Next6. In Step 3, set AutoFit Style to "Extend Last Column" and set Row Selectors to "Show" then click Next7. In Step 4, leave the defaults and click Next8. In Step 5, leave the defaults and click Next9. In Step 6, click Finish10. Right-click ultraDataSource1, and select "UltraDataSource Designer"11. Select Data Entry12. Add 3 rows and enter any string values in the cells13. Click OK14. In the form's Load event handler, add code to load the .isl file: Infragistics.Win.AppStyling.StyleManager.Load(@"c:\Office2007Blue.isl");15. Run the solution16. Select a row in the grid using the row selector, and the selected row's background color will be orange, but the font color will be white17. Run AppStylist for Windows Forms18. Load the same file at c:\Office2007Blue.isl19. Select the Grid tab in the preview canvas20. Select a row in the grid using the row selector, and the selected row's background color will be orange, and the font color will be dark blue
Thanks,
I just tested this out both in AppStylist an in a project with a WinGrid on a form and it works fine for me in both cases, the selected text is always Dark Blue.
Perhaps the grid in your application does not support selected rows. Have you set SelectTypeRow to None somewhere? Maybe the row is not selected, but rather Active.
Are you displaying the RowSelectors on your grid?Are you selecting the row by clicking on the row itself or the row selector? If it's the row itself, then what is your CellClickAction set to?