当前位置: 首页>>代码示例>>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;未经允许,请勿转载。