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

Forums / General Discussions / how to call protected virtual ChoiceField SocialShareOption { get; }

how to call protected virtual ChoiceField SocialShareOption { get; }

2 posts, 0 answered
  1. Ajay
    Ajay avatar
    19 posts
    Registered:
    24 Aug 2012
    17 Jul 2013
    Link to this post
    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> 
  2. David C
    David C avatar
    33 posts
    Registered:
    02 Dec 2015
    19 Jul 2013
    Link to this post
    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
2 posts, 0 answered