SSRS Custom Renderer - Table Header Column Style Issue
I have built a custom renderer whose purpose is to output the report in the same format displayed after running the report in MSWord. I have a renderer working for the most part but the style of the table headers doesn't seem to retrieving correctly.the example is a report is rendered with a table with 5 columns and x rows. the column headers have a blue background and while lettering.i'm using the style class and the reportitem.style on the table cell to populate the style class then output the html style from the class. this appears to work correctly except for the header cells which always end up with a black background. the text and font are retrieved correctly the issue appears to only be with styles.any input is appreciated.bob
April 1st, 2009 8:50am

Hi Bob - just a guess, but you might want to check if you are referencing a definition or instance objects. If the style property is the same for every occurance of a say a textbox, then the property should be pulled from the TextBox defintion object. However, if it's an expression / varies per instance of each textbox then the property needs to be referenced from the TextBox instance syle object. To be safe you could always check the instance, if thats null then check the definition. -JonHPMicrosoft SQL Server Reporting Services
Free Windows Admin Tool Kit Click here and download it now
April 2nd, 2009 3:41am

I have just posted a similar issue @ http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/84128de5-17b6-4666-947e-8e24177de936 I am doing exactly as you mention using the instance style and falling back on the base style collection but I am still hitting this issue. Bob, did you find a solution?
March 5th, 2011 10:14am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics