I'm trying to create a custom style using the AppStylist for ASP.NET (version 10.2.20102.2040), but when I rename a style, it gets messed up. It looses all the colors, fonts are being changed etc.
What I do is the following: Create a new library based on RedPlanet. Alter some settings of the WebDataGrid, go to "Manage Stylesets", rename the style and watch all the colors disappear.
Am I missing something or is this a bug?
Hello Pieter,
I'm not sure what really happens in your side, I guess that under rename you mean not only a particular style from a given styleset, also its root folder containing the css styles. Let suppose that you load the custom styleset from ig_res folder in order to refer it in your app per control basis you need to set the StylesetName property with the name of the folder residing in ig_res folder.
As a good explanation of all those things about styling our controls I would point this out ASF.
Hope this helps.
My problem occurs in the AppStylist appliction, so not in my own webpages or someting. So all the steps I describe above, are done in the AppStylist appliction only.
I wanted to create some screenshots for you, but then I noticed that this behaviour only occurs with the WebDataGrid control. So I took a screenshot of that control (screenshots are taken from the AppStylist application). On the left you can see the standaard RedPlanet WebDataGrid, on the right you see the same control when the style is renamed to "RedPlanet2" (please note that I combined the two grids/screenshots into one image).
I didn't check all of the other controls, but they all seem to remain the "red color layout".