PDA

View Full Version : get the selecteditems of a combobox created dynamically



gmarcinari
May 21, 2015, 8:45 PM
I'm trying this way, but without success.

Estou tentando desta forma, sem sucesso.





public void onClickFiltrar(object sender, DirectEventArgs e)
{
string idStore = e.ExtraParams["store"];
string idPanel = e.ExtraParams["topBarGrafico"];
string idCbbAgrupamento = e.ExtraParams["cbbAgrupamento"];
BuscarDadosDocumentosDashboard(idStore, idPanel, idCbbAgrupamento);

}

public void BuscarDadosDocumentosDashboard(string idCbbAgrupamento)
{
Ext.Net.ListItemCollection list = new Ext.Net.ListItemCollection();

list = X.GetCmp<Ext.Net.ComboBox>(idCbbAgrupamento).SelectedItems;
}



he does not return anything on my list.

Daniil
Jun 17, 2015, 1:45 PM
Hi @gmarcinari,

Please provide a full test case. I would investigate.