Load CSS In Excel

in .net I have created an excel report which takes a datagrid's render output and puts it into the excel. The problem I am having is that the CSS classes that are used in the datagrid are not properly displayed because the CSS file is not loaded on the excel document. Can someone recommend a good way to go around this other than instead of using classes use hard coded style values, thanks.

Answers


I am sorry to say that I believe you will have to use inline CSS (no classes/selectors) to make this work.


Need Your Help

How do you clear your Visual Studio cache on Windows Vista?

asp.net windows visual-studio windows-vista clear-cache

I have a problem where my ASP.NET controls are not able to be referenced from the code behind files.

Does reloading / refreshing a page redownload any ajax / javascript scripts / documents?

javascript html caching scripting reload

I have a web page that loads a javascript file and a text file via Jquery's GET ajax call. My question is this: If I have a link on that page that sends you to the same page but with url variable...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.