Multiselector Clear and DataBind.

  1. #1

    Multiselector Clear and DataBind.

    Hi.. I Have this MultiSelector:
                    <ext:MultiSelector runat="server" ID="mlFilial" Width="500" Height="150" Title="Filiais" FieldName="csiglafilia">
                        <Store>
                            <ext:Store ID="dsFilialEscolhida" runat="server" ModelName="mdsFilial" />
                        </Store>
                        <ViewConfig DeferEmptyText="false" EmptyText="Nenhum selecionado" />
                        <Search>
                            <ext:MultiSelectorSearch runat="server" Field="csiglafilia" Width="350">
                                <SearchGridConfig runat="server" BufferedRenderer="false" />
                                <Store>
                                    <ext:Store ID="dsFilial" runat="server" ModelName="mdsFilial">
                                    </ext:Store>
                                </Store>
                            </ext:MultiSelectorSearch>
                        </Search>
                    </ext:MultiSelector>
    And in a combo I have the call to this procedure in the event change:
            public void CarregaFiliais()
            {
                try
                {
                    mlFilial.Values.Clear();
                    daoCFGEMPRE dao = new daoCFGEMPRE();
                    dsFilial.DataSource = dao.listaFilial(int.Parse(cbEmpresa.Value.ToString()), "");
                    mlFilial.GetStore().DataBind();
                }
                catch { }
            }
    I've tried other events in multi, but it does not reload the search correctly.

    Tks.
  2. #2
    Can anybody help me?

Similar Threads

  1. [CLOSED] Set FieldLabel for MultiSelector
    By speedstepmem4 in forum 3.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 18, 2015, 6:56 AM
  2. why can not DataBind?
    By diywindow in forum 1.x Help
    Replies: 7
    Last Post: Dec 09, 2010, 8:50 AM
  3. [CLOSED] Problem with DataBind
    By tiramisu in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 14, 2010, 6:51 PM
  4. Replies: 0
    Last Post: Sep 01, 2010, 8:39 PM
  5. Databind AjaxEvents
    By leroylll in forum 1.x Help
    Replies: 0
    Last Post: May 22, 2010, 2:13 PM

Posting Permissions