當前位置: 首頁>>代碼示例>>C#>>正文


C# ScrudFactory.ScrudForm類代碼示例

本文整理匯總了C#中MixERP.Net.WebControls.ScrudFactory.ScrudForm的典型用法代碼示例。如果您正苦於以下問題:C# ScrudForm類的具體用法?C# ScrudForm怎麽用?C# ScrudForm使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


ScrudForm類屬於MixERP.Net.WebControls.ScrudFactory命名空間,在下文中一共展示了ScrudForm類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.DenyAdd = !SessionHelper.IsAdmin();
                scrud.DenyEdit = !SessionHelper.IsAdmin();
                scrud.DenyDelete = !SessionHelper.IsAdmin();

                scrud.KeyColumn = "user_id";

                scrud.TableSchema = "policy";
                scrud.Table = "auto_verification_policy";
                scrud.ViewSchema = "policy";
                scrud.View = "auto_verification_policy_view";

                scrud.PageSize = 100;
                scrud.Width = 2000;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Titles.AutoVerificationPolicy;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
開發者ID:Blacksmither,項目名稱:mixerp,代碼行數:26,代碼來源:VoucherVerification.aspx.cs

示例2: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.DenyAdd = !MixERP.Net.BusinessLayer.Helpers.SessionHelper.IsAdmin();
                scrud.DenyEdit = !MixERP.Net.BusinessLayer.Helpers.SessionHelper.IsAdmin();
                scrud.DenyDelete = !MixERP.Net.BusinessLayer.Helpers.SessionHelper.IsAdmin();

                scrud.KeyColumn = "user_id";

                scrud.TableSchema = "policy";
                scrud.Table = "auto_verification_policy";
                scrud.ViewSchema = "policy";
                scrud.View = "auto_verification_policy_view";

                scrud.PageSize = 100;
                scrud.Width = 2000;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Resources.Titles.AutoVerificationPolicy;

                ScriptManager1.NamingContainer.Controls.Add(scrud);
            }
        }
開發者ID:prabhatjc,項目名稱:mixerp,代碼行數:26,代碼來源:VoucherVerification.aspx.cs

示例3: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "lead_source_id";

            scrud.TableSchema = "crm";
            scrud.Table = "lead_sources";
            scrud.ViewSchema = "crm";
            scrud.View = "lead_sources";

            scrud.Text = Resources.Titles.LeadSources;
            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
開發者ID:ravikumr070,項目名稱:mixerp,代碼行數:14,代碼來源:LeadSources.aspx.cs

示例4: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "cost_center_id";
            scrud.TableSchema = "office";
            scrud.Table = "cost_centers";
            scrud.ViewSchema = "office";
            scrud.View = "cost_center_view";

            scrud.Text = Resources.Titles.CostCenters;

            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
開發者ID:ravikumr070,項目名稱:mixerp,代碼行數:14,代碼來源:CostCenters.aspx.cs

示例5: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "currency_code";
            scrud.TableSchema = "core";
            scrud.Table = "currencies";
            scrud.ViewSchema = "core";
            scrud.View = "currencies";

            scrud.Text = Resources.Titles.Currencies;

            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
開發者ID:ravikumr070,項目名稱:mixerp,代碼行數:14,代碼來源:Currencies.aspx.cs

示例6: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "ageing_slab_id";

            scrud.TableSchema = "core";
            scrud.Table = "ageing_slabs";
            scrud.ViewSchema = "core";
            scrud.View = "ageing_slabs";

            scrud.Text = Resources.Titles.AgeingSlabSetup;
            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
開發者ID:ravikumr070,項目名稱:mixerp,代碼行數:14,代碼來源:AgeingSlabs.aspx.cs

示例7: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "ageing_slab_id";

                scrud.TableSchema = "core";
                scrud.Table = "ageing_slabs";
                scrud.ViewSchema = "core";
                scrud.View = "ageing_slabs";

                scrud.Text = Titles.AgeingSlabSetup;
                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
開發者ID:Blacksmither,項目名稱:mixerp,代碼行數:15,代碼來源:AgeingSlabs.aspx.cs

示例8: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "cost_center_id";
                scrud.TableSchema = "office";
                scrud.Table = "cost_centers";
                scrud.ViewSchema = "office";
                scrud.View = "cost_center_view";

                scrud.Text = Titles.CostCenters;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
開發者ID:Blacksmither,項目名稱:mixerp,代碼行數:15,代碼來源:CostCenters.aspx.cs

示例9: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "currency_code";
                scrud.TableSchema = "core";
                scrud.Table = "currencies";
                scrud.ViewSchema = "core";
                scrud.View = "currencies";

                scrud.Text = Titles.Currencies;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
開發者ID:neppie,項目名稱:mixerp,代碼行數:15,代碼來源:Currencies.aspx.cs

示例10: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "unit_id";

            scrud.TableSchema = "core";
            scrud.Table = "units";
            scrud.ViewSchema = "core";
            scrud.View = "units";

            scrud.Text = Resources.Titles.UnitsOfMeasure;

            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
開發者ID:ravikumr070,項目名稱:mixerp,代碼行數:15,代碼來源:UOM.aspx.cs

示例11: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "lead_status_id";

                scrud.TableSchema = "crm";
                scrud.Table = "lead_statuses";
                scrud.ViewSchema = "crm";
                scrud.View = "lead_statuses";
                scrud.Text = Titles.LeadStatuses;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
開發者ID:Blacksmither,項目名稱:mixerp,代碼行數:15,代碼來源:LeadStatuses.aspx.cs

示例12: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "fiscal_year_code";

                scrud.TableSchema = "core";
                scrud.Table = "fiscal_year";
                scrud.ViewSchema = "core";
                scrud.View = "fiscal_year";

                scrud.Text = Titles.FiscalYear;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
開發者ID:Blacksmither,項目名稱:mixerp,代碼行數:16,代碼來源:FiscalYear.aspx.cs

示例13: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "item_group_id";
            scrud.TableSchema = "core";
            scrud.Table = "item_groups";
            scrud.ViewSchema = "core";
            scrud.View = "item_groups";

            scrud.DisplayFields = this.GetDisplayFields();
            scrud.DisplayViews = this.GetDisplayViews();

            scrud.Text = Resources.Titles.ItemGroups;
            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
開發者ID:ravikumr070,項目名稱:mixerp,代碼行數:16,代碼來源:ItemGroups.aspx.cs

示例14: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "unit_id";

                scrud.TableSchema = "core";
                scrud.Table = "units";
                scrud.ViewSchema = "core";
                scrud.View = "units";

                scrud.Text = Titles.UnitsOfMeasure;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
開發者ID:kevinhuo88888,項目名稱:mixerp,代碼行數:16,代碼來源:UOM.aspx.cs

示例15: Page_Load

        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "agent_id";
            scrud.TableSchema = "core";
            scrud.Table = "agents";
            scrud.ViewSchema = "core";
            scrud.View = "agent_view";

            scrud.DisplayFields = this.GetDisplayFields();
            scrud.DisplayViews = this.GetDisplayViews();
            scrud.SelectedValues = this.GetSelectedValues();

            scrud.Text = Resources.Titles.AgentSetup;
        }
開發者ID:ravikumr070,項目名稱:mixerp,代碼行數:16,代碼來源:Agents.aspx.cs


注:本文中的MixERP.Net.WebControls.ScrudFactory.ScrudForm類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。