This commit is contained in:
2024-06-04 14:03:46 +08:00
parent d2af9745a6
commit 3bdc613bac
53 changed files with 2919 additions and 239 deletions
+5 -2
View File
@@ -21,6 +21,8 @@
<f:RenderField Width="150px" ColumnID="FileType" DataField="FileType"
FieldType="String" HeaderText="File Type" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderCheckField Width="90px" ColumnID="IsExport" DataField="IsExport" HeaderText="是否导出" EnableColumnEdit="false">
</f:RenderCheckField>
<f:RenderField Width="300px" ColumnID="Remark" DataField="Remark"
FieldType="String" HeaderText="Remark" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
@@ -47,9 +49,10 @@
<f:HiddenField ID="hfFormID" runat="server">
</f:HiddenField>
<f:TextBox ID="txtFileType" Label="File Type" ShowRedStar="true" Required="true"
runat="server" LabelAlign="right" LabelWidth="120px">
runat="server" LabelAlign="right" LabelWidth="100px" >
</f:TextBox>
<f:TextArea ID="txtRemark" Label="Remark" runat="server" LabelAlign="Right" MaxLength="500" LabelWidth="120px"></f:TextArea>
<f:CheckBox ID="cbIsExport" Checked="true" Label="报表导出" runat="server" LabelAlign="Right" LabelWidth="100px"/>
<f:TextArea ID="txtRemark" Label="Remark" runat="server" LabelAlign="Right" MaxLength="500" LabelWidth="100px"></f:TextArea>
</Items>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" runat="server">
+13 -2
View File
@@ -133,6 +133,15 @@ namespace FineUIPro.Web.BaseInfo
{
this.txtFileType.Text = fileType.FileType;
this.txtRemark.Text = fileType.Remark;
if (fileType.IsExport == true)
{
cbIsExport.Checked = true;
}
else
{
cbIsExport.Checked = false;
}
hfFormID.Text = Id;
this.btnDelete.Enabled = true;
}
@@ -152,8 +161,9 @@ namespace FineUIPro.Web.BaseInfo
{
Model.Base_FileType fileType = new Model.Base_FileType
{
FileType=this.txtFileType.Text.Trim(),
Remark = this.txtRemark.Text.Trim()
FileType = this.txtFileType.Text.Trim(),
Remark = this.txtRemark.Text.Trim(),
IsExport = cbIsExport.Checked
};
if (string.IsNullOrEmpty(strRowID))
{
@@ -222,6 +232,7 @@ namespace FineUIPro.Web.BaseInfo
this.hfFormID.Text = string.Empty;
this.txtFileType.Text = string.Empty;
this.txtRemark.Text = string.Empty;
cbIsExport.Checked = false;
this.btnDelete.Enabled = false;
}
#endregion
+34 -23
View File
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.BaseInfo {
public partial class FileType {
namespace FineUIPro.Web.BaseInfo
{
public partial class FileType
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// Panel1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// Grid1 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// ToolbarSeparator1 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
/// <summary>
/// ToolbarText1 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarText ToolbarText1;
/// <summary>
/// ddlPageSize 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList ddlPageSize;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.SimpleForm SimpleForm1;
/// <summary>
/// hfFormID 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hfFormID;
/// <summary>
/// txtFileType 控件。
/// </summary>
@@ -101,7 +103,16 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtFileType;
/// <summary>
/// cbIsExport 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBox cbIsExport;
/// <summary>
/// txtRemark 控件。
/// </summary>
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtRemark;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// btnNew 控件。
/// </summary>
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnNew;
/// <summary>
/// btnDelete 控件。
/// </summary>
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnDelete;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// Menu1 控件。
/// </summary>
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Menu Menu1;
/// <summary>
/// btnMenuEdit 控件。
/// </summary>
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.BaseInfo {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.MenuButton btnMenuEdit;
/// <summary>
/// btnMenuDelete 控件。
/// </summary>