2025-03-27 15:05:14 +08:00

43 lines
1.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SuperMap.RealEstate.CoreFrameWork;
using SuperMap.RealEstate.Web.UI;
using SuperMap.RealEstate.Web.UI.WebControls;
using Business = SuperMap.RealEstate.CoreFrameWork.Dictionary.Business;
namespace SuperMap.RealEstate.Personnel.Modules.Dictionary
{
public partial class Post1 : UserControl<Business.FieldEnum>
{
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack) return;
Business.FieldExplain _FieldExplain = DictionaryHelper.GetFieldExplain("POST", Transaction);
FIELDEXPLAIN_ID.Text = _FieldExplain.FieldExplain_ID.ToString();
}
//在此加入界面的数据初始化(Page_Load之前)如DropDownList的数据源绑定等
public override void InitializeWebControl()
{
FIELDENUM_STATUS.Clear();
DictionaryHelper.BindingDropDownList("ISVALID", FIELDENUM_STATUS.Items, Transaction);
}
//载入数据
public override bool LoadData()
{
//如果是工作流组件请自行修改载入的逻辑,以下是功能模块的默认代码
if (!String.IsNullOrEmpty(Request["ID"]))
{
CurrObject.FieldEnum_ID_Encrypt = Request["ID"];
return this.Select();
}
//默认返回值工作流组件返回True,功能模块返回False。
return (WorkFlowPage != null);
}
}
}