本文整理汇总了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);
}
}
示例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);
}
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
示例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);
}
}
示例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);
}
}
示例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);
}
示例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);
}
}
示例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;
}