This commit is contained in:
三生石上 2017-09-05 10:49:48 +08:00
parent 50ba7e73d1
commit 15588d275b
525 changed files with 7790 additions and 1590 deletions

View File

@ -53,6 +53,22 @@ namespace FineUI.Examples
} }
// 为所有页面添加公共的:<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
System.Web.UI.HtmlControls.HtmlGenericControl metaCtrl = new System.Web.UI.HtmlControls.HtmlGenericControl("meta");
metaCtrl.Attributes["http-equiv"] = "Content-Type";
metaCtrl.Attributes["content"] = "text/html; charset=utf-8";
Header.Controls.AddAt(0, metaCtrl);
// 为所有页面添加公共的:<link rel="stylesheet" type="text/css" href="res/css/common.css"></link>
System.Web.UI.HtmlControls.HtmlGenericControl linkCtrl = new System.Web.UI.HtmlControls.HtmlGenericControl("link");
linkCtrl.Attributes["rel"] = "stylesheet";
linkCtrl.Attributes["type"] = "text/css";
linkCtrl.Attributes["href"] = ResolveClientUrl("~/res/css/common.css");
Header.Controls.Add(linkCtrl);
base.OnInit(e); base.OnInit(e);
} }

View File

@ -67,19 +67,27 @@
<Content Include="dropdownlist\dropdownlist_autopostback_enableedit.aspx" /> <Content Include="dropdownlist\dropdownlist_autopostback_enableedit.aspx" />
<Content Include="dropdownlist\dropdownlist_emptytext.aspx" /> <Content Include="dropdownlist\dropdownlist_emptytext.aspx" />
<Content Include="dropdownlist\dropdownlist_emptytext_enableedit.aspx" /> <Content Include="dropdownlist\dropdownlist_emptytext_enableedit.aspx" />
<Content Include="dropdownlist\dropdownlist_focus.aspx" />
<Content Include="dropdownlist\dropdownlist_matchfieldwidth.aspx" /> <Content Include="dropdownlist\dropdownlist_matchfieldwidth.aspx" />
<Content Include="dropdownlist\dropdownlist_matchfieldwidth_right.aspx" />
<Content Include="dropdownlist\dropdownlist_multiselect_scroll.aspx" />
<Content Include="dropdownlist\dropdownlist_no_autopostback.aspx" /> <Content Include="dropdownlist\dropdownlist_no_autopostback.aspx" />
<Content Include="dropdownlist\dropdownlist_scroll.aspx" />
<Content Include="dropdownlist\multiselect.aspx" /> <Content Include="dropdownlist\multiselect.aspx" />
<Content Include="dropdownlist\multiselect_enableedit.aspx" /> <Content Include="dropdownlist\multiselect_enableedit.aspx" />
<Content Include="dropdownlist\multiselect_autopostback.aspx" /> <Content Include="dropdownlist\multiselect_autopostback.aspx" />
<Content Include="dropdownlist\multiselect_autopostback_enableedit.aspx" /> <Content Include="dropdownlist\multiselect_autopostback_enableedit.aspx" />
<Content Include="dropdownlist\dropdownlist_autopostback_enableedit_noforceselection.aspx" /> <Content Include="dropdownlist\dropdownlist_autopostback_enableedit_noforceselection.aspx" />
<Content Include="extjs_builder\js\ux\TabCloseMenu.js" />
<Content Include="extjs_builder\version.txt" /> <Content Include="extjs_builder\version.txt" />
<Content Include="form\calendar_mindate.aspx" />
<Content Include="form\form_columnwidths.aspx" /> <Content Include="form\form_columnwidths.aspx" />
<Content Include="form\form_labelwidth.aspx" /> <Content Include="form\form_labelwidth.aspx" />
<Content Include="form\form_longlabel.aspx" /> <Content Include="form\form_longlabel.aspx" />
<Content Include="form\form_textalign.aspx" />
<Content Include="form\layout_center_label.aspx" /> <Content Include="form\layout_center_label.aspx" />
<Content Include="form\layout_multiline_buttons.aspx" /> <Content Include="form\layout_multiline_buttons.aspx" />
<Content Include="form\triggerbox_triggerboxurl.aspx" />
<Content Include="Global.asax" /> <Content Include="Global.asax" />
<Content Include="grid\grid_checkall_singleselect.aspx" /> <Content Include="grid\grid_checkall_singleselect.aspx" />
<Content Include="grid\grid_editor_cell_afteredit_selectcell.aspx" /> <Content Include="grid\grid_editor_cell_afteredit_selectcell.aspx" />
@ -113,6 +121,7 @@
<Content Include="grid\grid_editor_cell_afteredit_rowexpander.aspx" /> <Content Include="grid\grid_editor_cell_afteredit_rowexpander.aspx" />
<Content Include="grid\grid_editor_cell_newdelete_rowexpander.aspx" /> <Content Include="grid\grid_editor_cell_newdelete_rowexpander.aspx" />
<Content Include="grid\grid_rowexpander_grid.aspx" /> <Content Include="grid\grid_rowexpander_grid.aspx" />
<Content Include="grid\grid_sorting_nosortfield.aspx" />
<Content Include="grid\grid_style_columnclass.aspx" /> <Content Include="grid\grid_style_columnclass.aspx" />
<Content Include="grid\grid_summary_scrollbar_flow.aspx" /> <Content Include="grid\grid_summary_scrollbar_flow.aspx" />
<Content Include="grid\grid_style_rowcolor_paging_database.aspx" /> <Content Include="grid\grid_style_rowcolor_paging_database.aspx" />
@ -162,7 +171,9 @@
<Content Include="test\activex.aspx" /> <Content Include="test\activex.aspx" />
<Content Include="test\form2.aspx" /> <Content Include="test\form2.aspx" />
<Content Include="test\grid_editor_cell2.aspx" /> <Content Include="test\grid_editor_cell2.aspx" />
<Content Include="test\grid_sorting2.aspx" />
<Content Include="test\hello.aspx" /> <Content Include="test\hello.aspx" />
<Content Include="test\triggerbox2.aspx" />
<Content Include="test\WebForm1.aspx" /> <Content Include="test\WebForm1.aspx" />
<Content Include="third-party\autocomplete\inline_window.aspx" /> <Content Include="third-party\autocomplete\inline_window.aspx" />
<Content Include="third-party\ckeditor\ckeditor.aspx" /> <Content Include="third-party\ckeditor\ckeditor.aspx" />
@ -567,6 +578,13 @@
<Compile Include="dropdownlist\dropdownlist_emptytext_enableedit.aspx.designer.cs"> <Compile Include="dropdownlist\dropdownlist_emptytext_enableedit.aspx.designer.cs">
<DependentUpon>dropdownlist_emptytext_enableedit.aspx</DependentUpon> <DependentUpon>dropdownlist_emptytext_enableedit.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="dropdownlist\dropdownlist_focus.aspx.cs">
<DependentUpon>dropdownlist_focus.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="dropdownlist\dropdownlist_focus.aspx.designer.cs">
<DependentUpon>dropdownlist_focus.aspx</DependentUpon>
</Compile>
<Compile Include="dropdownlist\dropdownlist_matchfieldwidth.aspx.cs"> <Compile Include="dropdownlist\dropdownlist_matchfieldwidth.aspx.cs">
<DependentUpon>dropdownlist_matchfieldwidth.aspx</DependentUpon> <DependentUpon>dropdownlist_matchfieldwidth.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@ -574,6 +592,20 @@
<Compile Include="dropdownlist\dropdownlist_matchfieldwidth.aspx.designer.cs"> <Compile Include="dropdownlist\dropdownlist_matchfieldwidth.aspx.designer.cs">
<DependentUpon>dropdownlist_matchfieldwidth.aspx</DependentUpon> <DependentUpon>dropdownlist_matchfieldwidth.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="dropdownlist\dropdownlist_matchfieldwidth_right.aspx.cs">
<DependentUpon>dropdownlist_matchfieldwidth_right.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="dropdownlist\dropdownlist_matchfieldwidth_right.aspx.designer.cs">
<DependentUpon>dropdownlist_matchfieldwidth_right.aspx</DependentUpon>
</Compile>
<Compile Include="dropdownlist\dropdownlist_multiselect_scroll.aspx.cs">
<DependentUpon>dropdownlist_multiselect_scroll.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="dropdownlist\dropdownlist_multiselect_scroll.aspx.designer.cs">
<DependentUpon>dropdownlist_multiselect_scroll.aspx</DependentUpon>
</Compile>
<Compile Include="dropdownlist\dropdownlist_no_autopostback.aspx.cs"> <Compile Include="dropdownlist\dropdownlist_no_autopostback.aspx.cs">
<DependentUpon>dropdownlist_no_autopostback.aspx</DependentUpon> <DependentUpon>dropdownlist_no_autopostback.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@ -581,6 +613,13 @@
<Compile Include="dropdownlist\dropdownlist_no_autopostback.aspx.designer.cs"> <Compile Include="dropdownlist\dropdownlist_no_autopostback.aspx.designer.cs">
<DependentUpon>dropdownlist_no_autopostback.aspx</DependentUpon> <DependentUpon>dropdownlist_no_autopostback.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="dropdownlist\dropdownlist_scroll.aspx.cs">
<DependentUpon>dropdownlist_scroll.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="dropdownlist\dropdownlist_scroll.aspx.designer.cs">
<DependentUpon>dropdownlist_scroll.aspx</DependentUpon>
</Compile>
<Compile Include="dropdownlist\multiselect.aspx.cs"> <Compile Include="dropdownlist\multiselect.aspx.cs">
<DependentUpon>multiselect.aspx</DependentUpon> <DependentUpon>multiselect.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@ -616,6 +655,13 @@
<Compile Include="dropdownlist\dropdownlist_autopostback_enableedit_noforceselection.aspx.designer.cs"> <Compile Include="dropdownlist\dropdownlist_autopostback_enableedit_noforceselection.aspx.designer.cs">
<DependentUpon>dropdownlist_autopostback_enableedit_noforceselection.aspx</DependentUpon> <DependentUpon>dropdownlist_autopostback_enableedit_noforceselection.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="form\calendar_mindate.aspx.cs">
<DependentUpon>calendar_mindate.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="form\calendar_mindate.aspx.designer.cs">
<DependentUpon>calendar_mindate.aspx</DependentUpon>
</Compile>
<Compile Include="form\form_columnwidths.aspx.cs"> <Compile Include="form\form_columnwidths.aspx.cs">
<DependentUpon>form_columnwidths.aspx</DependentUpon> <DependentUpon>form_columnwidths.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@ -637,6 +683,13 @@
<Compile Include="form\form_longlabel.aspx.designer.cs"> <Compile Include="form\form_longlabel.aspx.designer.cs">
<DependentUpon>form_longlabel.aspx</DependentUpon> <DependentUpon>form_longlabel.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="form\form_textalign.aspx.cs">
<DependentUpon>form_textalign.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="form\form_textalign.aspx.designer.cs">
<DependentUpon>form_textalign.aspx</DependentUpon>
</Compile>
<Compile Include="form\layout_center_label.aspx.cs"> <Compile Include="form\layout_center_label.aspx.cs">
<DependentUpon>layout_center_label.aspx</DependentUpon> <DependentUpon>layout_center_label.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@ -651,6 +704,13 @@
<Compile Include="form\layout_multiline_buttons.aspx.designer.cs"> <Compile Include="form\layout_multiline_buttons.aspx.designer.cs">
<DependentUpon>layout_multiline_buttons.aspx</DependentUpon> <DependentUpon>layout_multiline_buttons.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="form\triggerbox_triggerboxurl.aspx.cs">
<DependentUpon>triggerbox_triggerboxurl.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="form\triggerbox_triggerboxurl.aspx.designer.cs">
<DependentUpon>triggerbox_triggerboxurl.aspx</DependentUpon>
</Compile>
<Compile Include="Global.asax.cs"> <Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon> <DependentUpon>Global.asax</DependentUpon>
</Compile> </Compile>
@ -881,6 +941,13 @@
<Compile Include="grid\grid_rowexpander_grid_data.ashx.cs"> <Compile Include="grid\grid_rowexpander_grid_data.ashx.cs">
<DependentUpon>grid_rowexpander_grid_data.ashx</DependentUpon> <DependentUpon>grid_rowexpander_grid_data.ashx</DependentUpon>
</Compile> </Compile>
<Compile Include="grid\grid_sorting_nosortfield.aspx.cs">
<DependentUpon>grid_sorting_nosortfield.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="grid\grid_sorting_nosortfield.aspx.designer.cs">
<DependentUpon>grid_sorting_nosortfield.aspx</DependentUpon>
</Compile>
<Compile Include="grid\grid_style_columnclass.aspx.cs"> <Compile Include="grid\grid_style_columnclass.aspx.cs">
<DependentUpon>grid_style_columnclass.aspx</DependentUpon> <DependentUpon>grid_style_columnclass.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@ -1225,6 +1292,13 @@
<Compile Include="test\grid_editor_cell2.aspx.designer.cs"> <Compile Include="test\grid_editor_cell2.aspx.designer.cs">
<DependentUpon>grid_editor_cell2.aspx</DependentUpon> <DependentUpon>grid_editor_cell2.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="test\grid_sorting2.aspx.cs">
<DependentUpon>grid_sorting2.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="test\grid_sorting2.aspx.designer.cs">
<DependentUpon>grid_sorting2.aspx</DependentUpon>
</Compile>
<Compile Include="test\hello.aspx.cs"> <Compile Include="test\hello.aspx.cs">
<DependentUpon>hello.aspx</DependentUpon> <DependentUpon>hello.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@ -1232,6 +1306,13 @@
<Compile Include="test\hello.aspx.designer.cs"> <Compile Include="test\hello.aspx.designer.cs">
<DependentUpon>hello.aspx</DependentUpon> <DependentUpon>hello.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="test\triggerbox2.aspx.cs">
<DependentUpon>triggerbox2.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="test\triggerbox2.aspx.designer.cs">
<DependentUpon>triggerbox2.aspx</DependentUpon>
</Compile>
<Compile Include="test\WebForm1.aspx.cs"> <Compile Include="test\WebForm1.aspx.cs">
<DependentUpon>WebForm1.aspx</DependentUpon> <DependentUpon>WebForm1.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">
@ -39,6 +38,10 @@
<br /> <br />
<f:Button ID="Button1" Text="获取当前展开的面板" runat="server" OnClick="Button1_Click"> <f:Button ID="Button1" Text="获取当前展开的面板" runat="server" OnClick="Button1_Click">
</f:Button> </f:Button>
<br />
<br />
<f:Button ID="Button2" Text="展开下一个面板" runat="server" OnClick="Button2_Click">
</f:Button>
</form> </form>
</body> </body>
</html> </html>

View File

@ -24,5 +24,16 @@ namespace FineUI.Examples.accordion
{ {
Alert.ShowInTop(String.Format("当前展开的是第 {0} 个面板", Accordion1.ActivePaneIndex + 1)); Alert.ShowInTop(String.Format("当前展开的是第 {0} 个面板", Accordion1.ActivePaneIndex + 1));
} }
protected void Button2_Click(object sender, EventArgs e)
{
var nextIndex = Accordion1.ActivePaneIndex + 1;
if (nextIndex >= Accordion1.Panes.Count)
{
nextIndex = 0;
}
Accordion1.ActivePaneIndex = nextIndex;
}
} }
} }

View File

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <自动生成> // <auto-generated>
// 此代码由工具生成。 // This code was generated by a tool.
// //
// 对此文件的更改可能会导致不正确的行为,并且如果 // Changes to this file may cause incorrect behavior and will be lost if
// 重新生成代码,这些更改将会丢失。 // the code is regenerated.
// </自动生成> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUI.Examples.accordion { namespace FineUI.Examples.accordion {
@ -13,93 +13,102 @@ namespace FineUI.Examples.accordion {
public partial class accordion_autopostback { public partial class accordion_autopostback {
/// <summary> /// <summary>
/// form1 控件。 /// form1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.PageManager PageManager1; protected global::FineUI.PageManager PageManager1;
/// <summary> /// <summary>
/// Accordion1 控件。 /// Accordion1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Accordion Accordion1; protected global::FineUI.Accordion Accordion1;
/// <summary> /// <summary>
/// AccordionPane1 控件。 /// AccordionPane1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.AccordionPane AccordionPane1; protected global::FineUI.AccordionPane AccordionPane1;
/// <summary> /// <summary>
/// Label1 控件。 /// Label1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Label Label1; protected global::FineUI.Label Label1;
/// <summary> /// <summary>
/// AccordionPane2 控件。 /// AccordionPane2 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.AccordionPane AccordionPane2; protected global::FineUI.AccordionPane AccordionPane2;
/// <summary> /// <summary>
/// Label2 控件。 /// Label2 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Label Label2; protected global::FineUI.Label Label2;
/// <summary> /// <summary>
/// AccordionPane3 控件。 /// AccordionPane3 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.AccordionPane AccordionPane3; protected global::FineUI.AccordionPane AccordionPane3;
/// <summary> /// <summary>
/// Label3 控件。 /// Label3 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Label Label3; protected global::FineUI.Label Label3;
/// <summary> /// <summary>
/// Button1 控件。 /// Button1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Button Button1; protected global::FineUI.Button Button1;
/// <summary>
/// Button2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button Button2;
} }
} }

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css"> <style type="text/css">
.redbutton button .redbutton button
{ {

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css"> <style type="text/css">
.bgbtn { .bgbtn {
background-image: url(../res/images/login.png) !important; background-image: url(../res/images/login.png) !important;

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Tree> <Tree>
<TreeNode Text="基本用法"> <TreeNode Text="基本用法" Icon="House">
<TreeNode Text="配置信息"> <TreeNode Text="配置信息">
<TreeNode Text="发布历史" NavigateUrl="http://fineui.com/version/index.html?from=demo"> <TreeNode Text="发布历史" NavigateUrl="http://fineui.com/version/index.html?from=demo">
</TreeNode> </TreeNode>
@ -26,7 +26,7 @@
<TreeNode Text="登录页面(验证码)" NavigateUrl="~/basic/login_captcha.aspx" > <TreeNode Text="登录页面(验证码)" NavigateUrl="~/basic/login_captcha.aspx" >
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="表单控件"> <TreeNode Text="表单控件" Icon="ApplicationForm">
<TreeNode Text="按钮控件" > <TreeNode Text="按钮控件" >
<TreeNode Text="简单按钮" NavigateUrl="~/button/button.aspx" > <TreeNode Text="简单按钮" NavigateUrl="~/button/button.aspx" >
</TreeNode> </TreeNode>
@ -54,6 +54,8 @@
</TreeNode> </TreeNode>
<TreeNode Text="日期控件" NavigateUrl="~/form/calendar.aspx" > <TreeNode Text="日期控件" NavigateUrl="~/form/calendar.aspx" >
</TreeNode> </TreeNode>
<TreeNode Text="日期控件(最小日期和最大日期)" NavigateUrl="~/form/calendar_mindate.aspx" >
</TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="输入框"> <TreeNode Text="输入框">
<TreeNode Text="文本框" NavigateUrl="~/form/textbox.aspx" > <TreeNode Text="文本框" NavigateUrl="~/form/textbox.aspx" >
@ -101,10 +103,6 @@
<TreeNode Text="服务器端验证" NavigateUrl="~/form/form_validate.aspx" > <TreeNode Text="服务器端验证" NavigateUrl="~/form/form_validate.aspx" >
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="动态创建表单元素">
<TreeNode Text="动态创建表单元素" NavigateUrl="~/form/form_dynamic.aspx" >
</TreeNode>
</TreeNode>
<TreeNode Text="上传控件"> <TreeNode Text="上传控件">
<TreeNode Text="上传控件" NavigateUrl="~/form/fileupload.aspx" > <TreeNode Text="上传控件" NavigateUrl="~/form/fileupload.aspx" >
</TreeNode> </TreeNode>
@ -146,7 +144,7 @@
<TreeNode Text="绑定到 DataTable" NavigateUrl="~/dropdownlist/databind/dropdownlist_datatable.aspx" > <TreeNode Text="绑定到 DataTable" NavigateUrl="~/dropdownlist/databind/dropdownlist_datatable.aspx" >
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="多选下拉列表"> <TreeNode Text="多选">
<TreeNode Text="多选" NavigateUrl="~/dropdownlist/multiselect.aspx" IsNew="true"> <TreeNode Text="多选" NavigateUrl="~/dropdownlist/multiselect.aspx" IsNew="true">
</TreeNode> </TreeNode>
<TreeNode Text="多选(可编辑,强制选择)" NavigateUrl="~/dropdownlist/multiselect_enableedit.aspx" IsNew="true"> <TreeNode Text="多选(可编辑,强制选择)" NavigateUrl="~/dropdownlist/multiselect_enableedit.aspx" IsNew="true">
@ -171,17 +169,29 @@
</TreeNode> </TreeNode>
<TreeNode Text="中国省市县联动" NavigateUrl="~/dropdownlist/shengshixian.aspx" > <TreeNode Text="中国省市县联动" NavigateUrl="~/dropdownlist/shengshixian.aspx" >
</TreeNode> </TreeNode>
<TreeNode Text="下拉列表(自动获取焦点)" NavigateUrl="~/dropdownlist/dropdownlist_focus.aspx" >
</TreeNode>
<TreeNode Text="下拉列表(选项值可为空)" NavigateUrl="~/dropdownlist/dropdownlist_emptyvalue.aspx" >
</TreeNode>
<TreeNode Text="下拉列表(初始值为空)" NavigateUrl="~/dropdownlist/dropdownlist_emptytext.aspx" IsNew="true"> <TreeNode Text="下拉列表(初始值为空)" NavigateUrl="~/dropdownlist/dropdownlist_emptytext.aspx" IsNew="true">
</TreeNode> </TreeNode>
<TreeNode Text="下拉列表(初始值为空,可编辑,强制选择)" NavigateUrl="~/dropdownlist/dropdownlist_emptytext_enableedit.aspx" IsNew="true"> <TreeNode Text="下拉列表(初始值为空,可编辑,强制选择)" NavigateUrl="~/dropdownlist/dropdownlist_emptytext_enableedit.aspx" IsNew="true">
</TreeNode> </TreeNode>
<TreeNode Text="下拉列表MatchFieldWidth" NavigateUrl="~/dropdownlist/dropdownlist_matchfieldwidth.aspx" IsNew="true"> <TreeNode Text="下拉列表MatchFieldWidth" NavigateUrl="~/dropdownlist/dropdownlist_matchfieldwidth.aspx" IsNew="true">
</TreeNode> </TreeNode>
<TreeNode Text="下拉列表MatchFieldWidth右侧空间不足" NavigateUrl="~/dropdownlist/dropdownlist_matchfieldwidth_right.aspx" IsNew="true">
</TreeNode>
<TreeNode Text="下拉列表(单选,滚动条)" NavigateUrl="~/dropdownlist/dropdownlist_scroll.aspx" IsNew="true">
</TreeNode>
<TreeNode Text="下拉列表(多选,滚动条)" NavigateUrl="~/dropdownlist/dropdownlist_multiselect_scroll.aspx" IsNew="true">
</TreeNode>
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="杂项"> <TreeNode Text="杂项">
<TreeNode Text="重置表单" NavigateUrl="~/form/form_reset.aspx" > <TreeNode Text="重置表单" NavigateUrl="~/form/form_reset.aspx" >
</TreeNode> </TreeNode>
<TreeNode Text="动态创建表单元素" NavigateUrl="~/form/form_dynamic.aspx" >
</TreeNode>
<TreeNode Text="隐藏表单字段" NavigateUrl="~/form/form_hide_field.aspx" > <TreeNode Text="隐藏表单字段" NavigateUrl="~/form/form_hide_field.aspx" >
</TreeNode> </TreeNode>
<TreeNode Text="禁用与只读" NavigateUrl="~/form/form_disabled.aspx" IsNew="true" > <TreeNode Text="禁用与只读" NavigateUrl="~/form/form_disabled.aspx" IsNew="true" >
@ -192,9 +202,13 @@
</TreeNode> </TreeNode>
<TreeNode Text="ColumnWidths混合使用百分比和固定宽度" NavigateUrl="~/form/form_columnwidths.aspx" IsNew="true" > <TreeNode Text="ColumnWidths混合使用百分比和固定宽度" NavigateUrl="~/form/form_columnwidths.aspx" IsNew="true" >
</TreeNode> </TreeNode>
<TreeNode Text="输入框文本居中" NavigateUrl="~/form/form_textalign.aspx" IsNew="true" >
</TreeNode>
<TreeNode Text="自定义触发器输入框图标" NavigateUrl="~/form/triggerbox_triggerboxurl.aspx" IsNew="true" >
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="表格控件"> </TreeNode>
<TreeNode Text="表格控件" Icon="ApplicationViewColumns">
<TreeNode Text="基本用法"> <TreeNode Text="基本用法">
<TreeNode Text="表格FineUI" NavigateUrl="~/grid/grid.aspx" > <TreeNode Text="表格FineUI" NavigateUrl="~/grid/grid.aspx" >
</TreeNode> </TreeNode>
@ -208,6 +222,8 @@
<TreeNode Text="分页与排序"> <TreeNode Text="分页与排序">
<TreeNode Text="排序" NavigateUrl="~/grid/grid_sorting.aspx" > <TreeNode Text="排序" NavigateUrl="~/grid/grid_sorting.aspx" >
</TreeNode> </TreeNode>
<TreeNode Text="排序(初始不排序)" NavigateUrl="~/grid/grid_sorting_nosortfield.aspx" >
</TreeNode>
<TreeNode Text="内存分页" NavigateUrl="~/grid/grid_paging.aspx" > <TreeNode Text="内存分页" NavigateUrl="~/grid/grid_paging.aspx" >
</TreeNode> </TreeNode>
<TreeNode Text="数据库分页" NavigateUrl="~/grid/grid_paging_database.aspx" > <TreeNode Text="数据库分页" NavigateUrl="~/grid/grid_paging_database.aspx" >
@ -220,8 +236,6 @@
</TreeNode> </TreeNode>
<TreeNode Text="数据库分页(跨页保持选中行)" NavigateUrl="~/grid/grid_paging_database_selection.aspx" > <TreeNode Text="数据库分页(跨页保持选中行)" NavigateUrl="~/grid/grid_paging_database_selection.aspx" >
</TreeNode> </TreeNode>
<TreeNode Text="数据库分页(底部工具栏)" NavigateUrl="~/grid/grid_paging_database_bbar.aspx" IsNew="true" >
</TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="序号列"> <TreeNode Text="序号列">
<TreeNode Text="序号列(内存分页)" NavigateUrl="~/grid/grid_rownumber_paging.aspx" > <TreeNode Text="序号列(内存分页)" NavigateUrl="~/grid/grid_rownumber_paging.aspx" >
@ -478,9 +492,11 @@
</TreeNode> </TreeNode>
<TreeNode Text="隐藏表格标题栏" NavigateUrl="~/grid/grid_hide_gridheader.aspx" IsNew="true"> <TreeNode Text="隐藏表格标题栏" NavigateUrl="~/grid/grid_hide_gridheader.aspx" IsNew="true">
</TreeNode> </TreeNode>
<TreeNode Text="底部工具栏(分页栏也存在)" NavigateUrl="~/grid/grid_paging_database_bbar.aspx" IsNew="true" >
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="更多控件"> </TreeNode>
<TreeNode Text="更多控件" Icon="Bricks">
<TreeNode Text="树控件"> <TreeNode Text="树控件">
<TreeNode Text="简单树控件" NavigateUrl="~/tree/tree.aspx" > <TreeNode Text="简单树控件" NavigateUrl="~/tree/tree.aspx" >
</TreeNode> </TreeNode>
@ -620,7 +636,7 @@
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="页面布局"> <TreeNode Text="页面布局" Icon="LayoutContent">
<TreeNode Text="布局Fit" NavigateUrl="~/layout/fit.aspx" > <TreeNode Text="布局Fit" NavigateUrl="~/layout/fit.aspx" >
</TreeNode> </TreeNode>
<TreeNode Text="布局Anchor" NavigateUrl="~/layout/anchor.aspx" > <TreeNode Text="布局Anchor" NavigateUrl="~/layout/anchor.aspx" >
@ -664,7 +680,7 @@
<TreeNode Text="布局Region" NavigateUrl="~/layout/region.aspx" IsNew="true" > <TreeNode Text="布局Region" NavigateUrl="~/layout/region.aspx" IsNew="true" >
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="内联框架"> <TreeNode Text="内联框架" Icon="ApplicationDouble">
<TreeNode Text="弹出窗体(本页面或父页面)" NavigateUrl="~/iframe/button_iframe.aspx" > <TreeNode Text="弹出窗体(本页面或父页面)" NavigateUrl="~/iframe/button_iframe.aspx" >
</TreeNode> </TreeNode>
<TreeNode Text="表格与编辑窗体" NavigateUrl="~/iframe/grid_iframe.aspx" > <TreeNode Text="表格与编辑窗体" NavigateUrl="~/iframe/grid_iframe.aspx" >
@ -698,7 +714,7 @@
<TreeNode Text="保存按钮放在窗体工具栏中" NavigateUrl="~/iframe/window2.aspx" > <TreeNode Text="保存按钮放在窗体工具栏中" NavigateUrl="~/iframe/window2.aspx" >
</TreeNode> </TreeNode>
</TreeNode> </TreeNode>
<TreeNode Text="其他杂项"> <TreeNode Text="其他杂项" Icon="AsteriskOrange">
<TreeNode Text="第三方组件"> <TreeNode Text="第三方组件">
<TreeNode Text="My97日期控件"> <TreeNode Text="My97日期控件">
<TreeNode Text="My97日期控件" NavigateUrl="~/third-party/my97/my97.aspx" > <TreeNode Text="My97日期控件" NavigateUrl="~/third-party/my97/my97.aspx" >

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css"> <style type="text/css">
body body
{ {

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css"> <style type="text/css">
body { body {
padding: 10px; padding: 10px;

View File

@ -32,8 +32,12 @@
</tr> </tr>
</table> </table>
<div class="themeroller"> <div class="themeroller">
<a href="http://fineui.com/demo_pro" target="_blank" title="转到专业版示例">专业版示例 <a href="http://fineui.com/demo_mvc" style="margin-bottom:6px;display:inline-block;" target="_blank" title="企业版示例MVC">企业版示例MVC
</a> </a>
<br />
<a href="http://fineui.com/demo_pro" target="_blank" title="专业版示例WebForms">专业版示例WebForms
</a>
</div> </div>
</div> </div>
</Content> </Content>
@ -118,7 +122,7 @@
<tr> <tr>
<td style="width: 300px;">&nbsp;版本:<a target="_blank" href="http://fineui.com/version">v<asp:Literal runat="server" ID="litVersion"></asp:Literal></a> <td style="width: 300px;">&nbsp;版本:<a target="_blank" href="http://fineui.com/version">v<asp:Literal runat="server" ID="litVersion"></asp:Literal></a>
&nbsp;&nbsp; <a target="_blank" href="http://wp.qq.com/wpa/qunwpa?idkey=5a98eb42b742a1edaf22826648d5f61bc16ed08e0253976bc8d30f97508c09c7">QQ公开群</a></td> &nbsp;&nbsp; <a target="_blank" href="http://wp.qq.com/wpa/qunwpa?idkey=5a98eb42b742a1edaf22826648d5f61bc16ed08e0253976bc8d30f97508c09c7">QQ公开群</a></td>
<td style="text-align: center;">Copyright &copy; 2008-2015 合肥三生石上软件有限公司</td> <td style="text-align: center;">Copyright &copy; 2008-2016 合肥三生石上软件有限公司</td>
<td style="width: 300px; text-align: right;">在线人数:<asp:Literal runat="server" ID="litOnlineUserCount"></asp:Literal>&nbsp;</td> <td style="width: 300px; text-align: right;">在线人数:<asp:Literal runat="server" ID="litOnlineUserCount"></asp:Literal>&nbsp;</td>
</tr> </tr>
</table> </table>
@ -182,7 +186,9 @@
</f:MenuHyperLink> </f:MenuHyperLink>
<f:MenuSeparator ID="MenuSeparator3" runat="server"> <f:MenuSeparator ID="MenuSeparator3" runat="server">
</f:MenuSeparator> </f:MenuSeparator>
<f:MenuHyperLink ID="MenuHyperLink3" runat="server" Text="转到专业版示例" NavigateUrl="http://fineui.com/demo_pro/" Target="_blank"> <f:MenuHyperLink runat="server" Text="专业版示例WebForms" NavigateUrl="http://fineui.com/demo_pro/" Target="_blank">
</f:MenuHyperLink>
<f:MenuHyperLink runat="server" Text="企业版示例MVC" NavigateUrl="http://fineui.com/demo_mvc/" Target="_blank">
</f:MenuHyperLink> </f:MenuHyperLink>
</f:Menu> </f:Menu>
<asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="false" DataFile="~/common/menu.xml"></asp:XmlDataSource> <asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="false" DataFile="~/common/menu.xml"></asp:XmlDataSource>

View File

@ -74,7 +74,13 @@ namespace FineUI.Examples
accordionPane.Title = xmlNode.Attributes["Text"].Value; accordionPane.Title = xmlNode.Attributes["Text"].Value;
accordionPane.Layout = Layout.Fit; accordionPane.Layout = Layout.Fit;
accordionPane.ShowBorder = false; accordionPane.ShowBorder = false;
accordionPane.BodyPadding = "2px 0 0 0";
var accordionPaneIconAttr = xmlNode.Attributes["Icon"];
if (accordionPaneIconAttr != null)
{
accordionPane.Icon = (Icon)Enum.Parse(typeof(Icon), accordionPaneIconAttr.Value, true);
}
accordionMenu.Items.Add(accordionPane); accordionMenu.Items.Add(accordionPane);
Tree innerTree = new Tree(); Tree innerTree = new Tree();

View File

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <自动生成> // <auto-generated>
// 此代码由工具生成。 // This code was generated by a tool.
// //
// 对此文件的更改可能会导致不正确的行为,并且如果 // Changes to this file may cause incorrect behavior and will be lost if
// 重新生成代码,这些更改将会丢失。 // the code is regenerated.
// </自动生成> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUI.Examples { namespace FineUI.Examples {
@ -13,353 +13,344 @@ namespace FineUI.Examples {
public partial class _default { public partial class _default {
/// <summary> /// <summary>
/// form1 控件。 /// form1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.PageManager PageManager1; protected global::FineUI.PageManager PageManager1;
/// <summary> /// <summary>
/// RegionPanel1 控件。 /// RegionPanel1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.RegionPanel RegionPanel1; protected global::FineUI.RegionPanel RegionPanel1;
/// <summary> /// <summary>
/// Region1 控件。 /// Region1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Region Region1; protected global::FineUI.Region Region1;
/// <summary> /// <summary>
/// leftPanel 控件。 /// leftPanel control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Region leftPanel; protected global::FineUI.Region leftPanel;
/// <summary> /// <summary>
/// mainRegion 控件。 /// mainRegion control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Region mainRegion; protected global::FineUI.Region mainRegion;
/// <summary> /// <summary>
/// mainTabStrip 控件。 /// mainTabStrip control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.TabStrip mainTabStrip; protected global::FineUI.TabStrip mainTabStrip;
/// <summary> /// <summary>
/// ToolbarFill2 控件。 /// ToolbarFill2 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.ToolbarFill ToolbarFill2; protected global::FineUI.ToolbarFill ToolbarFill2;
/// <summary> /// <summary>
/// btnGotoOpenSourceSite 控件。 /// btnGotoOpenSourceSite control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Button btnGotoOpenSourceSite; protected global::FineUI.Button btnGotoOpenSourceSite;
/// <summary> /// <summary>
/// ToolbarSeparator2 控件。 /// ToolbarSeparator2 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.ToolbarSeparator ToolbarSeparator2; protected global::FineUI.ToolbarSeparator ToolbarSeparator2;
/// <summary> /// <summary>
/// Button1 控件。 /// Button1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Button Button1; protected global::FineUI.Button Button1;
/// <summary> /// <summary>
/// bottomPanel 控件。 /// bottomPanel control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Region bottomPanel; protected global::FineUI.Region bottomPanel;
/// <summary> /// <summary>
/// litVersion 控件。 /// litVersion control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Literal litVersion; protected global::System.Web.UI.WebControls.Literal litVersion;
/// <summary> /// <summary>
/// litOnlineUserCount 控件。 /// litOnlineUserCount control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Literal litOnlineUserCount; protected global::System.Web.UI.WebControls.Literal litOnlineUserCount;
/// <summary> /// <summary>
/// windowSourceCode 控件。 /// windowSourceCode control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Window windowSourceCode; protected global::FineUI.Window windowSourceCode;
/// <summary> /// <summary>
/// menuSettings 控件。 /// menuSettings control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Menu menuSettings; protected global::FineUI.Menu menuSettings;
/// <summary> /// <summary>
/// btnExpandAll 控件。 /// btnExpandAll control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuButton btnExpandAll; protected global::FineUI.MenuButton btnExpandAll;
/// <summary> /// <summary>
/// btnCollapseAll 控件。 /// btnCollapseAll control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuButton btnCollapseAll; protected global::FineUI.MenuButton btnCollapseAll;
/// <summary> /// <summary>
/// MenuSeparator4 控件。 /// MenuSeparator4 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuSeparator MenuSeparator4; protected global::FineUI.MenuSeparator MenuSeparator4;
/// <summary> /// <summary>
/// cbxShowOnlyNew 控件。 /// cbxShowOnlyNew control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox cbxShowOnlyNew; protected global::FineUI.MenuCheckBox cbxShowOnlyNew;
/// <summary> /// <summary>
/// MenuSeparator1 控件。 /// MenuSeparator1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuSeparator MenuSeparator1; protected global::FineUI.MenuSeparator MenuSeparator1;
/// <summary> /// <summary>
/// MenuTheme 控件。 /// MenuTheme control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuButton MenuTheme; protected global::FineUI.MenuButton MenuTheme;
/// <summary> /// <summary>
/// MenuThemeNeptune 控件。 /// MenuThemeNeptune control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox MenuThemeNeptune; protected global::FineUI.MenuCheckBox MenuThemeNeptune;
/// <summary> /// <summary>
/// MenuThemeBlue 控件。 /// MenuThemeBlue control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox MenuThemeBlue; protected global::FineUI.MenuCheckBox MenuThemeBlue;
/// <summary> /// <summary>
/// MenuThemeGray 控件。 /// MenuThemeGray control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox MenuThemeGray; protected global::FineUI.MenuCheckBox MenuThemeGray;
/// <summary> /// <summary>
/// MenuThemeAccess 控件。 /// MenuThemeAccess control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox MenuThemeAccess; protected global::FineUI.MenuCheckBox MenuThemeAccess;
/// <summary> /// <summary>
/// MenuStyle 控件。 /// MenuStyle control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuButton MenuStyle; protected global::FineUI.MenuButton MenuStyle;
/// <summary> /// <summary>
/// MenuStyleTree 控件。 /// MenuStyleTree control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox MenuStyleTree; protected global::FineUI.MenuCheckBox MenuStyleTree;
/// <summary> /// <summary>
/// MenuStyleAccordion 控件。 /// MenuStyleAccordion control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox MenuStyleAccordion; protected global::FineUI.MenuCheckBox MenuStyleAccordion;
/// <summary> /// <summary>
/// MenuLang 控件。 /// MenuLang control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuButton MenuLang; protected global::FineUI.MenuButton MenuLang;
/// <summary> /// <summary>
/// MenuLangZHCN 控件。 /// MenuLangZHCN control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox MenuLangZHCN; protected global::FineUI.MenuCheckBox MenuLangZHCN;
/// <summary> /// <summary>
/// MenuLangZHTW 控件。 /// MenuLangZHTW control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox MenuLangZHTW; protected global::FineUI.MenuCheckBox MenuLangZHTW;
/// <summary> /// <summary>
/// MenuLangEN 控件。 /// MenuLangEN control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuCheckBox MenuLangEN; protected global::FineUI.MenuCheckBox MenuLangEN;
/// <summary> /// <summary>
/// MenuSeparator2 控件。 /// MenuSeparator2 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuSeparator MenuSeparator2; protected global::FineUI.MenuSeparator MenuSeparator2;
/// <summary> /// <summary>
/// MenuHyperLink2 控件。 /// MenuHyperLink2 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuHyperLink MenuHyperLink2; protected global::FineUI.MenuHyperLink MenuHyperLink2;
/// <summary> /// <summary>
/// MenuHyperLink1 控件。 /// MenuHyperLink1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuHyperLink MenuHyperLink1; protected global::FineUI.MenuHyperLink MenuHyperLink1;
/// <summary> /// <summary>
/// MenuSeparator3 控件。 /// MenuSeparator3 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.MenuSeparator MenuSeparator3; protected global::FineUI.MenuSeparator MenuSeparator3;
/// <summary> /// <summary>
/// MenuHyperLink3 控件。 /// XmlDataSource1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.MenuHyperLink MenuHyperLink3;
/// <summary>
/// XmlDataSource1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1; protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1;
} }

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">
@ -12,7 +11,7 @@
<f:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="550px" EnableCollapse="true" <f:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="550px" EnableCollapse="true"
ShowBorder="True" Title="简单表单" ShowHeader="True"> ShowBorder="True" Title="简单表单" ShowHeader="True">
<Items> <Items>
<f:DropDownList runat="server" ID="DropDownList1" FocusOnPageLoad="true"> <f:DropDownList runat="server" ID="DropDownList1">
<f:ListItem Text="可选项1" Value="Value1" Selected="true" /> <f:ListItem Text="可选项1" Value="Value1" Selected="true" />
<f:ListItem Text="可选项2不可选择" Value="Value2" EnableSelect="false" /> <f:ListItem Text="可选项2不可选择" Value="Value2" EnableSelect="false" />
<f:ListItem Text="可选项3不可选择" Value="Value3" EnableSelect="false" /> <f:ListItem Text="可选项3不可选择" Value="Value3" EnableSelect="false" />
@ -36,9 +35,6 @@
<br /> <br />
<f:Label runat="server" ID="labResult"> <f:Label runat="server" ID="labResult">
</f:Label> </f:Label>
<br />
<br />
注:页面加载完毕后,下拉列表默认获取焦点。
</form> </form>
</body> </body>

View File

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <自动生成> // <auto-generated>
// 此代码由工具生成。 // This code was generated by a tool.
// //
// 对此文件的更改可能会导致不正确的行为,并且如果 // Changes to this file may cause incorrect behavior and will be lost if
// 重新生成代码,这些更改将会丢失。 // the code is regenerated.
// </自动生成> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUI.Examples.dropdownlist { namespace FineUI.Examples.dropdownlist {
@ -13,65 +13,65 @@ namespace FineUI.Examples.dropdownlist {
public partial class dropdownlist { public partial class dropdownlist {
/// <summary> /// <summary>
/// form1 控件。 /// form1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.PageManager PageManager1; protected global::FineUI.PageManager PageManager1;
/// <summary> /// <summary>
/// SimpleForm1 控件。 /// SimpleForm1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.SimpleForm SimpleForm1; protected global::FineUI.SimpleForm SimpleForm1;
/// <summary> /// <summary>
/// DropDownList1 控件。 /// DropDownList1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.DropDownList DropDownList1; protected global::FineUI.DropDownList DropDownList1;
/// <summary> /// <summary>
/// btnSelectItem6 控件。 /// btnSelectItem6 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Button btnSelectItem6; protected global::FineUI.Button btnSelectItem6;
/// <summary> /// <summary>
/// btnGetSelection 控件。 /// btnGetSelection control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Button btnGetSelection; protected global::FineUI.Button btnGetSelection;
/// <summary> /// <summary>
/// labResult 控件。 /// labResult control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Label labResult; protected global::FineUI.Label labResult;
} }

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,9 +4,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,9 +4,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -0,0 +1,42 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dropdownlist_focus.aspx.cs" Inherits="FineUI.Examples.dropdownlist.dropdownlist_focus" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="450px" EnableCollapse="true"
ShowBorder="True" Title="简单下拉列表" ShowHeader="True">
<Items>
<f:DropDownList runat="server" ID="DropDownList1" FocusOnPageLoad="true">
<f:ListItem Text="可选项1" Value="Value1"/>
<f:ListItem Text="可选项2不可选择" Value="Value2" EnableSelect="false" />
<f:ListItem Text="可选项3不可选择" Value="Value3" EnableSelect="false" />
<f:ListItem Text="可选项4" Value="Value4" />
<f:ListItem Text="可选项5" Value="Value5" />
<f:ListItem Text="可选项6" Value="Value6" />
<f:ListItem Text="可选择项7" Value="Value7" />
<f:ListItem Text="可选择项8" Value="Value8" />
<f:ListItem Text="普通型1 < L > 1.5" Value="普通型1 < L > 1.5" />
<f:ListItem Text="一个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value11" />
</f:DropDownList>
<f:Button ID="btnSelectItem6" Text="选中[可选项6]" runat="server" OnClick="btnSelectItem6_Click"
CssClass="marginr">
</f:Button>
<f:Button ID="btnGetSelection" Text="获取此下拉列表的选中项" runat="server" OnClick="btnGetSelection_Click">
</f:Button>
</Items>
</f:SimpleForm>
<br />
<f:Label runat="server" ID="labResult">
</f:Label>
<br />
<br />
注:页面加载完毕后,下拉列表默认获取焦点。
</form>
</body>
</html>

View File

@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace FineUI.Examples.dropdownlist
{
public partial class dropdownlist_focus : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void btnSelectItem6_Click(object sender, EventArgs e)
{
DropDownList1.SelectedValue = "Value6";
}
protected void btnGetSelection_Click(object sender, EventArgs e)
{
if (DropDownList1.SelectedItem != null)
{
labResult.Text = String.Format("选中项:{0}(值:{1}", DropDownList1.SelectedItem.Text, DropDownList1.SelectedValue);
}
else
{
labResult.Text = "无选中项";
}
}
}
}

View File

@ -0,0 +1,78 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FineUI.Examples.dropdownlist {
public partial class dropdownlist_focus {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.PageManager PageManager1;
/// <summary>
/// SimpleForm1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.SimpleForm SimpleForm1;
/// <summary>
/// DropDownList1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.DropDownList DropDownList1;
/// <summary>
/// btnSelectItem6 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button btnSelectItem6;
/// <summary>
/// btnGetSelection control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button btnGetSelection;
/// <summary>
/// labResult control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Label labResult;
}
}

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -0,0 +1,53 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dropdownlist_matchfieldwidth_right.aspx.cs" Inherits="FineUI.Examples.dropdownlist.dropdownlist_matchfieldwidth_right" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Panel ID="Panel1" runat="server" ShowBorder="True" EnableCollapse="false"
Layout="HBox" BodyPadding="5px" BoxConfigPosition="End" BoxConfigAlign="Start" ShowHeader="True"
Title="面板Layout=HBox BoxConfigPosition=End">
<Items>
<f:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="400px" EnableCollapse="true"
ShowBorder="True" Title="下拉列表MatchFieldWidth" ShowHeader="True">
<Items>
<f:DropDownList runat="server" ID="DropDownList1" MatchFieldWidth="false">
<f:ListItem Text="可选项1" Value="Value1" Selected="true" />
<f:ListItem Text="可选项2不可选择" Value="Value2" EnableSelect="false" />
<f:ListItem Text="可选项3不可选择" Value="Value3" EnableSelect="false" />
<f:ListItem Text="可选项4" Value="Value4" />
<f:ListItem Text="可选项5" Value="Value5" />
<f:ListItem Text="可选项6" Value="Value6" />
<f:ListItem Text="可选择项7" Value="Value7" />
<f:ListItem Text="可选择项8" Value="Value8" />
<f:ListItem Text="普通型1 < L > 1.5" Value="普通型1 < L > 1.5" />
<f:ListItem Text="一个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value11" />
<f:ListItem Text="二个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value12" />
<f:ListItem Text="三个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value13" />
<f:ListItem Text="四个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value14" />
<f:ListItem Text="五个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value15" />
<f:ListItem Text="六个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value16" />
<f:ListItem Text="七个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value17" />
<f:ListItem Text="八个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value18" />
<f:ListItem Text="九个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value19" />
<f:ListItem Text="十个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的可选择项" Value="Value20" />
</f:DropDownList>
<f:Button ID="btnSelectItem6" Text="选中[可选项6]" runat="server" OnClick="btnSelectItem6_Click"
CssClass="marginr">
</f:Button>
<f:Button ID="btnGetSelection" Text="获取此下拉列表的选中项" runat="server" OnClick="btnGetSelection_Click">
</f:Button>
<f:Label runat="server" ID="labResult">
</f:Label>
</Items>
</f:SimpleForm>
</Items>
</f:Panel>
</form>
</body>
</html>

View File

@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace FineUI.Examples.dropdownlist
{
public partial class dropdownlist_matchfieldwidth_right : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void btnSelectItem6_Click(object sender, EventArgs e)
{
DropDownList1.SelectedValue = "Value6";
}
protected void btnGetSelection_Click(object sender, EventArgs e)
{
if (DropDownList1.SelectedItem != null)
{
labResult.Text = String.Format("选中项:{0}(值:{1}", DropDownList1.SelectedItem.Text, DropDownList1.SelectedValue);
}
else
{
labResult.Text = "无选中项";
}
}
}
}

View File

@ -0,0 +1,87 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FineUI.Examples.dropdownlist {
public partial class dropdownlist_matchfieldwidth_right {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.PageManager PageManager1;
/// <summary>
/// Panel1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Panel Panel1;
/// <summary>
/// SimpleForm1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.SimpleForm SimpleForm1;
/// <summary>
/// DropDownList1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.DropDownList DropDownList1;
/// <summary>
/// btnSelectItem6 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button btnSelectItem6;
/// <summary>
/// btnGetSelection control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button btnGetSelection;
/// <summary>
/// labResult control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Label labResult;
}
}

View File

@ -0,0 +1,52 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dropdownlist_multiselect_scroll.aspx.cs" Inherits="FineUI.Examples.dropdownlist.dropdownlist_multiselect_scroll" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="450px" EnableCollapse="true"
ShowBorder="True" Title="下拉列表(多选)" ShowHeader="True">
<Items>
<f:DropDownList runat="server" ID="DropDownList1" EnableMultiSelect="true">
<f:ListItem Text="可选项1" Value="Value1" Selected="true" />
<f:ListItem Text="可选项2不可选择" Value="Value2" EnableSelect="false" />
<f:ListItem Text="可选项3不可选择" Value="Value3" EnableSelect="false" />
<f:ListItem Text="可选项4" Value="Value4" Selected="true" />
<f:ListItem Text="可选项5" Value="Value5" />
<f:ListItem Text="可选项6" Value="Value6" />
<f:ListItem Text="可选择项7" Value="Value7" />
<f:ListItem Text="可选择项8" Value="Value8" />
<f:ListItem Text="可选择项8" Value="Value9" />
<f:ListItem Text="可选择项10" Value="Value10" />
<f:ListItem Text="可选择项11" Value="Value11" />
<f:ListItem Text="可选择项12" Value="Value12" />
<f:ListItem Text="可选择项13" Value="Value13" />
<f:ListItem Text="可选择项14" Value="Value14" />
<f:ListItem Text="可选择项15" Value="Value15" />
<f:ListItem Text="可选择项16" Value="Value16" />
<f:ListItem Text="可选择项17" Value="Value17" />
<f:ListItem Text="可选择项18" Value="Value18" />
<f:ListItem Text="可选择项19" Value="Value19" />
<f:ListItem Text="可选择项20" Value="Value20" />
</f:DropDownList>
<f:Button ID="btnSelectItem6" Text="选中[可选项6]" runat="server" OnClick="btnSelectItem6_Click"
CssClass="marginr">
</f:Button>
<f:Button ID="btnGetSelection" Text="获取此下拉列表的选中项" runat="server" OnClick="btnGetSelection_Click">
</f:Button>
</Items>
</f:SimpleForm>
<br />
<f:Label runat="server" EncodeText="false" ID="labResult">
</f:Label>
</form>
</body>
</html>

View File

@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;
namespace FineUI.Examples.dropdownlist
{
public partial class dropdownlist_multiselect_scroll : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void btnSelectItem6_Click(object sender, EventArgs e)
{
DropDownList1.SelectedValue = "Value6";
}
protected void btnGetSelection_Click(object sender, EventArgs e)
{
if (DropDownList1.SelectedItem != null)
{
List<string> texts = new List<string>();
List<string> values = new List<string>();
foreach (ListItem item in DropDownList1.SelectedItemArray)
{
texts.Add(item.Text);
values.Add(item.Value);
}
labResult.Text = String.Format("选中项文本:{0}<br/>选中项值:{1}",
String.Join("&nbsp;&nbsp;", texts.ToArray()),
String.Join("&nbsp;&nbsp;", values.ToArray()));
}
else
{
labResult.Text = "无选中项";
}
}
}
}

View File

@ -0,0 +1,78 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FineUI.Examples.dropdownlist {
public partial class dropdownlist_multiselect_scroll {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.PageManager PageManager1;
/// <summary>
/// SimpleForm1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.SimpleForm SimpleForm1;
/// <summary>
/// DropDownList1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.DropDownList DropDownList1;
/// <summary>
/// btnSelectItem6 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button btnSelectItem6;
/// <summary>
/// btnGetSelection control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button btnGetSelection;
/// <summary>
/// labResult control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Label labResult;
}
}

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -0,0 +1,51 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dropdownlist_scroll.aspx.cs" Inherits="FineUI.Examples.dropdownlist.dropdownlist_scroll" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="450px" EnableCollapse="true"
ShowBorder="True" Title="简单下拉列表" ShowHeader="True">
<Items>
<f:DropDownList runat="server" ID="DropDownList1">
<f:ListItem Text="可选项1" Value="Value1" Selected="true" />
<f:ListItem Text="可选项2不可选择" Value="Value2" EnableSelect="false" />
<f:ListItem Text="可选项3不可选择" Value="Value3" EnableSelect="false" />
<f:ListItem Text="可选项4" Value="Value4" />
<f:ListItem Text="可选项5" Value="Value5" />
<f:ListItem Text="可选项6" Value="Value6" />
<f:ListItem Text="可选择项7" Value="Value7" />
<f:ListItem Text="可选择项8" Value="Value8" />
<f:ListItem Text="可选择项8" Value="Value9" />
<f:ListItem Text="可选择项10" Value="Value10" />
<f:ListItem Text="可选择项11" Value="Value11" />
<f:ListItem Text="可选择项12" Value="Value12" />
<f:ListItem Text="可选择项13" Value="Value13" />
<f:ListItem Text="可选择项14" Value="Value14" />
<f:ListItem Text="可选择项15" Value="Value15" />
<f:ListItem Text="可选择项16" Value="Value16" />
<f:ListItem Text="可选择项17" Value="Value17" />
<f:ListItem Text="可选择项18" Value="Value18" />
<f:ListItem Text="可选择项19" Value="Value19" />
<f:ListItem Text="可选择项20" Value="Value20" />
</f:DropDownList>
<f:Button ID="btnSelectItem6" Text="选中[可选项6]" runat="server" OnClick="btnSelectItem6_Click"
CssClass="marginr">
</f:Button>
<f:Button ID="btnGetSelection" Text="获取此下拉列表的选中项" runat="server" OnClick="btnGetSelection_Click">
</f:Button>
</Items>
</f:SimpleForm>
<br />
<f:Label runat="server" ID="labResult">
</f:Label>
<br />
<br />
</form>
</body>
</html>

View File

@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace FineUI.Examples.dropdownlist
{
public partial class dropdownlist_scroll : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void btnSelectItem6_Click(object sender, EventArgs e)
{
DropDownList1.SelectedValue = "Value6";
}
protected void btnGetSelection_Click(object sender, EventArgs e)
{
if (DropDownList1.SelectedItem != null)
{
labResult.Text = String.Format("选中项:{0}(值:{1}", DropDownList1.SelectedItem.Text, DropDownList1.SelectedValue);
}
else
{
labResult.Text = "无选中项";
}
}
}
}

View File

@ -0,0 +1,78 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FineUI.Examples.dropdownlist {
public partial class dropdownlist_scroll {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.PageManager PageManager1;
/// <summary>
/// SimpleForm1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.SimpleForm SimpleForm1;
/// <summary>
/// DropDownList1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.DropDownList DropDownList1;
/// <summary>
/// btnSelectItem6 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button btnSelectItem6;
/// <summary>
/// btnGetSelection control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button btnGetSelection;
/// <summary>
/// labResult control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Label labResult;
}
}

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -83,29 +83,12 @@
var viewStateBeforeAJAX = F.util.getHiddenFieldValue('__VIEWSTATE'); var viewStateBeforeAJAX = F.util.getHiddenFieldValue('__VIEWSTATE');
var disabledButtonIdBeforeAJAX = F.getHidden('F_TARGET'); var disabledButtonIdBeforeAJAX = F.getHidden('F_TARGET');
function ajaxSuccess(data, viewStateBeforeAJAX) {
/*
try {
new Function(data)();
} catch (e) {
createErrorWindow({
statusText: "Execute JavaScript Exception",
status: -1,
responseText: util.htmlEncode(data)
});
}
*/
function processEnd() { function processEnd() {
// 启用AJAX发起时禁用的按钮
if (disabledButtonIdBeforeAJAX) {
F.enable(disabledButtonIdBeforeAJAX);
}
//隐藏正在加载提示 //隐藏正在加载提示
ajaxStop(); ajaxStop();
} }
function ajaxSuccess(data, viewStateBeforeAJAX) {
// 如果显式返回false则阻止AJAX回发 // 如果显式返回false则阻止AJAX回发
if (F.util.triggerBeforeAjaxSuccess(data) === false) { if (F.util.triggerBeforeAjaxSuccess(data) === false) {
@ -152,28 +135,14 @@
scripts = decodeURIComponent(scripts); scripts = decodeURIComponent(scripts);
} }
// 启用AJAX发起时禁用的按钮
if (disabledButtonIdBeforeAJAX) {
F.enable(disabledButtonIdBeforeAJAX);
}
// 因为这里调用后可能会关闭当前页面extjs还有代码要执行Ext.callback...),所以这里要延迟一下,等 extjs 代码执行完毕后再执行这里代码 // 因为这里调用后可能会关闭当前页面extjs还有代码要执行Ext.callback...),所以这里要延迟一下,等 extjs 代码执行完毕后再执行这里代码
window.setTimeout(function () { window.setTimeout(function () {
ajaxSuccess(scripts, viewStateBeforeAJAX); ajaxSuccess(scripts, viewStateBeforeAJAX);
/*
if (scripts) {
if (F.form_upload_file) {
// 文件上传时输出内容经过encodeURIComponent编码在ResponseFilter中的Close函数中
//scripts = scripts.replace(/<\/?pre[^>]*>/ig, '');
scripts = decodeURIComponent(scripts);
}
new Function(scripts)();
}
// 有可能响应返回后即关闭本窗体
if (F && F.util) {
F.util.triggerAjaxReady();
}
*/
}, 0); }, 0);
}, },
failure: function (data) { failure: function (data) {
@ -377,6 +346,24 @@
if (cmp.isXType('grid')) { if (cmp.isXType('grid')) {
// 启用分页
if (cmp.f_paging) {
var pagingBar = cmp.f_getPaging();
saveInHiddenField('PageIndex', pagingBar.f_pageIndex);
}
// 启用排序
if (cmp.f_sorting) {
var gridSorter = cmp.getStore().sorters.get(0);
// 如果启用排序,但是默认没有排序,则可能 gridSorter 不存在
if (gridSorter) {
saveInHiddenField('SortField', gridSorter.property);
saveInHiddenField('SortDirection', gridSorter.direction);
}
}
//if (cmp.getPlugin(cmp.id + '_celledit')) { //if (cmp.getPlugin(cmp.id + '_celledit')) {
if(cmp.f_cellEditing) { if(cmp.f_cellEditing) {
// 可编辑单元格的表格 // 可编辑单元格的表格

View File

@ -84,6 +84,9 @@ F.getActiveWindow = function () {
// 记录最后一个控件的序号 // 记录最后一个控件的序号
F.f_objectIndex = 0; F.f_objectIndex = 0;
// 标识这个页面是由 FineUI 创建的
F.fineui = '4.2.4';
// 为了兼容保留函数签名F.customEvent // 为了兼容保留函数签名F.customEvent
F.f_customEvent = F.customEvent = function (argument, validate) { F.f_customEvent = F.customEvent = function (argument, validate) {
@ -104,7 +107,7 @@ F.f_customEvent = F.customEvent = function (argument, validate) {
var pmv = F.f_pagemanager.validate; var pmv = F.f_pagemanager.validate;
if (validate && pmv) { if (validate && pmv) {
if (!F.util.validateForms(pmv.forms, pmv.target, pmv.messagebox)) { if (!F.util.validForms(pmv.forms, pmv.target, pmv.messagebox)) {
return false; return false;
} }
} }

View File

@ -165,12 +165,16 @@
ghostWnd.on('maximize', function () { ghostWnd.on('maximize', function () {
/*
// 如果原始窗体所在的页面存在,则触发原始窗体的 maximize 事件 // 如果原始窗体所在的页面存在,则触发原始窗体的 maximize 事件
if (F.canAccess(config.f_property_window)) { if (F.canAccess(config.f_property_window)) {
config.f_property_ext_window.fireEvent('maximize', config.f_property_ext_window); config.f_property_ext_window.fireEvent('maximize', config.f_property_ext_window);
} else { } else {
F.wnd.fixMaximize(ghostWnd); F.wnd.fixMaximize(ghostWnd);
} }
*/
F.wnd.fixMaximize(ghostWnd);
}); });

View File

@ -684,8 +684,8 @@ if (Ext.grid.Panel) {
Ext.Array.each(rows, function (row, rowIndex) { Ext.Array.each(rows, function (row, rowIndex) {
var newdataitem = []; var newdataitem = [];
// row['0'] -> Values // row['f0'] -> Values
Ext.Array.each(row['0'], function (item, cellIndex) { Ext.Array.each(row['f0'], function (item, cellIndex) {
var newcellvalue = item; var newcellvalue = item;
if (typeof (item) === 'string' && item.substr(0, 7) === "#@TPL@#") { if (typeof (item) === 'string' && item.substr(0, 7) === "#@TPL@#") {
var clientId = $this.id + '_' + item.substr(7); var clientId = $this.id + '_' + item.substr(7);
@ -696,7 +696,7 @@ if (Ext.grid.Panel) {
}); });
// idProperty // idProperty
var rowId = row['6']; var rowId = row['f6'];
if (typeof (rowId) === 'undefined') { if (typeof (rowId) === 'undefined') {
// 如果未定义 id要生成一个 id用来记录选中的行否则在行调整顺序后选中的行就乱了 // 如果未定义 id要生成一个 id用来记录选中的行否则在行调整顺序后选中的行就乱了
rowId = 'fineui_row_' + rowIndex; rowId = 'fineui_row_' + rowIndex;
@ -859,6 +859,14 @@ if (Ext.grid.Panel) {
return selectedCount; return selectedCount;
}, },
f_clearSelections: function () {
var me = this;
var sm = me.getSelectionModel();
sm.deselectAll(true);
},
// 选中某些行 // 选中某些行
f_selectRows: function (rows) { f_selectRows: function (rows) {
var me = this; var me = this;
@ -1138,22 +1146,6 @@ if (Ext.grid.Panel) {
}, },
// 获取选中的行
f_getSelectedRows: function () {
var selectedRows = [];
var sm = this.getSelectionModel();
if (sm.getSelection) {
var selection = sm.getSelection();
var store = this.getStore();
Ext.Array.each(selection, function (record, index) {
selectedRows.push(store.indexOf(record));
});
}
return selectedRows;
},
// 仅内部使用f_deleteSelectedRows // 仅内部使用f_deleteSelectedRows
f_getSelectedRowsIndex: function () { f_getSelectedRowsIndex: function () {
@ -2004,6 +1996,27 @@ if (Ext.ux.grid && Ext.ux.grid.ColumnHeaderGroup) {
*/ */
// enableTextSelection: true --> Uncaught TypeError: Cannot call method 'getVisibleIndex' of undefined
// https://www.sencha.com/forum/showthread.php?265507-Uncaught-TypeError-Cannot-call-method-getVisibleIndex-of-undefined.-Upgrade-issues
Ext.override(Ext.selection.CellModel, {
onMouseDown: function (view, cell, cellIndex, record, row, recordIndex, e) {
// Added - Change cellIndex value
if (view.enableTextSelection && cellIndex === -1) {
cellIndex = cell.cellIndex;
}
// Record index will be -1 if the clicked record is a metadata record and not selectable
if (recordIndex !== -1) {
this.setCurrentPosition({
view: view,
row: row,
column: cellIndex
});
}
}
});
(function () { (function () {

View File

@ -21,6 +21,14 @@ Ext.apply(F.wnd, {
}); });
if (Ext.ux.SimplePagingToolbar) {
Ext.apply(Ext.ux.SimplePagingToolbar.prototype, {
afterPageText: "页,共 {0} 页",
displayMsg: "显示 {0} - {1} 条,共 {2} 条"
});
}
//if (Ext.ux.SimplePagingToolbar) { //if (Ext.ux.SimplePagingToolbar) {
// Ext.apply(Ext.ux.SimplePagingToolbar.prototype, { // Ext.apply(Ext.ux.SimplePagingToolbar.prototype, {
// beforePageText: "转到", // beforePageText: "转到",

View File

@ -22,6 +22,13 @@ Ext.apply(F.wnd, {
}); });
if (Ext.ux.SimplePagingToolbar) {
Ext.apply(Ext.ux.SimplePagingToolbar.prototype, {
afterPageText: "頁,共 {0} 頁",
displayMsg: "顯示 {0} - {1} 筆,共 {2} 筆"
});
}
//if (Ext.ux.SimplePagingToolbar) { //if (Ext.ux.SimplePagingToolbar) {
// Ext.apply(Ext.ux.SimplePagingToolbar.prototype, { // Ext.apply(Ext.ux.SimplePagingToolbar.prototype, {
// beforePageText: "轉到", // beforePageText: "轉到",

View File

@ -54,6 +54,18 @@ Ext.define('Ext.ux.SimplePagingToolbar', {
Ext.Object.merge(this, configs); Ext.Object.merge(this, configs);
this.store.currentPage = this.f_pageIndex + 1; this.store.currentPage = this.f_pageIndex + 1;
this.onLoad(); this.onLoad();
// 非服务端分页,则需要重新计算 f_startRowIndex 和 f_endRowIndex
if (!this.f_databasePaging) {
var startRowIndex = this.f_pageSize * this.f_pageIndex;
var endRowIndex = (this.f_pageIndex + 1) * this.f_pageSize - 1;
if(endRowIndex > this.f_recordCount - 1) {
endRowIndex = this.f_recordCount - 1;
}
this.f_startRowIndex = startRowIndex;
this.f_endRowIndex = endRowIndex;
}
} }
}); });

View File

@ -173,4 +173,3 @@
.f-formrow .x-column-form-item { .f-formrow .x-column-form-item {
margin-bottom: 5px; margin-bottom: 5px;
} }

View File

@ -1 +1 @@
v4.2.3 v4.2.4.1

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -12,9 +12,7 @@ namespace FineUI.Examples.form
{ {
if (!IsPostBack) if (!IsPostBack)
{ {
Calendar1.MinDate = DateTime.Now; Calendar1.SelectedDate = DateTime.Now.AddDays(10);
Calendar1.MaxDate = DateTime.Now.AddDays(15);
Calendar1.SelectedDate = DateTime.Now.AddDays(1);
Button1.Text = String.Format("选中{0}", DateTime.Now.AddDays(2).ToString(Calendar1.DateFormatString)); Button1.Text = String.Format("选中{0}", DateTime.Now.AddDays(2).ToString(Calendar1.DateFormatString));
} }

View File

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <自动生成> // <auto-generated>
// 此代码由工具生成。 // This code was generated by a tool.
// //
// 对此文件的更改可能会导致不正确的行为,并且如果 // Changes to this file may cause incorrect behavior and will be lost if
// 重新生成代码,这些更改将会丢失。 // the code is regenerated.
// </自动生成> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUI.Examples.form { namespace FineUI.Examples.form {
@ -13,56 +13,47 @@ namespace FineUI.Examples.form {
public partial class calendar { public partial class calendar {
/// <summary> /// <summary>
/// form1 控件。 /// form1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.PageManager PageManager1; protected global::FineUI.PageManager PageManager1;
/// <summary> /// <summary>
/// SimpleForm1 控件。 /// Calendar1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.SimpleForm SimpleForm1;
/// <summary>
/// Calendar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUI.Calendar Calendar1; protected global::FineUI.Calendar Calendar1;
/// <summary> /// <summary>
/// Button1 控件。 /// Button1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Button Button1; protected global::FineUI.Button Button1;
/// <summary> /// <summary>
/// labResult1 控件。 /// labResult1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// Auto-generated field.
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::FineUI.Label labResult1; protected global::FineUI.Label labResult1;
} }

View File

@ -0,0 +1,24 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="calendar_mindate.aspx.cs" Inherits="FineUI.Examples.form.calendar_mindate" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:Calendar runat="server" EnableDateSelectEvent="true" DateFormatString="yyyy-MM-dd"
OnDateSelect="Calendar1_DateSelect" ID="Calendar1">
</f:Calendar>
<br />
<br />
<f:Button runat="server" ID="Button1" OnClick="Button1_Click">
</f:Button>
<br />
<br />
<f:Label ID="labResult1" ShowLabel="false" runat="server">
</f:Label>
</form>
</body>
</html>

View File

@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUI.Examples.form
{
public partial class calendar_mindate : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Calendar1.MinDate = DateTime.Now;
Calendar1.MaxDate = DateTime.Now.AddDays(20);
Calendar1.SelectedDate = DateTime.Now.AddDays(10);
Button1.Text = String.Format("选中{0}", DateTime.Now.AddDays(2).ToString(Calendar1.DateFormatString));
}
}
private void UpdateResult()
{
labResult1.Text = String.Format("选择的日期:{0}", Calendar1.SelectedDate.Value.ToString(Calendar1.DateFormatString));
}
protected void Calendar1_DateSelect(object sender, EventArgs e)
{
UpdateResult();
}
protected void Button1_Click(object sender, EventArgs e)
{
Calendar1.SelectedDate = DateTime.Now.AddDays(2);
UpdateResult();
}
}
}

View File

@ -0,0 +1,60 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FineUI.Examples.form {
public partial class calendar_mindate {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.PageManager PageManager1;
/// <summary>
/// Calendar1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Calendar Calendar1;
/// <summary>
/// Button1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button Button1;
/// <summary>
/// labResult1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Label labResult1;
}
}

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style> <style>
.result img { .result img {
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style> <style>
.photo { .photo {
height: 150px; height: 150px;

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style> <style>
.photo { .photo {
height: 150px; height: 150px;

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="_form1" runat="server"> <form id="_form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style> <style>
.mypanel { .mypanel {
text-align: center; text-align: center;

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style> <style>
.speciallabel .x-form-display-field { .speciallabel .x-form-display-field {
color: red; color: red;

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="_form1" runat="server"> <form id="_form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,9 +4,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="_form1" runat="server"> <form id="_form1" runat="server">

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="_form1" runat="server"> <form id="_form1" runat="server">

View File

@ -3,9 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -4,7 +4,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style> <style>
.redcolor { .redcolor {
} }

View File

@ -0,0 +1,34 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="form_textalign.aspx.cs" Inherits="FineUI.Examples.form.form_textalign" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
<style>
.text-align-center input {
text-align: center;
}
.text-align-right input {
text-align: right;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:SimpleForm ID="SimpleForm1" BodyPadding="5px" Width="550px" LabelWidth="150px" EnableCollapse="true"
Title="简单表单" runat="server">
<Items>
<f:TextBox runat="server" Label="文本输入框" ID="TextBox1" Required="true" Text="文本居左" ShowRedStar="true">
</f:TextBox>
<f:TextBox runat="server" Label="文本输入框(居中)" ID="TextBox2" CssClass="text-align-center" Text="文本居中" Required="true" ShowRedStar="true">
</f:TextBox>
<f:TextBox runat="server" Label="文本输入框(居右)" ID="TextBox3" CssClass="text-align-right" Text="文本居右" Required="true" ShowRedStar="true">
</f:TextBox>
<f:Button ID="btnSubmit" runat="server" ValidateForms="SimpleForm1" Text="提交表单" OnClick="btnSubmit_Click">
</f:Button>
</Items>
</f:SimpleForm>
</form>
</body>
</html>

View File

@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUI.Examples.form
{
public partial class form_textalign : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void btnSubmit_Click(object sender, EventArgs e)
{
ShowNotify("表单验证成功");
}
}
}

View File

@ -0,0 +1,78 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FineUI.Examples.form {
public partial class form_textalign {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.PageManager PageManager1;
/// <summary>
/// SimpleForm1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.SimpleForm SimpleForm1;
/// <summary>
/// TextBox1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.TextBox TextBox1;
/// <summary>
/// TextBox2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.TextBox TextBox2;
/// <summary>
/// TextBox3 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.TextBox TextBox3;
/// <summary>
/// btnSubmit control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::FineUI.Button btnSubmit;
}
}

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

View File

@ -5,7 +5,6 @@
<html> <html>
<head runat="server"> <head runat="server">
<title></title> <title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">

Some files were not shown because too many files have changed in this diff Show More