1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / How to customize results templates of PollBox ?

How to customize results templates of PollBox ?

2 posts, 1 answered
  1. Bruno Michels
    Bruno Michels avatar
    125 posts
    Registered:
    16 Apr 2010
    16 Jun 2010
    Link to this post
    I want to reduce the charts height, how can I do it?
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    17 Jun 2010
    Link to this post
    Hi Bruno Michels,

    You should download the external templates archive and map the control templates for PollBox control:
    <viewSettings hostType="Telerik.Polls.WebControls.ResultsBox" layoutTemplatePath="~/Sitefinity/ControlTemplates/Polls/ResultsBoxNoLegend.ascx" />
    <!--Gets or sets the path to a custom layout template for the PollBox control.-->
    <viewSettings hostType="Telerik.Polls.WebControls.PollBox" layoutTemplatePath="~/Sitefinity/ControlTemplates/Polls/PollBox.ascx" />
    <!--Gets or sets the path to a custom layout template for the Polls command panel.-->

    Some appearance properties can be directly set from the control's control editor while editing a page in Appearance section in Advanced mode.

    All the best,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
2 posts, 1 answered