More in this section

Forums / Developing with Sitefinity / Questions on Sitefinity PollBox

Questions on Sitefinity PollBox

2 posts, 0 answered
  1. Bob Pinna
    Bob Pinna avatar
    13 posts
    10 Apr 2005
    17 Dec 2008
    Link to this post
    Developing in sitefinity and using a PollBox control.


    1. I was able to customize the layout using the TemplatePath property.  However, it was unclear how to customize the layout of the result box that is rendered.  I ended up modifying the ResultsBoxLegend.ascx and ResultsBoxNoLegend.ascs in ~/Sitefinity/ControlTemplates/Polls.  Would prefer to have created new copies however.

    2. Is the AJAX path here to wrap PollBox in an UpdatePanel?  Didn't see that it was a "native" AJAX control.

    3. Enhancement Request: My first attempt at a layout threw an exception because the required control voteInfo was not present.  I would prefer that this and the title control be optional.  I ended up wrapping them in an HTML comment to make Sitefinity happy.

    4. Enhancement Request: Would like to be able to seed the poll answer counts.

  2. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    20 Dec 2008
    Link to this post
    Hi Bob Pinna,

    Thank you for contacting us.

    We made some notes based on your feedback. This module is going to be reworked for Sitefinity 4.0. It will be based on the Generic Content concept which will make it very flexible. Basically you are right about everything you have said.

    The other way of hiding required controls is by wrapping them in special tags with display:none style. We haven't tried to AJAXify this control, but we believe there should be problems with the approach you suggested.

    Don't hesitate to contact us if you have other questions.

    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered