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

Forums / Developing with Sitefinity / Showing checkboxes in client side

Showing checkboxes in client side

7 posts, 1 answered
  1. Luke Horan
    Luke Horan avatar
    20 posts
    Registered:
    02 May 2010
    15 Jul 2010
    Link to this post
    Hi, For some reason I cannot get the checkboxes that I have in the admin side to show if they are checked in the client side of sitefinity all the other details on the page come thru except the checkboxes. What am I missing??

    I've tried using an eval and bind on the checked and also trying to get something to get the values to display in a literal.

    client side code

        <table ><tr><td>
                 <asp:CheckBox CssClass="dixonACB" Enabled="false" ID="cbFinance" TextAlign="Left" Text="<%$Resources:Finance%>" runat="server"></asp:CheckBox>
    </td>
     <td><asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbSMSF"  TextAlign="Left"  Text="<%$Resources:SMSF%>" runat="server"></asp:CheckBox>
    </td></tr>
    <tr><td>
    <asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbInvestment"  TextAlign="Left" Text="<%$Resources:Investment%>" runat="server"></asp:CheckBox>
    </td>
    <td><asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbLegal"  TextAlign="Left" Text="<%$Resources:LegalAdvice%>" runat="server"></asp:CheckBox>
    </td></tr>
    <tr><td>
    <asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbProperty"  TextAlign="Left" Text="<%$Resources:Property%>" runat="server"></asp:CheckBox>
    </td>
    <td><asp:CheckBox  CssClass="dixonACB" Enabled="false"  Enabled="false"  ID="cbMortgage"  TextAlign="Left" Text="<%$Resources:Mortgage%>" runat="server"></asp:CheckBox>
    </td></tr>
    <tr><td>
    <asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbEstate"  TextAlign="Left" Text="<%$Resources:Estate%>" runat="server"></asp:CheckBox>
    </td>
    <td><asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbTax"  TextAlign="Left" Text="<%$Resources:Tax%>" runat="server"></asp:CheckBox>
    </td></tr></table>


    Code in web.config
    <add key="Profile.cbFinance" valueType="Boolean" visible="True" searchable="False" sortable="False" defaultValue="False" />
    <add key="Profile.cbSMSF" valueType="Boolean" visible="True" searchable="False" sortable="False" defaultValue="False" />
    <add key="Profile.cbInvestment" valueType="Boolean" visible="True" searchable="False" sortable="False" defaultValue="False" />
    <add key="Profile.cbLegal" valueType="Boolean" visible="True" searchable="False" sortable="False" defaultValue="False" />
    <add key="Profile.cbProperty" valueType="Boolean" visible="True" searchable="False" sortable="False" defaultValue="False" />
    <add key="Profile.cbMortgage" valueType="Boolean" visible="True" searchable="False" sortable="False" defaultValue="False" />
    <add key="Profile.cbEstate" valueType="Boolean" visible="True" searchable="False" sortable="False" defaultValue="False" />
    <add key="Profile.cbTax" valueType="Boolean" visible="True" searchable="False" sortable="False" defaultValue="False" />
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    15 Jul 2010
    Link to this post
    Hi Luke Horan,

    As far as I see these are Profile properties. You need to set the value of these CheckBoxes manually by using ProfileBase class and call GetPropertValue and SetPropertyValue
    You could try to wrap your checkboxes inside ManageProfile control which should automatically persist and get the values of your control.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Luke Horan
    Luke Horan avatar
    20 posts
    Registered:
    02 May 2010
    15 Jul 2010
    Link to this post
    Hi Ivan,
    Thanks for the reply but I don't think it's the answer i'm looking for.

    this is just a standard custom module that i've named profile not related to the ProfileBase for a membership.
    it's a similar problem to what's in this link but with checkboxes
    http://www.sitefinity.com/help/developer-manual/how-to-gc-based-add-custom-meta-fields.html

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    15 Jul 2010
    Link to this post
    Hi Luke Horan,

    Could you check whether your metakeys are added inside ContentMetaFields control. If there are outside of it the values will not be persisted.

    If the "client side" means front end - the public control that you use to show your items, you have to create a public control and template for it that will get the values you want. If you have a public control that inherits from ContentView the control will display only metakeys of the following type

    ShortText
    LongText
    DateTime

    For each other type you have to override SetItemMetadata and SetSingleItemContent and set the values.

    sample

    protected virtual void SetItemMetadata(Control itemContainer, IContent contentItem)
           {
                base.SetItemMetadata(itemContainer, contentItem);
               foreach (IMetaInfo info in Manager.MetaKeys.Values)
               {
                   Control ctrl = FindContentViewControl(info.Key, itemContainer);
                   if (ctrl != null)
                   {
                       switch (info.ValueType)
                       {
                           case MetaValueTypes.Boolean:
                           if(ctrl is ICheckBoxControl)
                            {
                                   obj = (bool)contentItem.GetMetaData(info.Key);
                                   if (obj != null)
                                   {
                                       ((ICheckBoxControl)ctrl).Checked = obj;
                                   }
                              }
                             break;
                             .....
                                    .....
                       }
     
               }
       }


    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  5. Luke Horan
    Luke Horan avatar
    20 posts
    Registered:
    02 May 2010
    15 Jul 2010
    Link to this post
    Hi Ivan,

    Yes in the admin side shown below they are in a contentmetafield and are persisted in the db in the sf_vrstxtdata table              
    <%@ Control Language="C#" %>
    <%@ Register TagPrefix="radTS" Namespace="Telerik.WebControls" Assembly="RadTabStrip.NET2" %>
    <%@ Register TagPrefix="sfVrs" Namespace="Telerik.Versioning.WebControls" Assembly="Telerik.Versioning" %>
    <%@ Register TagPrefix="sfGCn" Namespace="Telerik.Cms.Engine.WebControls" Assembly="Telerik.Cms.Engine" %>
    <%@ Register TagPrefix="sfMsg" Namespace="Telerik.Cms.Web.UI" Assembly="Telerik.Cms.Web.UI" %>
    <%@ Register TagPrefix="sfLoc" Namespace="Telerik.Localization.WebControls" Assembly="Telerik.Localization" %>
    <%@ Register TagPrefix="sfWrk" Namespace="Telerik.Workflow.WebControls" Assembly="Telerik.Workflow" %>
    <%@ Register TagPrefix="sfTag" Namespace="Telerik.Cms.Engine.WebControls.Tags" Assembly="Telerik.Cms.Engine" %>
    <%@ Register TagPrefix="sfCtg" Namespace="Telerik.Cms.Engine.WebControls.Categories" Assembly="Telerik.Cms.Engine" %>
    <div class="ToolsAll">
     
        <asp:Label ID="lockedWarning" runat="server">
        <p class="locked"><strong>{0}</strong> <asp:Literal runat="server" Text="<%$Resources:IsEditingContent %>"></asp:Literal></p>
        </asp:Label>
        <div class="backWrapp">
            <asp:LinkButton runat="server" ID="backButton" CausesValidation="false" CssClass="actions back"><asp:Literal runat="server" Text="<%$Resources:BackToAllItems %>"></asp:Literal></asp:LinkButton>
        </div>
        <telerik:RadTabStrip ID="tabStrip" Align="Right" runat="server" EnableEmbeddedSkins="false"
            Skin="SitefinityPages" SelectedIndex="0" CausesValidation="false">
            <Tabs>
                <telerik:RadTab Text="<%$Resources:View %>">
                </telerik:RadTab>
                <telerik:RadTab Text="<%$Resources:Edit %>">
                </telerik:RadTab>
                <telerik:RadTab Text="<%$Resources:History %>">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
     
        <div class="clear">
            <!-- -->
        </div>
    </div>
    <div id="divWorkArea" runat="server" class="workArea">
        <telerik:RadMultiPage ID="multiPage" runat="server" SelectedIndex="0">
            <telerik:RadPageView runat="server" ID="ViewPage">
                <sfMsg:MessageControl runat="server" ID="message1">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="messageText"></asp:Label>
                    </ItemTemplate>
                </sfMsg:MessageControl>
                <div class="view">
                    <p class="button_area">
                        <sfWrk:WorkflowMenu ID="workflowMenu" runat="server" />
                        <asp:LinkButton ID="editCommand1" runat="server" CssClass="CmsButLeft editdark">
                            <strong class="CmsButRight dark">
                                <asp:Literal ID="editLiteral" runat="server" Text="<%$Resources:EditThisItem %>"></asp:Literal>
                            </strong>
                        </asp:LinkButton>
                    </p>
                    <div class="setW clearfix">
                        <div class="setInW clearfix">
                            <div class="viewIn">
                                <h1 class="viewHead">
                                    <asp:Literal ID="lblItemName" runat="server"></asp:Literal></h1>
                                <sfGCn:GenericContent ID="contentView" runat="server" />
                            </div>
                            <div class="details">
                                <h3>
                                    Details</h3>
                                <dl>
                                    <asp:Repeater ID="repeaterItemMetaData" runat="server">
                                        <ItemTemplate>
                                            <dt>
                                                <asp:Literal ID="lblKey" runat="server"></asp:Literal>
                                            </dt>
                                            <dd>
                                                <asp:Literal ID="lblValue" runat="server"></asp:Literal>
                                            </dd>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </dl>
                                 
                            </div>
                        </div>
                    </div>
                    <div class="bottomW">
                        <div>
                            <!-- -->
                        </div>
                    </div>
                </div>
                <div class="info">
                    <div class="infoBottom">
                         <div id="divViewFaq" runat="server">
                            <h3>
                                <asp:Literal runat="server" Text="<%$Resources:GenericContentFAQ %>"></asp:Literal>
                            </h3>
                            <asp:Literal runat="server" Text="<%$Resources:GenericContentFAQText %>"></asp:Literal>
                            <p class="hideAllFAQs">
                                <a href="javascript:void(0)" onclick="javascript:Personalization.hideFaqSection('<%= divViewFaq.ClientID %>')">
                                    Hide FAQs everywhere</a>
                            </p>
                        </div>
                    </div>
                </div>
            </telerik:RadPageView>
            <telerik:RadPageView runat="server" ID="EditPage">
                <sfMsg:MessageControl runat="server" ID="MessageControl1">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="messageText"></asp:Label>
                    </ItemTemplate>
                </sfMsg:MessageControl>
                <div class="mainForm">
                    <p class="button_area top">
                        <asp:LinkButton ID="saveButton1" runat="server" CssClass="CmsButLeft okdark"><strong class="CmsButRight dark"><asp:Literal runat="server" Text="<%$Resources:SaveChanges %>"></asp:Literal></strong></asp:LinkButton>
                        <span id="Span1" runat="server">
                            <asp:Literal runat="server" Text="<%$Resources:Or %>"></asp:Literal></span>
                        <asp:LinkButton ID="cancelButton1" Text="<%$Resources:Cancel %>" runat="server" CssClass="cmscclcmd"
                            CausesValidation="false"><asp:Literal runat="server" Text="<%$Resources:Cancel %>"></asp:Literal></asp:LinkButton>
                    </p>
                    <p class="mand">
                        *
                        <asp:Literal ID="Literal5" runat="server" Text="<%$Resources:MandatoryFields %>"></asp:Literal></p>
             <h3>
                <asp:Label ID="lblName" AssociatedControlID="Name" runat="server">
                    <asp:Literal ID="Literal2" runat="server" Text="<%$Resources:Name %>"></asp:Literal>
                    * <em id="NameLabel" runat="server"></em></asp:Label></h3>
            <fieldset class="set">
                <div class="setIn title">
                    <asp:TextBox ID="Name" Text="<%$Resources:NameInput %>" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="validator1" runat="server" ControlToValidate="Name"
                        Display="Dynamic" EnableViewState="False" CssClass="validMessage" SetFocusOnError="True">
                        <strong>
                            <asp:Literal ID="Literal4" runat="server" Text="<%$Resources:NameEmpty %>"></asp:Literal></strong></asp:RequiredFieldValidator>
                </div>
            </fieldset>
         
        <asp:ValidationSummary id="valSummary" runat="server"
        HeaderText="Errors:"
        ShowSummary="true" DisplayMode="List" />
     
                    <sfGCn:ContentMetaFields ID="editMetaFields" runat="server">
                        <ItemTemplate>
                            <fieldset class="set">
                       <div class="setIn">
                            <ol>
                                <li>
                                        <asp:Label ID="lblJobTitle" AssociatedControlID="JobTitle" runat="server" Text='<%$Resources:JobTitle%>' />
                                        <asp:TextBox ID="JobTitle" runat="server"></asp:TextBox>
                                         <asp:RequiredFieldValidator ID="rfvJobTitle" runat="server" ControlToValidate="JobTitle" ErrorMessage='<%$Resources:JobTitleEmpty %>' Text='<%$Resources:JobTitleEmpty %>' Display="Dynamic"></asp:RequiredFieldValidator>
                               </li>
                                <li>
                                   <asp:Label ID="lblPhoto" AssociatedControlID="Photo" runat="server"><asp:Literal ID="Literal24" runat="server" Text="Photo"></asp:Literal> <em id="Em2" runat="server"></em></asp:Label>
                                    <asp:TextBox ID="Photo" runat="server" />
                                    <sf:ButtonSelector ID="imainImageSelector" runat="server" AssociatedControls="Photo" />
                                </li>
                                 <li>
                                        <asp:Label ID="lblEmailAddress" AssociatedControlID="EmailAddress" runat="server" Text='<%$Resources:EmailAddress%>' />
                                        <asp:TextBox ID="EmailAddress" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator id="valRegEx" runat="server"
                                            ControlToValidate="EmailAddress"
                                            ValidationExpression=".*@.*\..*"
                                            ErrorMessage="* Your entry is not a valid e-mail address."
                                            display="dynamic">*
                                        </asp:RegularExpressionValidator>                          
                                 </li>
                                 <li>
                                        <asp:Label ID="lblPhoneNumber" AssociatedControlID="PhoneNumber" runat="server" Text='<%$Resources:PhoneNumber%>' />
                                        <asp:TextBox ID="PhoneNumber" runat="server"></asp:TextBox>
                                </li>
                                <li>
                                        <asp:Label ID="lblOffice" AssociatedControlID="Office" runat="server" Text='<%$Resources:Office%>' />
                                        <asp:TextBox ID="Office" runat="server"></asp:TextBox>
                                </li>
                                <li>
                                        <asp:Label ID="lblState" AssociatedControlID="State" runat="server" Text='<%$Resources:State%>' />
                                   <asp:DropDownList ID="State" runat="server">
                                    <asp:ListItem Text="" Value=""></asp:ListItem>
                                    <asp:ListItem Text="ACT" Value="ACT"></asp:ListItem>
                                    <asp:ListItem Text="NSW" Value="NSW"></asp:ListItem>
                                    <asp:ListItem Text="NT" Value="NT"></asp:ListItem>
                                    <asp:ListItem Text="QLD" Value="QLD"></asp:ListItem>
                                    <asp:ListItem Text="SA" Value="SA"></asp:ListItem>
                                    <asp:ListItem Text="TAS" Value="TAS"></asp:ListItem>
                                    <asp:ListItem Text="VIC" Value="VIC"></asp:ListItem>
                                    <asp:ListItem Text="WA" Value="WA"></asp:ListItem>
                                    </asp:DropDownList>
                                </li>
                                <li>
                                        <asp:Label ID="lblServiceAreas" AssociatedControlID="areasofService" runat="server" Text='<%$Resources:ServiceAreas%>'/>
                                        <div runat="server" id="areasofService">
                                        <table ><tr><td>
                                            <asp:CheckBox CssClass="dixonACB" ID="cbFinance" TextAlign="Left" Text="<%$Resources:Finance%>" runat="server"></asp:CheckBox>
                                            </td>
                                            <td><asp:CheckBox  CssClass="dixonACB"  ID="cbSMSF"  TextAlign="Left"  Text="<%$Resources:SMSF%>" runat="server"></asp:CheckBox>
                                            </td></tr>
                                            <tr><td>
                                            <asp:CheckBox  CssClass="dixonACB" ID="cbInvestment"  TextAlign="Left" Text="<%$Resources:Investment%>" runat="server"></asp:CheckBox>
                                            </td>
                                            <td><asp:CheckBox  CssClass="dixonACB" ID="cbLegal"  TextAlign="Left" Text="<%$Resources:LegalAdvice%>" runat="server"></asp:CheckBox>
                                            </td></tr>
                                            <tr><td>
                                            <asp:CheckBox  CssClass="dixonACB" ID="cbProperty"  TextAlign="Left" Text="<%$Resources:Property%>" runat="server"></asp:CheckBox>
                                            </td>
                                            <td><asp:CheckBox  CssClass="dixonACB" ID="cbMortgage"  TextAlign="Left" Text="<%$Resources:Mortgage%>" runat="server"></asp:CheckBox>
                                            </td></tr>
                                            <tr><td>
                                            <asp:CheckBox  CssClass="dixonACB" ID="cbEstate"  TextAlign="Left" Text="<%$Resources:Estate%>" runat="server"></asp:CheckBox>
                                            </td>
                                            <td><asp:CheckBox  CssClass="dixonACB" ID="cbTax"  TextAlign="Left" Text="<%$Resources:Tax%>" runat="server"></asp:CheckBox>
                                        </td></tr></table>
                                        </div>
                                </li>
                                <li>
                                        <asp:Label ID="lblBioExtract" AssociatedControlID="BioExtract" runat="server" Text='<%$Resources:BioExtract %>'/>
                                        <asp:TextBox ID="BioExtract" Rows="3" TextMode="MultiLine" MaxLength="200" runat="server"></asp:TextBox>
                                </li>
                                <li>
                                        <asp:Label ID="lblBio" AssociatedControlID="Bio" runat="server" Text='<%$Resources:Bio %>'/>
                                        <asp:TextBox ID="Bio" Rows="6" TextMode="MultiLine" runat="server"></asp:TextBox>
                                </li>
                                <li>
                                        <asp:Label ID="lblEmployee" AssociatedControlID="IsEmployee" runat="server" Text='<%$Resources:Employee%>'/>
                                        <asp:CheckBox ID="IsEmployee" runat="server"></asp:CheckBox>
                                </li>
                            </ol>
                        </div>
                            </fieldset>
     
                    </ItemTemplate>
                    </sfGCn:ContentMetaFields>
                    <div class="bottom bot">
                        <div>
                            <!-- -->
                        </div>
                    </div>
                    <p class="button_area bot">
                        <asp:LinkButton ID="saveButton2" runat="server" CssClass="CmsButLeft okdark"><strong class="CmsButRight dark"><asp:Literal runat="server" Text="<%$Resources:SaveChanges %>"></asp:Literal></strong></asp:LinkButton>
                        <span id="Span2" runat="server">
                            <asp:Literal runat="server" Text="<%$Resources:Or %>"></asp:Literal></span>
                        <asp:LinkButton ID="cancelButton2" Text="<%$Resources:Cancel %>" runat="server" CssClass="cmscclcmd"
                            CausesValidation="false"><asp:Literal runat="server" Text="<%$Resources:Cancel %>"></asp:Literal></asp:LinkButton>
                    </p>
                </div>
                <div class="info" id="divEditFaq" runat="server">
                    <div class="infoBottom">
                        <h3>
                            <asp:Literal runat="server" Text="<%$Resources:GenericContentFAQ %>"></asp:Literal></h3>
                        <asp:Literal runat="server" Text="<%$Resources:GenericContentFAQText %>"></asp:Literal>
                        <p class="hideAllFAQs">
                            <a href="javascript:void(0)" onclick="javascript:Personalization.hideFaqSection('<%= divEditFaq.ClientID %>')">
                                Hide FAQs everywhere</a>
                        </p>
                    </div>
                </div>
            </telerik:RadPageView>
        </telerik:RadMultiPage>
        <div class="clear">
            <!-- -->
        </div>
    </div>


    yes I mean the font end when talking client side, and  i've tried them in a contentmetafield and also outside but can't get any value to return to the checkbox even setting the checkbox items to try and display the output in a literal.


    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="ContentViewSingleItem.ascx.cs" Inherits="Sitefinity_ControlTemplates_OurPeople_ContentViewSingleItem" %>
    <%@ Register Assembly="Telerik.Cms.Engine" Namespace="Telerik.Cms.Engine.WebControls" TagPrefix="sfWeb" %>
    <%@ Register Assembly="Telerik.Cms.Web.UI" Namespace="Telerik.Cms.Web.UI" TagPrefix="sfCtrl" %>
    <%@ Register Assembly="Telerik.Cms.Web.UI" Namespace="Telerik.Web.UI.SpamProtection" TagPrefix="sfWeb" %>
    <%@ Register Assembly="Telerik.Cms.Web.UI" Namespace="Telerik.Cms.Web.UI" TagPrefix="sfWeb" %>
    <%@ Register TagPrefix="sfGCn" Namespace="Telerik.Cms.Engine.WebControls" Assembly="Telerik.Cms.Engine" %>
    <%@ Register Src="~/sitefinity/ControlTemplates/OurPeople/OurPeopleImage.ascx" TagName="OurPepsImage" TagPrefix="agmCN" %>
    <%@ Register Src="~/sitefinity/ControlTemplates/OurPeople/ServiceAreas.ascx" TagName="ServAreas" TagPrefix="agmCN" %>
     
    <div class="DixonEmployeeControl">
     
    <div class="sf_singleContent">
        <p class="sf_back">
           <asp:HyperLink ID="backToList1" Text="<%$Resources:GoBack %>" runat="server"></asp:HyperLink>
        </p>
        <asp:Panel ID="pnlContent" runat="server" CssClass="sf_genericContent">
            <asp:Literal ID="content" runat="server"></asp:Literal>
        </asp:Panel>
      <div id="ourPeopleDetails" class="ourPeopleDetails">
     
        <h2 class="sf_contentTitle">
                       <asp:Literal ID="Name" runat="server"></asp:Literal>
        </h2>
       
        <h3 class="sf_contentTitle">
                       <asp:Literal ID="JobTitle" runat="server"></asp:Literal>
        </h3>
     
     
               <p class="sf_contentDate">
                 
               </p>
               <p class="sf_contentDate">
                    <asp:Literal ID="Bio" runat="server"></asp:Literal>
                </p>
               <p class="sf_contentDate">
                 
               </p>
                <p class="sf_contentDate">
                    <asp:Literal ID="Literal1" Text="<%$Resources:PhoneNumber %>" runat="server"></asp:Literal>
                    <asp:Literal ID="PhoneNumber" runat="server"></asp:Literal>
     
                    <asp:Literal ID="Literal2" runat="server"> | </asp:Literal>
                    <asp:Literal ID="Literal3" Text="<%$Resources:Office%>" runat="server"></asp:Literal>
                    <asp:Literal ID="Office" runat="server"></asp:Literal>
                </p>
     
                 
               <p class="sf_contentBoolean">
                 
               </p>
                     <sfGCn:ContentMetaFields ID="viewMetaFields" runat="server">
                        <ItemTemplate>
                            <fieldset class="set">
                                       <asp:Label ID="lblServiceAreas" AssociatedControlID="areasofService" runat="server" Text='<%$Resources:ServiceAreas%>'/>
                                        <div runat="server" id="areasofService">
                                        <table ><tr><td>
                                            <asp:CheckBox CssClass="dixonACB" Enabled="false" ID="cbFinance" TextAlign="Left" Text="<%$Resources:Finance%>" runat="server"></asp:CheckBox>
                                            </td>
                                            <td><asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbSMSF"  TextAlign="Left"  Text="<%$Resources:SMSF%>" runat="server"></asp:CheckBox>
                                            </td></tr>
                                            <tr><td>
                                            <asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbInvestment"  TextAlign="Left" Text="<%$Resources:Investment%>" runat="server"></asp:CheckBox>
                                            </td>
                                            <td><asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbLegal"  TextAlign="Left" Text="<%$Resources:LegalAdvice%>" runat="server"></asp:CheckBox>
                                            </td></tr>
                                            <tr><td>
                                            <asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbProperty"  TextAlign="Left" Text="<%$Resources:Property%>" runat="server"></asp:CheckBox>
                                            </td>
                                            <td><asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbMortgage"  TextAlign="Left" Text="<%$Resources:Mortgage%>" runat="server"></asp:CheckBox>
                                            </td></tr>
                                            <tr><td>
                                            <asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbEstate"  TextAlign="Left" Text="<%$Resources:Estate%>" runat="server"></asp:CheckBox>
                                            </td>
                                            <td><asp:CheckBox  CssClass="dixonACB" Enabled="false"  ID="cbTax"  TextAlign="Left" Text="<%$Resources:Tax%>" runat="server"></asp:CheckBox>
                                        </td></tr></table>
                                        </div>
    </fieldset></ItemTemplate></sfGCn:ContentMetaFields>
    </div>
        <div id="ourPeopleImage" class="ourPeopleImage">
                    <agmCN:OurPepsImage ID="Photo" runat="server" > </agmCN:OurPepsImage>               
      </div>
     
    </div>
    </div>


  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    15 Jul 2010
    Link to this post
    Hi Luke Horan,

    For each other type you have to override SetItemMetadata and SetSingleItemContent and set the values.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Luke Horan
    Luke Horan avatar
    20 posts
    Registered:
    02 May 2010
    15 Jul 2010
    Link to this post
    sorry i missed that bottom bit.

    Thanks that worked. you are a champ.
Register for webinar
7 posts, 1 answered