Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     bic = BaseIbnContainer.Create("Reports", "GlobalReports");
     rs = (ReportStorage)bic.LoadControl("ReportStorage");
     BindToolBar();
     if (!IsPostBack)
         BindRepeaters();
 }
Beispiel #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     bic = BaseIbnContainer.Create("Reports", "GlobalReports");
     rs  = (ReportStorage)bic.LoadControl("ReportStorage");
     BindToolBar();
     if (!IsPostBack)
     {
         BindRepeaters();
     }
 }
Beispiel #3
0
        private void ApplyAttributes()
        {
            bic = BaseIbnContainer.Create("Reports", "GlobalReports");
            rs  = (ReportStorage)bic.LoadControl("ReportStorage");

            btnSave.Attributes.Add("onclick", "DisableButtons(this);");
            btnAdd.InnerText = LocRM.GetString("tAdd");
            dgMembers.Columns[1].HeaderText = LocRM.GetString("FieldName");
            dgMembers.Columns[2].HeaderText = LocRM.GetString("tAllow");
            dgMembers.Columns[3].HeaderText = LocRM.GetString("tDeny");
        }
Beispiel #4
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     bic = BaseIbnContainer.Create("Reports", "GlobalReports");
     rs = (ReportStorage)bic.LoadControl("ReportStorage");
     if (!Page.IsPostBack)
     {
         if (pc["rep_Config_Sort"] == null)
             pc["rep_Config_Sort"] = "sortName";
         BindDG();
     }
     BindToolBar();
 }
Beispiel #5
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     bic = BaseIbnContainer.Create("Reports", "GlobalReports");
     rs  = (ReportStorage)bic.LoadControl("ReportStorage");
     if (!Page.IsPostBack)
     {
         if (pc["rep_Config_Sort"] == null)
         {
             pc["rep_Config_Sort"] = "sortName";
         }
         BindDG();
     }
     BindToolBar();
 }
Beispiel #6
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            bic = BaseIbnContainer.Create("Reports", "GlobalReports");
            rs = (ReportStorage)bic.LoadControl("ReportStorage");
            if (!Page.IsPostBack)
            {
                BindDGs(true, true);
            }
            BindToolBar();

            this.dgRepGeneral.PageIndexChanged += new System.Web.UI.WebControls.DataGridPageChangedEventHandler(this.dgRepGeneral_PageIndexChanged);
            this.dgRepGeneral.SortCommand += new System.Web.UI.WebControls.DataGridSortCommandEventHandler(this.dgRepGeneral_Sort);
            this.dgRepGeneral.PageSizeChanged += new Mediachase.UI.Web.Modules.DGExtension.DataGridPageSizeChangedEventHandler(this.dgRepGeneral_PageSizeChanged);
            this.dgRepGeneral.ItemCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.dgRepGeneral_view);
            this.dgRepGeneral.DeleteCommand += new DataGridCommandEventHandler(this.dgRepGeneral_DeleteCommand);
        }
Beispiel #7
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            bic = BaseIbnContainer.Create("Reports", "GlobalReports");
            rs  = (ReportStorage)bic.LoadControl("ReportStorage");
            if (!Page.IsPostBack)
            {
                BindDGs(true, true);
            }
            BindToolBar();

            this.dgRepGeneral.PageIndexChanged += new System.Web.UI.WebControls.DataGridPageChangedEventHandler(this.dgRepGeneral_PageIndexChanged);
            this.dgRepGeneral.SortCommand      += new System.Web.UI.WebControls.DataGridSortCommandEventHandler(this.dgRepGeneral_Sort);
            this.dgRepGeneral.PageSizeChanged  += new Mediachase.UI.Web.Modules.DGExtension.DataGridPageSizeChangedEventHandler(this.dgRepGeneral_PageSizeChanged);
            this.dgRepGeneral.ItemCommand      += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.dgRepGeneral_view);
            this.dgRepGeneral.DeleteCommand    += new DataGridCommandEventHandler(this.dgRepGeneral_DeleteCommand);
        }
Beispiel #8
0
        private void ApplyAttributes()
        {
            bic = BaseIbnContainer.Create("Reports", "GlobalReports");
            rs = (ReportStorage)bic.LoadControl("ReportStorage");

            btnSave.Attributes.Add("onclick","DisableButtons(this);");
            btnAdd.InnerText = LocRM.GetString("tAdd");
            dgMembers.Columns[1].HeaderText = LocRM.GetString("FieldName");
            dgMembers.Columns[2].HeaderText = LocRM.GetString("tAllow");
            dgMembers.Columns[3].HeaderText = LocRM.GetString("tDeny");
        }