Display interrelated module information in field selector control
I have three modules brand ,Country , offer.
In offer module I have created a field control which is currently showing the information as shown in the attached image.(its showing brand's Title,date and country's ids).
In field control I have following code in its .ascx file.
<sf:FlatSelector ID="itemsSelector" runat="server" ItemType="Telerik.Sitefinity.GenericContent.Model.Content" DataKeyNames="Id" ShowSelectedFilter="false" AllowPaging="true" PageSize="100" AllowMultipleSelection="false" 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" IsExtendedSearchField="true" 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="Country" IsExtendedSearchField="true" HeaderText='Country'> <strong>Country</strong> </sf:DataMemberInfo></DataMembers></sf:FlatSelector>Now in last column inside DataMemberInfo I have called Country which is currently displaying Guids concatenated string(can be seen in attached image) ,instead I want to display Country's Title.
Kindly suggest if a server side method can be called inside DataMemberInfo or any other workaround for that will be appreciated.