how to call protected virtual ChoiceField SocialShareOptio

Posted by Community Admin on 03-Aug-2018 12:23

how to call protected virtual ChoiceField SocialShareOption { get; }

All Replies

Posted by Community Admin on 17-Jul-2013 00:00

hello 


tell me how to call   protected virtual ChoiceField SocialShareOption get;

on usercontrol 

 <sfFields:ChoiceField ID="detailViewName" runat="server"
                          DataFieldName="TemplateKey"
                          DisplayMode="Write" 
                          RenderChoicesAs="DropDown" />

                            <sfFields:ChoiceField ID="socialOption" runat="server"
                         DataFieldName="CommonMasterDefinition.SocialShareOption" 
                         CssClass="sfInlineWrapper"
                         DisplayMode="Write" 
                         RenderChoicesAs="DropDown">
     <Choices>
        <sfFields:ChoiceItem Text="<%$ Resources:ContentResources, LastPublishedOnTop %>" Value="PublicationDate DESC" />
        <sfFields:ChoiceItem Text="<%$ Resources:ContentResources, LastModifiedOnTop %>" Value="LastModified DESC" />
        <sfFields:ChoiceItem Text="<%$ Resources:ContentResources, ByTitleAsc %>" Value="Title ASC" />
        <sfFields:ChoiceItem Text="<%$ Resources:ContentResources, ByTitleDesc %>" Value="Title DESC" />
        <sfFields:ChoiceItem Text="<%$ Resources:Labels, AsSetInAdvancedMode %>" Value="custom" />
     </Choices>
    </sfFields:ChoiceField> 

Posted by Community Admin on 19-Jul-2013 00:00

Hi Ajay,

Can you please confirm what you are trying to accomplish and what kind of widget/control you're using?

Regards,
David C
Telerik
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

This thread is closed