![]() |
|
GTP.NET FAQ 11168How do I use a CSS file with the GTP.NET? Please note that this article
refers to the GTP.NET Jump to article- 2008-03-18 21:57:00 - Email plexityHide Question How do I use a CSS file with the GTP.NET? Answer Normally you do not want to add a css of your own to change the styles of the grid since one is generated for you based on the settings of the CellLayouts. This way you can have almost the same view in WinForms and ASP.NET. The class names of the cells is taken from the names of the used CellLayout. You can choose to use an External style sheet or a style sheet section in the rendered page. This property comes into play: ExternalStyles, When setting ExternalStyles to true the css stylesheet is NOT embedded into the rendered html. Intstead you must add an attribute to the head section. You will also need to create the theganttstyles.css and you can do this by calling UpdateExternalStyles with the file name of your choice. If you leave ExternalStyles to false (default) you do not need this, but on the other hand ajax does not update the head section so under certain circumstances you can run into troubles using embedded styles. UpdateExternalStyles, When setting ExternalStyles to true the css stylesheet is NOT embedded into the rendered html. Typical scenario for when to create to the css file:
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |