3

How can I assign classes to the online/ASP.NET (not a desktop app) version of ReportViewer? I'm also intersted in using web specific formatting, e.g. ems versus ReportViewer desktop defaults such as points and inches.

firedrawndagger
  • 3,573
  • 10
  • 34
  • 51
  • Can you give more details. You use the designer to stylize your report (rdl rdlc). http://weblogs.asp.net/blogs/rajbk/image_54500E35.png – Raj Kaimal Apr 28 '10 at 13:59
  • Raj - I know I can use the designer, that's sort of the basic step that I've done and laid things out but I want to go beyond and set IDs and classes on the ReportViewer so that I could format it using CSS. – firedrawndagger Apr 28 '10 at 18:58
  • 1
    So using your image - here's an example I would like to style "Contact Title" by adding a CSS class to it - How would I do that? – firedrawndagger Apr 28 '10 at 19:07

2 Answers2

1

Nevermind, I found out the solution. By default ReportViewer generates classes for the tables - they're still pretty cryptic - "a15" and "r11" which is not exactly my idea of identifying rows/columns/tables. But I guess it's better then nothing.

firedrawndagger
  • 3,573
  • 10
  • 34
  • 51
0
KMån
  • 9,896
  • 2
  • 31
  • 41
  • Hey Kman, sorry that doesn't answer it. What I'm looking for is styling specific CELLS in the reportviewer... sorry if I didn't clarify this earlier. But the idea is to get specific and style the cells as they are laid out in the reportviewer. This is opposed to styling the table, I mean otherwise I could just copy and paste it's name off the source code that returns the aspx page. – firedrawndagger Apr 28 '10 at 19:06
  • Your second example is a private blog, which is invite only. – Tom Aug 20 '12 at 11:27