Hello,
using the Application stylist, there is in my opinion one feature missing which would ease a lot the management of styles for the same control within one style set.
Example:
I like to organize one style for guests and different styles for logged in users of different user types. So, my styles are related to user types and login status.Today, I can only define a style set with one style setting for one control like e.g. webmenu. In order to get another style definition of this control, I need to create a new style set, so related to my requirement as described above I need to create individual style sets for each combination login status + user type.
If you like to follow a concept of having many style definitions of one control within one style set, it would be more comfortable to have different versions of control related style definitions, inheritated from one control related root style. So in my example it would perfect to have one style set with webmenu related root style definition and additional inheritated styles in order to get login status / user type related styles of the webmenu.This feature maybe well support by CSS.Is there maybe already a solution available like this?YoursStephan
Hello Stephan,
Do you have any further questions on using IE Developer Toolbar? You have to the option of changing css during at runtime.
Let me know if you have any questions with this matter. Thank you.
Sincerely,Duane HoytDeveloper Support Engineer, MCTSInfragisticshttp://es.infragistics.com/support
Hello Stephen,
Are you familiar with using IE Developer Toolbar? You also have the option to change css styles and noticing it on the fly. What browser and version do you support in your application?
Let me know if you have any questions wtih this matter.
Hello Duane,
thanks for your reply but I'm not related to change style sets at runtime. I'm more related to manage styles of one control at design time using the application stylist. I'm already aware about the property which can be used at runtime in order to switch between style sets.
As a developer, I like to use the nice WYSIWYG approach and to speed up in my development with visualizing tools like applic stylist. So it makes sense to think about organisation of versions of styles related to one control during design time.
YoursStephan
In the WebDataMenu control there's a StyleSetName propery that you can set dynamically at runtime to switch into different styles. Mainly you can create all the styles that you need and the css files get imported to the ig_res folder automatically. So for example if you would like to change from the Default styleset to Office2010Blue depending on some conditions, you can first import all the stylesets needed into the project (Each styleset will be located in the subfolder of ig_res) and then set the style set by the StyleSetName property of the control. This applied to other Infragistics controls as well.
Let me know if you have any questions with this matter.