上传头像到百度
This commit is contained in:
@@ -5,11 +5,17 @@
|
||||
<head runat="server">
|
||||
<title>人员管理</title>
|
||||
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
<style id="Style1" runat="server" type="text/css">
|
||||
.headImage { width:100px !important; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
<f:Panel ID="Panel1" runat="server" ShowHeader="false" ShowBorder="false" ColumnWidth="100%" MarginRight="5px" Layout="HBox">
|
||||
<Items>
|
||||
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true" BoxFlex="5"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
@@ -85,16 +91,8 @@
|
||||
</f:Image>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:FileUpload ID="filePhoto1" runat="server" ButtonText="上传头像到百度" ButtonOnly="true"
|
||||
AutoPostBack="true" OnFileSelected="filePhoto1_FileSelected">
|
||||
</f:FileUpload>
|
||||
<f:Image ID="imgPhoto1" CssClass="userphoto" runat="server" BoxFlex="1" MarginLeft="10px" CssStyle="width:300px;hight:400px" Width="300px" Height="400px">
|
||||
</f:Image>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
|
||||
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
@@ -114,6 +112,24 @@
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
|
||||
|
||||
|
||||
<f:Panel ID="Panel5" Title="面板1" BoxFlex="1" runat="server" ShowBorder="false" ShowHeader="false"
|
||||
Layout="VBox">
|
||||
<Items>
|
||||
<f:Image ID="imgPhoto1" CssClass="userphoto" ImageUrl="~/res/images/blank_150.png"
|
||||
runat="server" BoxFlex="1">
|
||||
</f:Image>
|
||||
<f:FileUpload ID="filePhoto1" runat="server" ButtonText="上传头像到百度" ButtonOnly="true"
|
||||
AutoPostBack="true" OnFileSelected="filePhoto1_FileSelected">
|
||||
</f:FileUpload>
|
||||
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<f:Window ID="Window1" runat="server" Hidden="true" IsModal="false" Target="Top"
|
||||
EnableMaximize="true" EnableResize="true" Title="弹出框" CloseAction="HidePostBack"
|
||||
EnableIFrame="true">
|
||||
|
||||
Reference in New Issue
Block a user