コード例 #1
0
ファイル: ctrlDadosCnab.ascx.cs プロジェクト: ertprs/Estudo
 private void CtrlDadosCnab_Selecting(object sender, Colosoft.WebControls.VirtualObjectDataSourceSelectingEventArgs e)
 {
     if (!_ctrlCarregado)
     {
         e.Cancel = true;
     }
 }
コード例 #2
0
 protected void odsProdutos_Selecting(object sender, Colosoft.WebControls.VirtualObjectDataSourceSelectingEventArgs e)
 {
     if (string.IsNullOrEmpty(txtNumeroNFE.Text))
     {
         return;
     }
 }
コード例 #3
0
        protected void odsComissoesFunc_Selecting(object sender, Colosoft.WebControls.VirtualObjectDataSourceSelectingEventArgs e)
        {
            if (e.ExecutingSelectCount)
            {
                return;
            }

            while (drpIdComissao.Items.Count > 1)
            {
                drpIdComissao.Items.RemoveAt(1);
            }
        }
コード例 #4
0
 protected void odsListPlanoContas_Selecting(object sender, Colosoft.WebControls.VirtualObjectDataSourceSelectingEventArgs e)
 {
     odsListPlanoContas.SelectMethod      = !chkDetalhes.Checked ? "GetList" : "GetListDetalhes";
     odsListPlanoContas.SelectCountMethod = !chkDetalhes.Checked ? "GetCount" : "GetDetalhesCount";
 }