I used AppStylist to create a StyleSet for my grids. I saved the StyleSet in a new Style Library, then imported it into my asp.net project in Visual Studio. I set up my web.config to apply the StyleSet to all of my grids. So far, so good... I hit refresh on my page and the grid comes up with (some of) my colors/styles... but not all of them. The primary rows are transparent (so the color from the tbody shows through - in this case, the color of the header row), and have no borders. It seems like the individual cells aren't getting any css class applied.
Is there a property I need to set on my grids? Or did I create my StyleSet wrong? Anyone have any experience with this problem?
I am also facing the same problem and a lot more serious issues than that......... i try to apply my own style sheets classes to the infragistics tools but none of them are working/..............can anybody help......... i am helpless....
ResetDefaultStyles
that will remove all of these inline styles for you, and allow appstyling to work.
Hope this helps,
-SteveZ
ok i got it some what but can explain me a bit more about this that how i can aaply the css styles on the infragistics tools
or may be u can send me code of a webgrid which is styled by the css stylesheet in asp.net C#.
please this will be a great help i tried the "resetdefaultstyles" key word but donno where to use how to use........
please help........
Our help actually has quite a few topics on how to tell the Infragistics controls that they should use AppStyling:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Web_Setting_Up_Your_Project_for_Styling.html
There are actually 4 ways in which to do this:
1. On each control there are 3 properties: EnableAppStyling, StyleSetName and StyleSetPath. http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Web_Changing_StyleSets_at_the_Control_Level.html
2: You can set these properties in the Web.Config file, we actually have an AddIn that will do this for you:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Web_Enabling_Application_Styling_Using_the_NetAdvantage_Application_Styling_Configuration_Tool.html
3: There is another control called the WebPageStyler which allows you to style all the controls on a specific page.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Web_Enabling_Application_Styling_Using_the_WebPageStyler_Component.html
4. And finally, you can do this at runtime:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Web_Changing_StyleSets_at_Run_Time.html
----------------------------
So, what you'll want to do is set EnableAppStyling to True.
Then Set the StyleSetName property to the Styleset you want to apply, if no name is specified it will look for a stylset called "Default"
Then you ned to set your StyleSetPath property. Generally its a good idea to copy the styleset to your project locally. For example, if you created a folder called ig_res and put it in the root of your website, the StyleSet path would be "~/ig_res/"
i guess you are taki8ng me wrong or i am not been able to understand your point
see i have a style sheet nmkareltheme.css now as the css is there it contains the class defined by me now i want that my infragistics webgrid shud use classes from this style sheet.
I got that we can use style set but i want my own defined .css style sheet to use.
one more thing which is the better option to define skin for the infragistics or use my own .css