Jul 27, 2011, 1:54 PM
[CLOSED] Grid in tab panel dynamic.
Hi,
I create tab panels dynamic. In tab panel I add an grid. In the second call, my grid not render the PagingToolbar of the grid.
Images:
My code to create tab panel:
Thanks.
I create tab panels dynamic. In tab panel I add an grid. In the second call, my grid not render the PagingToolbar of the grid.
Images:
My code to create tab panel:
[DirectMethod]
public void PesquisarDocumento(string tipoDocumentoNome, List<documento> documentos)
{
if (documentos.Count() > 0)
{
this.MontaColunasGrid(documentos);
this.GridPanelDocumento.Visible = true;
Ext.Net.Panel tabPanel = Componentes.CriarTabPanel(DateTime.Now.Millisecond, tipoDocumentoNome);
tabPanel.ToolTip = tipoDocumentoNome;
TabPanelGeral.Add(tabPanel);
tabPanel.Add(this.GridPanelDocumento);
tabPanel.Render();
TabPanelGeral.SetActiveTab(tabPanel);
}
else
Aplicacao.Mensagem(MessageBox.Icon.INFO, "Atenção", "Nenhum documento encontrado!");
}
Any suggestion.Thanks.
Last edited by Daniil; Jul 28, 2011 at 6:41 PM.
Reason: [CLOSED]