Wizard.aspx
上传用户:lanchensha
上传日期:2022-02-27
资源大小:7530k
文件大小:52k
源码类别:

编辑器/阅读器

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" %>
  2. <%@ Import Namespace="DotNetTextBox" %>
  3. <%@ Import Namespace="System.IO" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" >
  6. <head runat="server">
  7.     <title>DotNetTextBox可视化设置向导</title>
  8.     <script runat=server language="C#">
  9.         private doctextboxdb _box, boxdb, _db;
  10.         protected void Page_Load(object sender, EventArgs e)
  11.         {
  12.             if (!IsPostBack)
  13.             {
  14.                 bind();
  15.             }
  16.         }
  17.         protected void Yes_Click(object sender, EventArgs e)
  18.         {
  19.             string the_zhuangtai = null;
  20.             _box = new doctextboxdb();
  21.             System.Collections.ArrayList list = new ArrayList(this.CheckBoxList1.Items.Count);
  22.             System.Collections.ArrayList _list = new ArrayList(this.CheckBoxList1.Items.Count);
  23.             for (int i = 0; i < this.CheckBoxList1.Items.Count; i++)
  24.             {
  25.                 if (this.CheckBoxList1.Items[i].Selected)
  26.                 {
  27.                     the_zhuangtai = "1";
  28.                 }
  29.                 else
  30.                 {
  31.                     the_zhuangtai = "0";
  32.                 }
  33.                 _list.Add(the_zhuangtai);
  34.                 list.Add(this.CheckBoxList1.Items[i].Value);
  35.             }
  36.             if (!_box.update_xml(list, _list, 23, 2, Server.MapPath("./system_dntb/advanced.config"), "configuration"))
  37.             {
  38.                 Response.Write("error");
  39.             }
  40.         }
  41.         protected void bind()
  42.         {
  43.             boxdb = new doctextboxdb();
  44.             _db = new doctextboxdb();
  45.             Response.Expires = -1;
  46.             System.Collections.ArrayList mylist;
  47.             if (Request.Cookies["uploadConfig"] != null)
  48.             {
  49.                 //获取配置文件内容
  50.                 mylist = boxdb.get_the_xmlmessage(Request.Cookies["uploadConfig"].Value.ToLower());
  51.             }
  52.             else
  53.             {
  54.                 mylist = boxdb.get_the_xmlmessage(HttpContext.Current.Request.PhysicalApplicationPath + "/system_dntb/uploadconfig/default.config");
  55.             }
  56.             //上传文件夹的最大可用空间
  57.             this.maxAllUploadSize.Text = mylist[1].ToString();
  58.             //上传文件单个的最大尺寸
  59.             this.maxSingleUploadSize.Text = mylist[2].ToString();
  60.             //上传文件是否自动改名
  61.             for (int i = 0; i < this.autoname.Items.Count; i++)
  62.             {
  63.                 if (this.autoname.Items[i].Value.Equals(mylist[3].ToString()))
  64.                 {
  65.                     this.autoname.Items[i].Selected = true;
  66.                 }
  67.             }
  68.             //是否允许上传
  69.             for (int i = 0; i < this.allowUpload.Items.Count; i++)
  70.             {
  71.                 if (this.allowUpload.Items[i].Value.Equals(mylist[4].ToString()))
  72.                 {
  73.                     this.allowUpload.Items[i].Selected = true;
  74.                 }
  75.             }
  76.             //在上传界面启用水印选择
  77.             for (int i = 0; i < this.watermarkOption.Items.Count; i++)
  78.             {
  79.                 if (this.watermarkOption.Items[i].Value.Equals(mylist[5].ToString()))
  80.                 {
  81.                     this.watermarkOption.Items[i].Selected = true;
  82.                 }
  83.             }
  84.             //启用上传图片的文字水印
  85.             for (int i = 0; i < watermark.Items.Count; i++)
  86.             {
  87.                 if (this.watermark.Items[i].Value.Equals(mylist[6].ToString()))
  88.                 {
  89.                     this.watermark.Items[i].Selected = true;
  90.                 }
  91.             }
  92.             //开启文字水印后是否保留原件并新建副本
  93.             for (int i = 0; i < this.watermarkName.Items.Count; i++)
  94.             {
  95.                 if (this.watermarkName.Items[i].Value.Equals(mylist[7].ToString()))
  96.                 {
  97.                     this.watermarkName.Items[i].Selected = true;
  98.                 }
  99.             }
  100.             //水印文字
  101.             this.watermarkText.Text = mylist[8].ToString();
  102.             //是否启用上传图片的图片水印
  103.             for (int i = 0; i < this.watermarkImages.Items.Count; i++)
  104.             {
  105.                 if (this.watermarkImages.Items[i].Value.Equals(mylist[9].ToString()))
  106.                 {
  107.                     this.watermarkImages.Items[i].Selected = true;
  108.                 }
  109.             }
  110.             //图片水印后是否保留原件并新建副本
  111.             for (int i = 0; i < watermarkImagesName.Items.Count; i++)
  112.             {
  113.                 if (this.watermarkImagesName.Items[i].Value.Equals(mylist[10].ToString()))
  114.                 {
  115.                     this.watermarkImagesName.Items[i].Selected = true;
  116.                 }
  117.             }
  118.             //图片水印所在的位置
  119.             this.watermarkImages_path.Text = mylist[11].ToString();
  120.             //是否启用缩略图
  121.             for (int i = 0; i < this.smallImages.Items.Count; i++)
  122.             {
  123.                 if (this.smallImages.Items[i].Value.Equals(mylist[12].ToString()))
  124.                 {
  125.                     this.smallImages.Items[i].Selected = true;
  126.                 }
  127.             }
  128.             //开启缩略图后是否保留原件并新建副本
  129.             for (int i = 0; i < this.smallImagesName.Items.Count; i++)
  130.             {
  131.                 if (this.smallImagesName.Items[i].Value.Equals(mylist[13].ToString()))
  132.                 {
  133.                     this.smallImagesName.Items[i].Selected = true;
  134.                 }
  135.             }
  136.             //缩略图缩放类型,HW:指定高宽缩放(可能变形)。W:指定宽,高按比例。H:指定高,宽按比例。Cut:指定高宽裁减(不变形)
  137.             for (int i = 0; i < this.smallImagesType.Items.Count; i++)
  138.             {
  139.                 if (this.smallImagesType.Items[i].Text.Equals(mylist[14].ToString()))
  140.                 {
  141.                     this.smallImagesType.Items[i].Selected = true;
  142.                 }
  143.             }
  144.             //缩略图宽度
  145.             this.smallImagesW.Text = mylist[15].ToString();
  146.             //缩略图高度
  147.             this.smallImagesH.Text = mylist[16].ToString();
  148.             //是否允许删除文件
  149.             for (int i = 0; i < this.delete.Items.Count; i++)
  150.             {
  151.                 if (this.delete.Items[i].Value.Equals(mylist[17].ToString()))
  152.                 {
  153.                     this.delete.Items[i].Selected = true;
  154.                 }
  155.             }
  156.             //是否允许文件重命名
  157.             for (int i = 0; i < this.edit.Items.Count; i++)
  158.             {
  159.                 if (this.edit.Items[i].Value.Equals(mylist[18].ToString()))
  160.                 {
  161.                     this.edit.Items[i].Selected = true;
  162.                 }
  163.             }
  164.             //是否显示文件列表
  165.             for (int i = 0; i < this.fileListBox.Items.Count; i++)
  166.             {
  167.                 if (this.fileListBox.Items[i].Value.Equals(mylist[19].ToString()))
  168.                 {
  169.                     this.fileListBox.Items[i].Selected = true;
  170.                 }
  171.             }
  172.             //上传文件功能可上传的文件类型
  173.             this.fileFilters.Text = mylist[20].ToString();
  174.             //上传图片功能可上传的文件类型
  175.             this.imagesFilters.Text = mylist[21].ToString();
  176.             //上传自动播放文件功能可上传的文件类型
  177.             this.mediaFilters.Text = mylist[22].ToString();
  178.             //上传模板功能可上传的文件类型
  179.             this.templateFilters.Text = mylist[23].ToString();
  180.             _box = new doctextboxdb();
  181.             System.Collections.ArrayList mylist2 = _box.get_the_xmlmessage(Server.MapPath("./system_dntb/advanced.config"));
  182.             if (mylist2.Count >= this.CheckBoxList1.Items.Count)
  183.             {
  184.                 for (int i = 0; i < this.CheckBoxList1.Items.Count; i++)
  185.                 {
  186.                     if (mylist2[i + 1].ToString().Equals("1"))
  187.                     {
  188.                         this.CheckBoxList1.Items[i].Selected = true;
  189.                     }
  190.                     else
  191.                     {
  192.                         this.CheckBoxList1.Items[i].Selected = false;
  193.                     }
  194.                 }
  195.             }
  196.         }
  197.         /// <summary>
  198.         /// 上传图片到textbox
  199.         /// </summary>
  200.         /// <param name="sender"></param>
  201.         /// <param name="e"></param>
  202.         protected void Button2_Click(object sender, EventArgs e)
  203.         {
  204.             if (this.FileUpload1.PostedFile.FileName != null && this.FileUpload1.PostedFile.FileName != "" && this.FileUpload1.PostedFile.ContentLength <= Double.Parse(this.maxSingleUploadSize.Text) * 1024)
  205.             {
  206.                 this.FileUpload1.PostedFile.SaveAs(Server.MapPath("system_dntb/upload/logo.gif"));
  207.                 this.watermarkImages_path.Text = "upload/logo.gif";
  208.                 ClientScript.RegisterStartupScript(typeof(Page), "Key", "alert('上传成功!')", true);
  209.             }
  210.             else
  211.             {
  212.                 ClientScript.RegisterStartupScript(typeof(Page), "Key", "alert('上传失败,文件超过限制大小或文件名为空!')", true);
  213.             }
  214.         }
  215.         /// <summary>
  216.         /// 设置上传文件夹的最大可用空间(单位KB)
  217.         /// </summary>
  218.         /// <param name="sender"></param>
  219.         /// <param name="e"></param>
  220.         protected void Button3_Click(object sender, EventArgs e)
  221.         {
  222.             xml_update(Button3, "maxAllUploadSize", maxAllUploadSize.Text.Trim());
  223.         }
  224.         /// <summary>
  225.         /// 设置上传文件单个的最大尺寸(单位KB)
  226.         /// </summary>
  227.         /// <param name="sender"></param>
  228.         /// <param name="e"></param>
  229.         protected void Button1_Click(object sender, EventArgs e)
  230.         {
  231.             xml_update(Button1, "maxSingleUploadSize", maxSingleUploadSize.Text.Trim());
  232.         }
  233.         /// <summary>
  234.         /// 设置上传文件是否自动改名
  235.         /// </summary>
  236.         /// <param name="sender"></param>
  237.         /// <param name="e"></param>
  238.         protected void Button4_Click(object sender, EventArgs e)
  239.         {
  240.             xml_update(Button4, "autoname", autoname.SelectedValue);
  241.         }
  242.         /// <summary>
  243.         /// 设置是否允许上传
  244.         /// </summary>
  245.         /// <param name="sender"></param>
  246.         /// <param name="e"></param>
  247.         protected void Button5_Click(object sender, EventArgs e)
  248.         {
  249.             xml_update(Button5, "allowUpload", allowUpload.SelectedValue);
  250.         }
  251.         /// <summary>
  252.         /// 通用帮助函数
  253.         /// </summary>
  254.         /// <param name="button"></param>
  255.         /// <param name="jiedianname"></param>
  256.         /// <param name="the_value"></param>
  257.         private void xml_update(Button button, string jiedianname, string the_value)
  258.         {
  259.             boxdb = new doctextboxdb();
  260.             string path;
  261.             if (Request.Cookies["uploadConfig"] != null)
  262.             {
  263.                 //获取配置文件内容
  264.                 path = Request.Cookies["uploadConfig"].Value.ToLower();
  265.             }
  266.             else
  267.             {
  268.                 path = HttpContext.Current.Request.PhysicalApplicationPath + "/system_dntb/uploadconfig/default.config";
  269.             }
  270.             bool check = boxdb.update_xml(path, "configuration", jiedianname, the_value);
  271.             if (check) { button.Text = "更新成功"; } else { button.Text = "更新失败,点击重新更新"; }
  272.             ClientScript.RegisterStartupScript(typeof(Page), "Key", "alert('更新成功!')", true);
  273.         }
  274.         /// <summary>
  275.         /// 是否在上传界面启用水印选择的选项on为开启,off为关闭
  276.         /// </summary>
  277.         /// <param name="sender"></param>
  278.         /// <param name="e"></param>
  279.         protected void Button6_Click(object sender, EventArgs e)
  280.         {
  281.             xml_update(Button6, "watermarkOption", watermarkOption.SelectedValue);
  282.             if (watermarkOption.SelectedItem.Text == "否")
  283.             {
  284.                 watermark.Enabled = false;
  285.                 watermarkName.Enabled = false;
  286.                 watermarkText.Enabled = false;
  287.                 watermarkImages.Enabled = false;
  288.                 watermarkImagesName.Enabled = false;
  289.                 watermarkImages_path.Enabled = false;
  290.                 this.FileUpload1.Enabled = false;
  291.                 Button2.Enabled = false;
  292.                 imagesFilters.Enabled = false;
  293.                 this.Button7.Enabled = false;
  294.                 this.Button8.Enabled = false;
  295.                 this.Button9.Enabled = false;
  296.                 this.Button10.Enabled = false;
  297.                 this.Button11.Enabled = false;
  298.                 this.Button12.Enabled = false;
  299.                 this.Button22.Enabled = false;
  300.             }
  301.             else
  302.             {
  303.                 watermark.Enabled = true;
  304.                 watermarkName.Enabled = true;
  305.                 watermarkText.Enabled = true;
  306.                 watermarkImages.Enabled = true;
  307.                 watermarkImagesName.Enabled = true;
  308.                 watermarkImages_path.Enabled = true;
  309.                 this.FileUpload1.Enabled = true;
  310.                 Button2.Enabled = true;
  311.                 imagesFilters.Enabled = true;
  312.                 this.Button7.Enabled = true;
  313.                 this.Button8.Enabled = true;
  314.                 this.Button9.Enabled = true;
  315.                 this.Button10.Enabled = true;
  316.                 this.Button11.Enabled = true;
  317.                 this.Button12.Enabled = true;
  318.                 this.Button22.Enabled = true;
  319.             }
  320.         }
  321.         /// <summary>
  322.         /// 是否启用上传图片的文字水印
  323.         /// </summary>
  324.         /// <param name="sender"></param>
  325.         /// <param name="e"></param>
  326.         protected void Button7_Click(object sender, EventArgs e)
  327.         {
  328.             xml_update(Button7, "watermark", watermark.SelectedValue);
  329.             if (watermark.SelectedItem.Text == "否")
  330.             {
  331.                 watermarkName.Enabled = false;
  332.                 watermarkText.Enabled = false;
  333.             }
  334.             else
  335.             {
  336.                 watermarkName.Enabled = true;
  337.                 watermarkText.Enabled = true;
  338.             }
  339.         }
  340.         /// <summary>
  341.         /// 开启文字水印后是否保留原件并新建副本,false为不新建,false以外的字符则新建副本,副本名称以该字符加原文件名命名
  342.         /// </summary>
  343.         /// <param name="sender"></param>
  344.         /// <param name="e"></param>
  345.         protected void Button8_Click(object sender, EventArgs e)
  346.         {
  347.             xml_update(Button8, "watermarkName", watermarkName.SelectedValue);
  348.         }
  349.         /// <summary>
  350.         /// 设置水印文字
  351.         /// </summary>
  352.         /// <param name="sender"></param>
  353.         /// <param name="e"></param>
  354.         protected void Button9_Click(object sender, EventArgs e)
  355.         {
  356.             xml_update(Button9, "watermarkText", watermarkText.Text.Trim());
  357.         }
  358.         /// <summary>
  359.         /// 是否启用上传图片的图片水印
  360.         /// </summary>
  361.         /// <param name="sender"></param>
  362.         /// <param name="e"></param>
  363.         protected void Button10_Click(object sender, EventArgs e)
  364.         {
  365.             xml_update(Button10, "watermarkImages", watermarkImages.SelectedValue);
  366.             if (watermarkImages.SelectedItem.Text == "否")
  367.             {
  368.                 watermarkImagesName.Enabled = false;
  369.                 watermarkImages_path.Enabled = false;
  370.                 this.Button2.Enabled = false;
  371.                 this.FileUpload1.Enabled = false;
  372.             }
  373.             else
  374.             {
  375.                 watermarkImagesName.Enabled = true;
  376.                 watermarkImages_path.Enabled = true;
  377.                 this.FileUpload1.Enabled = true;
  378.                 this.Button2.Enabled = true;
  379.             }
  380.         }
  381.         /// <summary>
  382.         /// 开启图片水印后是否保留原件并新建副本,false为不新建,false以外的字符则新建副本,副本名称以该字符加原文件名命名
  383.         /// </summary>
  384.         /// <param name="sender"></param>
  385.         /// <param name="e"></param>
  386.         protected void Button11_Click(object sender, EventArgs e)
  387.         {
  388.             xml_update(Button11, "watermarkImagesName", watermarkImagesName.SelectedValue);
  389.         }
  390.         /// <summary>
  391.         /// 设置图片水印所在的位置
  392.         /// </summary>
  393.         /// <param name="sender"></param>
  394.         /// <param name="e"></param>
  395.         protected void Button12_Click(object sender, EventArgs e)
  396.         {
  397.             xml_update(Button12, "watermarkImages_path", watermarkImages_path.Text.Trim());
  398.         }
  399.         /// <summary>
  400.         /// 是否启用缩略图
  401.         /// </summary>
  402.         /// <param name="sender"></param>
  403.         /// <param name="e"></param>
  404.         protected void Button13_Click(object sender, EventArgs e)
  405.         {
  406.             xml_update(Button13, "smallImages", smallImages.SelectedValue);
  407.             if (smallImages.SelectedItem.Text == "否")
  408.             {
  409.                 smallImagesName.Enabled = false;
  410.                 smallImagesType.Enabled = false;
  411.                 smallImagesW.Enabled = false;
  412.                 smallImagesH.Enabled = false;
  413.             }
  414.             else
  415.             {
  416.                 smallImagesName.Enabled = true;
  417.                 smallImagesType.Enabled = true;
  418.                 smallImagesW.Enabled = true;
  419.                 smallImagesH.Enabled = true;
  420.             }
  421.         }
  422.         /// <summary>
  423.         /// 开启缩略图后是否保留原件并新建副本,false为不新建,false以外的字符则新建副本,副本名称以该字符加原文件名命名
  424.         /// </summary>
  425.         /// <param name="sender"></param>
  426.         /// <param name="e"></param>
  427.         protected void Button14_Click(object sender, EventArgs e)
  428.         {
  429.             xml_update(Button14, "smallImagesName", smallImagesName.SelectedValue);
  430.         }
  431.         /// <summary>
  432.         /// 缩略图缩放类型,HW:指定高宽缩放(可能变形)。W:指定宽,高按比例。H:指定高,宽按比例。Cut:指定高宽裁减(不变形)
  433.         /// </summary>
  434.         /// <param name="sender"></param>
  435.         /// <param name="e"></param>
  436.         protected void Button15_Click(object sender, EventArgs e)
  437.         {
  438.             xml_update(Button15, "smallImagesType", smallImagesType.SelectedItem.Text);
  439.         }
  440.         /// <summary>
  441.         /// 缩略图宽度
  442.         /// </summary>
  443.         /// <param name="sender"></param>
  444.         /// <param name="e"></param>
  445.         protected void Button16_Click(object sender, EventArgs e)
  446.         {
  447.             xml_update(Button16, "smallImagesW", smallImagesW.Text.Trim());
  448.         }
  449.         /// <summary>
  450.         /// 缩略图高度
  451.         /// </summary>
  452.         /// <param name="sender"></param>
  453.         /// <param name="e"></param>
  454.         protected void Button17_Click(object sender, EventArgs e)
  455.         {
  456.             xml_update(Button17, "smallImagesH", smallImagesH.Text.Trim());
  457.         }
  458.         /// <summary>
  459.         /// 是否允许删除文件
  460.         /// </summary>
  461.         /// <param name="sender"></param>
  462.         /// <param name="e"></param>
  463.         protected void Button18_Click(object sender, EventArgs e)
  464.         {
  465.             xml_update(Button18, "delete", delete.SelectedValue);
  466.         }
  467.         /// <summary>
  468.         /// 是否允许文件重命名
  469.         /// </summary>
  470.         /// <param name="sender"></param>
  471.         /// <param name="e"></param>
  472.         protected void Button19_Click(object sender, EventArgs e)
  473.         {
  474.             xml_update(Button19, "edit", edit.SelectedValue);
  475.         }
  476.         /// <summary>
  477.         /// 是否显示文件列表
  478.         /// </summary>
  479.         /// <param name="sender"></param>
  480.         /// <param name="e"></param>
  481.         protected void Button20_Click(object sender, EventArgs e)
  482.         {
  483.             xml_update(Button20, "fileListBox", fileListBox.SelectedValue);
  484.         }
  485.         /// <summary>
  486.         /// 传文件功能可上传的文件类型
  487.         /// </summary>
  488.         /// <param name="sender"></param>
  489.         /// <param name="e"></param>
  490.         protected void Button21_Click(object sender, EventArgs e)
  491.         {
  492.             xml_update(Button21, "fileFilters", fileFilters.Text.Trim());
  493.         }
  494.         /// <summary>
  495.         /// 上传图片功能可上传的文件类型
  496.         /// </summary>
  497.         /// <param name="sender"></param>
  498.         /// <param name="e"></param>
  499.         protected void Button22_Click(object sender, EventArgs e)
  500.         {
  501.             xml_update(Button22, "imagesFilters", imagesFilters.Text.Trim());
  502.         }
  503.         /// <summary>
  504.         /// 上传自动播放文件功能可上传的文件类型
  505.         /// </summary>
  506.         /// <param name="sender"></param>
  507.         /// <param name="e"></param>
  508.         protected void Button23_Click(object sender, EventArgs e)
  509.         {
  510.             xml_update(Button23, "mediaFilters", mediaFilters.Text.Trim());
  511.         }
  512.         /// <summary>
  513.         /// 上传自动播放文件功能可上传的文件类型
  514.         /// </summary>
  515.         /// <param name="sender"></param>
  516.         /// <param name="e"></param>
  517.         protected void Button24_Click(object sender, EventArgs e)
  518.         {
  519.             xml_update(Button24, "templateFilters", templateFilters.Text.Trim());
  520.         }
  521.         protected void Wizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e)
  522.         {
  523.             ClientScript.RegisterStartupScript(typeof(Page), "Key", "window.close()", true);
  524.         }
  525.     </script>
  526. </head>
  527. <body>
  528.     <form id="form1" runat="server">
  529.         <asp:Wizard ID="Wizard1" runat="server" BackColor="#EFF3FB" BorderColor="#B5C7DE"
  530.             BorderWidth="1px" Font-Names="宋体" Font-Size="0.8em" ActiveStepIndex="0" style="font-size: 12pt" Height="600px" Width="800px" OnFinishButtonClick="Wizard1_FinishButtonClick">
  531.             <StepStyle Font-Size="0.8em" ForeColor="#333333" />
  532.             <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" HorizontalAlign="Center" Width="100px" />
  533.             <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
  534.                 BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
  535.             <WizardSteps>
  536.                 <asp:WizardStep runat="server" Title="第一步"><center>
  537.                 <table width="560">
  538.                         <tr>
  539.                             <td valign="top" style="width: 607px">
  540.                                 <fieldset style="text-align: left"><legend>向导说明</legend>
  541.                                     <center><span style="font-size: 14pt; font-family: Verdana; text-align:center">欢迎使用DotNetTextBox在线编辑器可视化配置向导!<br />
  542.                                     </span></center><br />
  543.                                     &nbsp; &nbsp; 向导将以可视化形式为用户配置编辑器的菜单功能设置(商业版提供)、多语言设置(商业版提供)、上传功能的设置、上传功能高级设置的配置!要注意的是,发布项目后请将此配置文件删除,以免被其它人在线恶意更改编辑器配置,如果您已经全部阅读过向导说明,请按下一步继续!</fieldset>
  544.                             </td>
  545.                         </tr>
  546.                     </table>
  547.                     <span style="font-size: 16pt; font-family: Verdana"><span style="font-size: 14pt">
  548.                         <br />
  549.                         <img src="system_dntb/img/logo_s.png" style="font-weight: bold" /><br />
  550.                         <br />
  551.                         <a href="http://www.aspxcn.com.cn" target=_blank>http://www.aspxcn.com.cn</a><br />
  552.                         <br />
  553.                         <a href="http://www.aspxcn.com.cn/demo/default.aspx">商业版在线演示</a><br />
  554.                         <br />
  555.                         <br />
  556.                     </span>
  557.                         <br />
  558.                         
  559.                     </span></center>
  560.                 </asp:WizardStep>
  561.                 <asp:WizardStep runat="server" Title="第二步"><table width="560">
  562.                     <tr>
  563.                         <td valign="top" style="width: 607px; height: 66px;">
  564.                             <fieldset style="text-align: left">
  565.                                 <legend>配置上传参数</legend>&nbsp; &nbsp; 配置默认上传功能的各种参数(system_dntb/uploadconfig/default.config),每修改一项请按对应的更新按键即可,全部修改完成后请按下一步继续!</fieldset>
  566.                         </td>
  567.                     </tr>
  568.                 </table>
  569.                     <table align="center" border="1" cellpadding="0" cellspacing="0" width="90%">
  570.                         <tr>
  571.                             <td colspan="2" style="height: 20px">
  572.                                 设置上传文件夹最大的可用空间(单位KB)</td>
  573.                         </tr>
  574.                         <tr>
  575.                             <td style="width: 90%; height: 20px">
  576.                                 <asp:TextBox ID="maxAllUploadSize" runat="server" Width="329px"></asp:TextBox>
  577.                                 <asp:RangeValidator ID="RangeValidator1" runat="server" BackColor="White" BorderColor="Red"
  578.                                     BorderWidth="1px" ControlToValidate="maxAllUploadSize" ErrorMessage="必须是整数,而且最小0"
  579.                                     MinimumValue="0" Type="Double" EnableClientScript="False" MaximumValue="99999999999999"></asp:RangeValidator>
  580.                             </td>
  581.                             <td style="height: 20px; text-align: right">
  582.                                 <asp:Button ID="Button3" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button3_Click"
  583.                                     Text="更新" Width="112px" />
  584.                             </td>
  585.                         </tr>
  586.                         <tr>
  587.                             <td colspan="2" style="height: 25px">
  588.                                 设置上传文件单个的最大尺寸(单位KB)</td>
  589.                         </tr>
  590.                         <tr>
  591.                             <td style="width: 90%; height: 25px">
  592.                                 <asp:TextBox ID="maxSingleUploadSize" runat="server" Width="328px"></asp:TextBox>
  593.                                 <asp:RangeValidator ID="RangeValidator2" runat="server" BackColor="White" BorderColor="Red"
  594.                                     BorderWidth="1px" ControlToValidate="maxSingleUploadSize" MaximumValue="99999999999999" ErrorMessage="必须是整数,而且最小0"
  595.                                     MinimumValue="0" Type="Double"></asp:RangeValidator>
  596.                             </td>
  597.                             <td style="height: 25px; text-align: right">
  598.                                 <asp:Button ID="Button1" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button1_Click"
  599.                                     Text="更新" Width="112px" />
  600.                             </td>
  601.                         </tr>
  602.                         <tr>
  603.                             <td colspan="2" style="height: 25px">
  604.                                 设置上传文件是否自动改名</td>
  605.                         </tr>
  606.                         <tr>
  607.                             <td style="width: 90%; height: 25px">
  608.                                 <asp:RadioButtonList ID="autoname" runat="server" BackColor="White" RepeatDirection="Horizontal"
  609.                                     Width="328px">
  610.                                     <asp:ListItem Value="false">否</asp:ListItem>
  611.                                     <asp:ListItem Value="true">是</asp:ListItem>
  612.                                 </asp:RadioButtonList>
  613.                             </td>
  614.                             <td style="height: 25px; text-align: right">
  615.                                 <asp:Button ID="Button4" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button4_Click"
  616.                                     Text="更新" Width="112px" />
  617.                             </td>
  618.                         </tr>
  619.                         <tr>
  620.                             <td colspan="2" style="height: 25px">
  621.                                 设置是否允许上传</td>
  622.                         </tr>
  623.                         <tr>
  624.                             <td style="width: 90%; height: 25px">
  625.                                 <asp:RadioButtonList ID="allowUpload" runat="server" BackColor="White" RepeatDirection="Horizontal"
  626.                                     Width="328px">
  627.                                     <asp:ListItem Value="false">否</asp:ListItem>
  628.                                     <asp:ListItem Value="true">是</asp:ListItem>
  629.                                 </asp:RadioButtonList>
  630.                             </td>
  631.                             <td style="height: 25px; text-align: right">
  632.                                 <asp:Button ID="Button5" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button5_Click"
  633.                                     Text="更新" Width="112px" />
  634.                             </td>
  635.                         </tr>
  636.                         <tr>
  637.                             <td colspan="2" style="height: 25px">
  638.                                 是否在上传界面启用水印选择</td>
  639.                         </tr>
  640.                         <tr>
  641.                             <td style="width: 90%; height: 25px">
  642.                                 <asp:RadioButtonList ID="watermarkOption" runat="server" BackColor="White" RepeatDirection="Horizontal"
  643.                                     Width="328px">
  644.                                     <asp:ListItem Value="off">否</asp:ListItem>
  645.                                     <asp:ListItem Value="on">是</asp:ListItem>
  646.                                 </asp:RadioButtonList>
  647.                             </td>
  648.                             <td style="height: 25px; text-align: right">
  649.                                 <asp:Button ID="Button6" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button6_Click"
  650.                                     Text="更新" Width="112px" />
  651.                             </td>
  652.                         </tr>
  653.                         <tr>
  654.                             <td colspan="2" style="height: 25px">
  655.                                 是否启用上传图片的文字水印</td>
  656.                         </tr>
  657.                         <tr>
  658.                             <td style="width: 90%; height: 25px">
  659.                                 <asp:RadioButtonList ID="watermark" runat="server" BackColor="White" RepeatDirection="Horizontal"
  660.                                     Width="328px">
  661.                                     <asp:ListItem Value="false">否</asp:ListItem>
  662.                                     <asp:ListItem Value="true">是</asp:ListItem>
  663.                                 </asp:RadioButtonList>
  664.                             </td>
  665.                             <td style="height: 25px; text-align: right">
  666.                                 <asp:Button ID="Button7" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button7_Click"
  667.                                     Text="更新" Width="112px" />
  668.                             </td>
  669.                         </tr>
  670.                         <tr>
  671.                             <td colspan="2" style="height: 25px">
  672.                                 开启文字水印后是否保留原件并新建副本</td>
  673.                         </tr>
  674.                         <tr>
  675.                             <td style="width: 90%; height: 25px">
  676.                                 <asp:RadioButtonList ID="watermarkName" runat="server" BackColor="White" RepeatDirection="Horizontal"
  677.                                     Width="328px">
  678.                                     <asp:ListItem Value="false">否</asp:ListItem>
  679.                                     <asp:ListItem Value="true">是</asp:ListItem>
  680.                                 </asp:RadioButtonList>
  681.                             </td>
  682.                             <td style="height: 25px; text-align: right">
  683.                                 <asp:Button ID="Button8" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button8_Click"
  684.                                     Text="更新" Width="112px" />
  685.                             </td>
  686.                         </tr>
  687.                         <tr>
  688.                             <td colspan="2" style="height: 25px">
  689.                                 设置水印文字</td>
  690.                         </tr>
  691.                         <tr>
  692.                             <td style="width: 90%; height: 25px">
  693.                                 <asp:TextBox ID="watermarkText" runat="server" Width="325px"></asp:TextBox>
  694.                                 &nbsp;
  695.                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" BackColor="White"
  696.                                     BorderColor="Red" BorderWidth="1px" ControlToValidate="watermarkText" ErrorMessage="不能为空"
  697.                                     Width="107px"></asp:RequiredFieldValidator>
  698.                             </td>
  699.                             <td style="height: 25px; text-align: right">
  700.                                 <asp:Button ID="Button9" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button9_Click"
  701.                                     Text="更新" Width="112px" />
  702.                             </td>
  703.                         </tr>
  704.                         <tr>
  705.                             <td colspan="2" style="height: 25px">
  706.                                 是否启用上传图片的图片水印</td>
  707.                         </tr>
  708.                         <tr>
  709.                             <td style="width: 90%; height: 25px">
  710.                                 <asp:RadioButtonList ID="watermarkImages" runat="server" BackColor="White" RepeatDirection="Horizontal"
  711.                                     Width="328px">
  712.                                     <asp:ListItem Value="false">否</asp:ListItem>
  713.                                     <asp:ListItem Value="true">是</asp:ListItem>
  714.                                 </asp:RadioButtonList>
  715.                             </td>
  716.                             <td style="height: 25px; text-align: right">
  717.                                 <asp:Button ID="Button10" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button10_Click"
  718.                                     Text="更新" Width="112px" />
  719.                             </td>
  720.                         </tr>
  721.                         <tr>
  722.                             <td colspan="2" style="height: 25px">
  723.                                 开启图片水印后是否保留原件并新建副本</td>
  724.                         </tr>
  725.                         <tr>
  726.                             <td style="width: 90%; height: 25px">
  727.                                 <asp:RadioButtonList ID="watermarkImagesName" runat="server" BackColor="White" RepeatDirection="Horizontal"
  728.                                     Width="328px">
  729.                                     <asp:ListItem Value="false">否</asp:ListItem>
  730.                                     <asp:ListItem Value="true">是</asp:ListItem>
  731.                                 </asp:RadioButtonList>
  732.                             </td>
  733.                             <td style="height: 25px; text-align: right">
  734.                                 <asp:Button ID="Button11" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button11_Click"
  735.                                     Text="更新" Width="112px" />
  736.                             </td>
  737.                         </tr>
  738.                         <tr>
  739.                             <td colspan="2" style="height: 25px">
  740.                                 设置图片水印所在的位置(自动存为logo.gif)</td>
  741.                         </tr>
  742.                         <tr>
  743.                             <td style="width: 90%; height: 25px">
  744.                                 <asp:TextBox ID="watermarkImages_path" runat="server" Width="326px"></asp:TextBox>
  745.                                 <br />
  746.                                 <asp:FileUpload ID="FileUpload1" runat="server" Width="326px" />
  747.                                 <asp:Button ID="Button2" runat="server" Height="19px" OnClick="Button2_Click" Text="上传"
  748.                                     Width="71px" />
  749.                             </td>
  750.                             <td style="height: 25px; text-align: right">
  751.                                 <asp:Button ID="Button12" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button12_Click"
  752.                                     Text="更新" Width="112px" />
  753.                             </td>
  754.                         </tr>
  755.                         <tr>
  756.                             <td colspan="2" style="height: 25px">
  757.                                 是否启用缩略图</td>
  758.                         </tr>
  759.                         <tr>
  760.                             <td style="width: 90%; height: 25px">
  761.                                 <asp:RadioButtonList ID="smallImages" runat="server" BackColor="White" RepeatDirection="Horizontal"
  762.                                     Width="328px">
  763.                                     <asp:ListItem Value="false">否</asp:ListItem>
  764.                                     <asp:ListItem Value="true">是</asp:ListItem>
  765.                                 </asp:RadioButtonList>
  766.                             </td>
  767.                             <td style="height: 25px; text-align: right">
  768.                                 <asp:Button ID="Button13" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button13_Click"
  769.                                     Text="更新" Width="112px" />
  770.                             </td>
  771.                         </tr>
  772.                         <tr>
  773.                             <td colspan="2" style="height: 25px">
  774.                                 开启缩略图后是否保留原件并新建副本</td>
  775.                         </tr>
  776.                         <tr>
  777.                             <td style="width: 90%; height: 25px">
  778.                                 <asp:RadioButtonList ID="smallImagesName" runat="server" BackColor="White" RepeatDirection="Horizontal"
  779.                                     Width="328px">
  780.                                     <asp:ListItem Value="false">否</asp:ListItem>
  781.                                     <asp:ListItem Value="true">是</asp:ListItem>
  782.                                 </asp:RadioButtonList>
  783.                             </td>
  784.                             <td style="height: 25px; text-align: right">
  785.                                 <asp:Button ID="Button14" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button14_Click"
  786.                                     Text="更新" Width="112px" />
  787.                             </td>
  788.                         </tr>
  789.                         <tr>
  790.                             <td colspan="2" style="height: 25px">
  791.                                 缩略图缩放类型,HW:指定高宽缩放(可能变形)。W:指定宽,高按比例。H:指定高,宽按比例。Cut:指定高宽裁减(不变形)</td>
  792.                         </tr>
  793.                         <tr>
  794.                             <td style="width: 90%; height: 25px">
  795.                                 <asp:RadioButtonList ID="smallImagesType" runat="server" BackColor="White" RepeatDirection="Horizontal"
  796.                                     Width="324px">
  797.                                     <asp:ListItem>HW</asp:ListItem>
  798.                                     <asp:ListItem>W</asp:ListItem>
  799.                                     <asp:ListItem>H</asp:ListItem>
  800.                                     <asp:ListItem>CUT</asp:ListItem>
  801.                                 </asp:RadioButtonList>
  802.                             </td>
  803.                             <td style="height: 25px; text-align: right">
  804.                                 <asp:Button ID="Button15" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button15_Click"
  805.                                     Text="更新" Width="112px" />
  806.                             </td>
  807.                         </tr>
  808.                         <tr>
  809.                             <td colspan="2" style="height: 25px">
  810.                                 缩略图宽度</td>
  811.                         </tr>
  812.                         <tr>
  813.                             <td style="width: 90%; height: 25px">
  814.                                 <asp:TextBox ID="smallImagesW" runat="server" Width="323px"></asp:TextBox>
  815.                                 <asp:RangeValidator ID="RangeValidator3" runat="server" BackColor="White" BorderColor="Red"
  816.                                     BorderWidth="1px" ControlToValidate="smallImagesW" ErrorMessage="必须是整数,不能为负数"
  817.                                     MinimumValue="0" MaximumValue="9999" Type="Double"></asp:RangeValidator>
  818.                             </td>
  819.                             <td style="height: 25px; text-align: right">
  820.                                 <asp:Button ID="Button16" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button16_Click"
  821.                                     Text="更新" Width="112px" />
  822.                             </td>
  823.                         </tr>
  824.                         <tr>
  825.                             <td colspan="2" style="height: 25px">
  826.                                 缩略图高度</td>
  827.                         </tr>
  828.                         <tr>
  829.                             <td style="width: 90%; height: 25px">
  830.                                 <asp:TextBox ID="smallImagesH" runat="server" Width="322px"></asp:TextBox>
  831.                                 <asp:RangeValidator ID="RangeValidator4" runat="server" BackColor="White" BorderColor="Red"
  832.                                     BorderWidth="1px" ControlToValidate="smallImagesH" MaximumValue="9999" ErrorMessage="必须是整数,不能为负数"
  833.                                     MinimumValue="0" Type="Double"></asp:RangeValidator>
  834.                             </td>
  835.                             <td style="height: 25px; text-align: right">
  836.                                 <asp:Button ID="Button17" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button17_Click"
  837.                                     Text="更新" Width="112px" />
  838.                             </td>
  839.                         </tr>
  840.                         <tr>
  841.                             <td colspan="2" style="height: 25px">
  842.                                 是否允许删除文件</td>
  843.                         </tr>
  844.                         <tr>
  845.                             <td style="width: 90%; height: 25px">
  846.                                 <asp:RadioButtonList ID="delete" runat="server" BackColor="White" RepeatDirection="Horizontal"
  847.                                     Width="328px">
  848.                                     <asp:ListItem Value="false">否</asp:ListItem>
  849.                                     <asp:ListItem Value="true">是</asp:ListItem>
  850.                                 </asp:RadioButtonList>
  851.                             </td>
  852.                             <td style="height: 25px; text-align: right">
  853.                                 <asp:Button ID="Button18" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button18_Click"
  854.                                     Text="更新" Width="112px" />
  855.                             </td>
  856.                         </tr>
  857.                         <tr>
  858.                             <td colspan="2" style="height: 25px">
  859.                                 是否允许文件重命名</td>
  860.                         </tr>
  861.                         <tr>
  862.                             <td style="width: 90%; height: 25px">
  863.                                 <asp:RadioButtonList ID="edit" runat="server" BackColor="White" RepeatDirection="Horizontal"
  864.                                     Width="328px">
  865.                                     <asp:ListItem Value="false">否</asp:ListItem>
  866.                                     <asp:ListItem Value="true">是</asp:ListItem>
  867.                                 </asp:RadioButtonList>
  868.                             </td>
  869.                             <td style="height: 25px; text-align: right">
  870.                                 <asp:Button ID="Button19" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button19_Click"
  871.                                     Text="更新" Width="112px" />
  872.                             </td>
  873.                         </tr>
  874.                         <tr>
  875.                             <td colspan="2" style="height: 25px">
  876.                                 是否显示文件列表</td>
  877.                         </tr>
  878.                         <tr>
  879.                             <td style="width: 90%; height: 25px">
  880.                                 <asp:RadioButtonList ID="fileListBox" runat="server" BackColor="White" RepeatDirection="Horizontal"
  881.                                     Width="328px">
  882.                                     <asp:ListItem Value="false">否</asp:ListItem>
  883.                                     <asp:ListItem Value="true">是</asp:ListItem>
  884.                                 </asp:RadioButtonList>
  885.                             </td>
  886.                             <td style="height: 25px; text-align: right">
  887.                                 <asp:Button ID="Button20" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button20_Click"
  888.                                     Text="更新" Width="112px" />
  889.                             </td>
  890.                         </tr>
  891.                         <tr>
  892.                             <td colspan="2" style="height: 25px">
  893.                                 上传文件功能可上传的文件类型</td>
  894.                         </tr>
  895.                         <tr>
  896.                             <td style="width: 90%; height: 25px">
  897.                                 <asp:TextBox ID="fileFilters" runat="server" Width="328px"></asp:TextBox>
  898.                             </td>
  899.                             <td style="height: 25px; text-align: right">
  900.                                 <asp:Button ID="Button21" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button21_Click"
  901.                                     Text="更新" Width="112px" />
  902.                             </td>
  903.                         </tr>
  904.                         <tr>
  905.                             <td colspan="2" style="height: 25px">
  906.                                 上传图片功能可上传的文件类型</td>
  907.                         </tr>
  908.                         <tr>
  909.                             <td style="width: 90%; height: 25px">
  910.                                 <asp:TextBox ID="imagesFilters" runat="server" Width="328px"></asp:TextBox>
  911.                             </td>
  912.                             <td style="height: 25px; text-align: right">
  913.                                 <asp:Button ID="Button22" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button22_Click"
  914.                                     Text="更新" Width="112px" />
  915.                             </td>
  916.                         </tr>
  917.                         <tr>
  918.                             <td colspan="2" style="height: 25px">
  919.                                 上传自动播放文件功能可上传的文件类型</td>
  920.                         </tr>
  921.                         <tr>
  922.                             <td style="width: 90%; height: 25px">
  923.                                 <asp:TextBox ID="mediaFilters" runat="server" Width="328px"></asp:TextBox>
  924.                             </td>
  925.                             <td style="height: 25px; text-align: right">
  926.                                 <asp:Button ID="Button23" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button23_Click"
  927.                                     Text="更新" Width="112px" />
  928.                             </td>
  929.                         </tr>
  930.                         <tr>
  931.                             <td colspan="2" style="height: 25px; text-align: left">
  932.                                 上传模板功能可上传的文件类型</td>
  933.                         </tr>
  934.                         <tr>
  935.                             <td style="width: 90%; height: 25px">
  936.                                 <asp:TextBox ID="templateFilters" runat="server" Width="328px"></asp:TextBox>
  937.                             </td>
  938.                             <td style="height: 25px; text-align: right">
  939.                                 <asp:Button ID="Button24" runat="server" BorderColor="#E0E0E0" Height="24px" OnClick="Button24_Click"
  940.                                     Text="更新" Width="112px" />
  941.                             </td>
  942.                         </tr>
  943.                     </table>
  944.                 </asp:WizardStep>
  945.                 <asp:WizardStep runat="server" Title="第三步"><table width="560">
  946.                     <tr>
  947.                         <td valign="top" style="width: 607px; height: 66px;">
  948.                             <fieldset style="text-align: left">
  949.                                 <legend>配置上传功能的高级设置</legend>&nbsp;&nbsp; &nbsp; 配置访客在上传页面高级设置中可以使用那些功能(system_dntb/advanced.config),请勾选相应功能后点击确认设置按键即可使该功能在详细设置中可用,当设置全部完成后请按完成按键结束向导!</fieldset>
  950.                         </td>
  951.                     </tr>
  952.                 </table>
  953. <asp:CheckBoxList ID="CheckBoxList1" runat="server" Width="652px" style="font-size: 12px">
  954.     <asp:ListItem Value="maxAllUploadSize">设置上传文件夹的最大可用空间</asp:ListItem>
  955.     <asp:ListItem Value="maxSingleUploadSize">设置上传文件单个的最大尺寸</asp:ListItem>
  956.     <asp:ListItem Value="autoname">设置上传文件是否自动改名</asp:ListItem>
  957.     <asp:ListItem Value="allowUpload">设置是否允许上传是否起用</asp:ListItem>
  958.     <asp:ListItem Value="watermarkOption">是否在上传界面启用水印选择</asp:ListItem>
  959.     <asp:ListItem Value="watermark">是否启用上传图片的文字水印</asp:ListItem>
  960.     <asp:ListItem Value="watermarkName">开启文字水印后是否保留原件并新建副本</asp:ListItem>
  961.     <asp:ListItem Value="watermarkText">设置水印文字</asp:ListItem>
  962.     <asp:ListItem Value="watermarkImages">是否启用上传图片的图片水印</asp:ListItem>
  963.     <asp:ListItem Value="watermarkImagesName">开启图片水印后是否保留原件并新建副本</asp:ListItem>
  964.     <asp:ListItem Value="watermarkImages_path">开启设置图片水印所在的位置</asp:ListItem>
  965.     <asp:ListItem Value="smallImages">是否启用缩略图</asp:ListItem>
  966.     <asp:ListItem Value="smallImagesName">开启缩略图后是否保留原件并新建副本</asp:ListItem>
  967.     <asp:ListItem Value="smallImagesType">缩略图缩放类型</asp:ListItem>
  968.     <asp:ListItem Value="smallImagesW">缩略图宽度</asp:ListItem>
  969.     <asp:ListItem Value="smallImagesH">缩略图高度</asp:ListItem>
  970.     <asp:ListItem Value="delete">是否允许删除文件</asp:ListItem>
  971.     <asp:ListItem Value="edit">是否允许文件重命名</asp:ListItem>
  972.     <asp:ListItem Value="fileListBox">是否显示文件列表</asp:ListItem>
  973.     <asp:ListItem Value="fileFilters">上传文件功能可上传的文件类型</asp:ListItem>
  974.     <asp:ListItem Value="imagesFilters">上传图片功能可上传的文件类型</asp:ListItem>
  975.     <asp:ListItem Value="mediaFilters">上传自动播放文件功能可上传的文件类型</asp:ListItem>
  976.     <asp:ListItem Value="templateFilters">上传模板功能可上传的文件类型</asp:ListItem>
  977. </asp:CheckBoxList><br />
  978. <asp:Button ID="Yes" runat="server" OnClick="Yes_Click" Text="确认设置" Width="124px" />
  979.                 </asp:WizardStep>
  980.             </WizardSteps>
  981.                             
  982.             <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
  983.             <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px"
  984.                 Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />
  985.         </asp:Wizard>
  986.     </form>
  987. </body>
  988. </html>