Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Designing with Sitefinity > Config entry for Table Mode Download List

Config entry for Table Mode Download List

  • Posted on Mar 16, 2010 (permalink)

    Can someone tell me what's the <viewSettings> entry to get the DownloadList Table Mode external template mapped?

    I cant seem to find it in the external template Config map...

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Mar 16, 2010 (permalink)

    Hello Steve,

    You can map the control designer template for DownloadList control

    <viewSettings hostType="Telerik.Libraries.WebControls.Design.DownloadListDesigner" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Libraries/DownloadListControlDesigner.ascx" />

    Then set the template from the Presentation mode settings

    <sf:PresentationMode ID="TableMode"
    runat="server"
    ModeTitle="Table"
    ModeSettingsId="ModeSettings2"
    MasterTemplatePath="~/SomePath/DownloadListTableMode.ascx"
    SelectedCssClass="selectedOption">

    The second option is using the Advanced tab of the DownloadList and map the template by using ItemListTemplatePath property.

    Regards,
    Ivan Dimitrov
    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.

    Reply

  • Posted on Sep 16, 2011 (permalink)

    Hi Ivan,
    I notice when I do this, existing downloadList controls on the page are not affected by the newly mapped designer template.  Any new controls I add will have the customized template.  So I have to use your second option regardless, at least for existing controls.  Is there a way to force existing instance of the control to reload the designer mapping?

    Btw, thIs is on an upgrade to SF 3.7 SP4 from 3.2.

    Thanks,
    Mike

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Sep 17, 2011 (permalink)

    Hello Mike,

    You need to remove/add the control on the page or open the control for editing, change the presentation mode then save the control, open it again and switch back to the desired presentation mode.
    It could be done programatically if you have many controls if the same type, by locating the control on the page and executing the same procedures as above.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Designing with Sitefinity > Config entry for Table Mode Download List