This is a migrated thread and some comments may be shown as answers.

ReportViewer & RadFormDecorator

7 Answers 150 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 06 Feb 2009, 01:25 PM
Hi

I would like the RadFormDecorator to skin the reportviewer , i have managed to implement a custom skin and custom css for the viewer but i am unable to style all aspects of the control. Can you please inform me how i can style to following;

PreviewButton
Change the text (to be "Refresh" ) and skin to RadFormDecorator style  (Black... etc )
Parameters Panel
apply a background image
Parameters Drop Down List Box
Change skin to RadFormDecorator style
Report Viewer Scroll Bar
Change skin to RadFormDecorator style

Please see Pic1 below for an example

The odd thing is that the Drop Down List Box scroll bars are affected by the RadFormDecorator style  but nothing else ( please see pic2 below )


Pic1
pic2

Regards,

Richard C

7 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 06 Feb 2009, 02:07 PM
Hi Richard,

At this point using the RadFormDecorator to style the Web ReportViewer control is not possible. The parameters area is not exposed to any customization unless you apply global styles that would affect all html elements on the page. If you need a customized parameter area, you would need to prepare your own UI - this video sheds more light on the matter or view the source of the Viewer on the page and the classes that are applied and override them.

Regards,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Richard
Top achievements
Rank 1
answered on 06 Feb 2009, 03:08 PM
Hi Steve

Many thanks for you reply, could you p[lease give me an example of overriding the Telerik.ReportViewer.WebForms.ParametersArea and the Preview Button.

Many thanks,

Richard C
0
Steve
Telerik team
answered on 06 Feb 2009, 03:36 PM
Hello Richard,

Actually this proved to be pretty hard to do as well, because the ReportViewer's report and parameters areas are actually in separate iframes and accessing those controls and applying external css into iframes is not a trivial task and requires quite a few ugly javascript hacks.
We've logged this as feature request to our TODO list and would think of a way to have the parameters area as part of the page where the viewer resides.

Sorry for the temporary inconvenience.

Regards,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Richard
Top achievements
Rank 1
answered on 06 Feb 2009, 03:48 PM
Hi
Thanks anyway, as a bonus i would still like the report viewer to inherit the skin from a RadFormDecorator
Regards,

Richard C
0
Steve
Telerik team
answered on 06 Feb 2009, 04:10 PM

Sure thing Richard, we would see what we can do about this as well. Your Telerik points have been updated for bringing this to our attention.

Sincerely yours,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Blake
Top achievements
Rank 1
answered on 12 Nov 2009, 05:34 PM
Has styling the parameters area of the report viewer been addressed in the 2009 3rd quarter release?  If not when will it be addressed?
0
Steve
Telerik team
answered on 13 Nov 2009, 09:15 AM
Hello Blake,

We have not had a time to research on that since there are other pending tasks with higher priority and providing your own UI for the parameters is pretty easy "workaround".

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Richard
Top achievements
Rank 1
Answers by
Steve
Telerik team
Richard
Top achievements
Rank 1
Blake
Top achievements
Rank 1
Share this question
or