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

Forums / Developing with Sitefinity / IsExtendedSearchField not working on choice field in Dynamic items Field Control Selector

IsExtendedSearchField not working on choice field in Dynamic items Field Control Selector

2 posts, 1 answered
  1. kamii47
    kamii47 avatar
    71 posts
    Registered:
    02 Mar 2007
    29 Jun 2014
    Link to this post

    I have  dynamic filed selector control on which i have added datamemberinfo entry for a choice field of my dynamic module. Field is appearing fine.

    Now what i am trying is change the search from Title field to this new Choice field but it is not filtering items.

    My markup is given below with SpeakerCategory is a choice field.Please advice what to do?

    <sf:FlatSelector ID="itemsSelector" runat="server" ItemType="Telerik.Sitefinity.GenericContent.Model.Content"
                DataKeyNames="Id" ShowSelectedFilter="false" AllowPaging="false" PageSize="10" AllowMultipleSelection="true"
                AllowSearching="true" ShowProvidersList="false" InclueAllProvidersOption="true"
                SearchBoxTitleText="Filter by Title" ShowHeader="true"
        ServiceUrl="~/Sitefinity/Services/DynamicModules/Data.svc/live/">
                <DataMembers>
                    <sf:DataMemberInfo runat="server" Name="Title" HeaderText='Title'>
                        <strong>{{Title.Value}}</strong>
                    </sf:DataMemberInfo>
                    <sf:DataMemberInfo runat="server" Name="PublicationDate" HeaderText='Date'>
                        <span>{{PublicationDate ? PublicationDate.sitefinityLocaleFormat('dd MMM, yyyy') : ""}}</span>
                    </sf:DataMemberInfo>   
                    <sf:DataMemberInfo  runat="server" Name="SpeakerCategory" HeaderText='Speaker Category' IsExtendedSearchField="true">
                         {{SpeakerCategory.Text}}
                    </sf:DataMemberInfo>
                </DataMembers>
            </sf:FlatSelector


  2. kamii47
    kamii47 avatar
    71 posts
    Registered:
    02 Mar 2007
    30 Jun 2014 in reply to kamii47
    Link to this post

    I were able to work it via saving values same as text for choices. then I also have to updated the existing data of my items then it starts working

    Answered
2 posts, 1 answered