how to call protected virtual ChoiceField SocialShareOption { get; }
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>
Hi Ajay,
Can you please confirm what you are trying to accomplish and what kind of widget/control you're using?
Regards,