WebCombo linksettings

3 replies. Last post: July 16, 2014 2:52 AM by Hans Kristian
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
x- rookieMember

I use a webcombo in webgrid called "wc_ship_warehouse".

<ISWebCombo:WebCombo ID="wc_ship_warehouse" runat="server" DropDownRows="30" ScriptDirectory="../CommonLibrary/WebCombo/V6_0_7200/"
            SharedScriptDirectory="../CommonLibrary/Shared/" Height="30px" Width="120px"
            DataValueField="f_id" DataTextField="f_name" UseDefaultStyle="True" AllowAutoDataCaching="False" OnInitializeDataSource="wc_ship_warehouse_InitializeDataSource">
            <Columns>
                <ISWebCombo:WebComboColumn BaseFieldName="f_name" HeaderText="船舶仓库名称" Name="f_name"
                    Width="120px" />
                <ISWebCombo:WebComboColumn BaseFieldName="f_code" HeaderText="仓库位置编号" Name="f_code" Width="100px" />
                <ISWebCombo:WebComboColumn BaseFieldName="f_ship_id" Name="f_ship_id" Hidden="true" RenderOnHidden="true" />
            </Columns>
            <LinkSettings Enabled="true" ParentWebComboID="wc_user_ship" FilterDataMember="f_ship_id" />
            <LayoutSettings ResultBoxHeight="200" HelpURL="../Help/h_webcombo.html" ScriptDirectory="../CommonLibrary/WebCombo/V6_0_7200/"
                ImagesDirectory="../CommonLibrary/Images/" EnableAnimation="True" ComboMode="MultipleColumns"
                EntryMode="AutoComplete" EnableSlidingAnimation="True" ResultBoxWindowType="Normal">
            </LayoutSettings>
        </ISWebCombo:WebCombo>

I set its linksettings like this <LinkSettings Enabled="true" ParentWebComboID="wc_user_ship" FilterDataMember="f_ship_id" /> the parentWebComID "wc_user_ship" is an independent control not in this webgrid. Both these webcombos datasource is right.But When I edit the webcombo value in this webgrid,It calls an error like this:The ParentWebcombo "wc_user_ship" which this webcombo is linked to does not bound any column in this webgrid" So Please how can I solve this problem?

All times are GMT -5. The time now is 11:03 PM.
Previous Next