Ejemplo n.º 1
0
        public void LoadGrid()
        {
            Obracuni Obracuni = new Obracuni();

            ucbUstanova.DataSource = Obracuni.GetUstanoveVirmani();
            ucbUstanova.DataBind();

            udtDatumIzdavanja.Value = DateTime.Now;
        }
Ejemplo n.º 2
0
        public void LoadGrid()
        {
            Obracuni Obracuni = new Obracuni();

            ugdUcenici.DataSource = Obracuni.GetObracunUcenici();

            ugdUcenici.DataBind();
            ugdUcenici.UpdateData();

            Utils.Tools.UltraGridStyling(ugdUcenici);

            if (ugdUcenici.DisplayLayout.Bands.Count > 0)
            {
                if (ugdUcenici.DisplayLayout.Bands[0].Columns.Count > 0)
                {
                    ugdUcenici.DisplayLayout.Bands[0].Columns["UcenikID"].Hidden = true;
                    ugdUcenici.DisplayLayout.Bands[0].Columns[0].CellActivation  = Activation.AllowEdit;
                }
            }

            ucbUstanova.DataSource = Obracuni.GetUstanoveVirmani();
            ucbUstanova.DataBind();
        }