本文整理匯總了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;
}