ReportViewer & RadFormDecorator

8 posts, 0 answers
  1. Richard
    Richard avatar
    15 posts
    Member since:
    Jun 2008

    Posted 06 Feb 2009 Link to this post

    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

  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 06 Feb 2009 Link to this post

    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.
  3. DevCraft banner
  4. Richard
    Richard avatar
    15 posts
    Member since:
    Jun 2008

    Posted 06 Feb 2009 Link to this post

    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
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 06 Feb 2009 Link to this post

    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.
  6. Richard
    Richard avatar
    15 posts
    Member since:
    Jun 2008

    Posted 06 Feb 2009 Link to this post

    Hi
    Thanks anyway, as a bonus i would still like the report viewer to inherit the skin from a RadFormDecorator
    Regards,

    Richard C
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 06 Feb 2009 Link to this post


    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.
  8. Blake
    Blake avatar
    1 posts
    Member since:
    Dec 2008

    Posted 12 Nov 2009 Link to this post

    Has styling the parameters area of the report viewer been addressed in the 2009 3rd quarter release?  If not when will it be addressed?
  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 13 Nov 2009 Link to this post

    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.
Back to Top
DevCraft banner