private void CtrlDadosCnab_Selecting(object sender, Colosoft.WebControls.VirtualObjectDataSourceSelectingEventArgs e) { if (!_ctrlCarregado) { e.Cancel = true; } }
protected void odsProdutos_Selecting(object sender, Colosoft.WebControls.VirtualObjectDataSourceSelectingEventArgs e) { if (string.IsNullOrEmpty(txtNumeroNFE.Text)) { return; } }
protected void odsComissoesFunc_Selecting(object sender, Colosoft.WebControls.VirtualObjectDataSourceSelectingEventArgs e) { if (e.ExecutingSelectCount) { return; } while (drpIdComissao.Items.Count > 1) { drpIdComissao.Items.RemoveAt(1); } }
protected void odsListPlanoContas_Selecting(object sender, Colosoft.WebControls.VirtualObjectDataSourceSelectingEventArgs e) { odsListPlanoContas.SelectMethod = !chkDetalhes.Checked ? "GetList" : "GetListDetalhes"; odsListPlanoContas.SelectCountMethod = !chkDetalhes.Checked ? "GetCount" : "GetDetalhesCount"; }