⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultcs.aspx

📁 Telerik是很大的第三方软件制造商
💻 ASPX
字号:
<%@ Register TagPrefix="radU" Namespace="Telerik.WebControls" Assembly="RadUpload" %>
<%@ Register TagPrefix="telerik" TagName="Footer" Src="~/Common/Footer.ascx" %>
<%@ Register TagPrefix="telerik" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="telerik" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>
<%@ Page Language="c#" Targetschema="http://schemas.microsoft.com/intellisense/ie5" CodeBehind="DefaultCS.aspx.cs" AutoEventWireup="false" Inherits="Telerik.UploadExamplesCSharp.OnlineJobEngine.DefaultCS" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
  <head>
		<telerik:headtag runat="server" id="Headtag1"></telerik:headtag>
		<link rel="stylesheet" type="text/css" href="ExampleFiles/JobApp.css"></link>
  </head>
	<body class="BODY">
		<form runat="server" id="mainForm" method="post" style="width:100%">
			<telerik:header runat="server" id="Header1" navigationlanguage="C#" XhtmlCompliant="false"></telerik:header>

			<asp:panel ID="pnlJobApplicationForm" Runat="server">
			<fieldset class="jobAppFieldset">
			<legend><img src="ExampleFiles/Img/hotJobsHeader.gif" width="228" height="93" alt="Hot Jobs" /></legend>
			<div class="jobApp">
				<img src="ExampleFiles/Img/registration.gif" width="96" height="15" alt="Hot Jobs" class="regImg" />
				<table cellpadding="0" cellspacing="0">
					<tr>
						<td style="vertical-align: top; text-align: left;">
							<div class="personalDetailsPane">
								<br /><br /><br />
								<table cellpadding="0" cellspacing="0" class="jobAppDetails" style="margin-left: 50px;">
									<tr>
										<td>
											<b>First:</b>
										</td>
										<td>
											<asp:textbox 
												runat="server" 
												id="txtFirstName"
												CssClass="jobAppTxt">
											</asp:textbox>
											<br />
											<asp:requiredfieldvalidator 
												id="firstNameRequiredValidator" 
												runat="server" 
												ErrorMessage="First name is mandatory" 
												ControlToValidate="txtFirstName" 
												Display="Dynamic">
											</asp:requiredfieldvalidator>
										</td>
									</tr>
									<tr>
										<td>
											<b>Last name:</b>
										</td>
										<td>
											<asp:textbox 
												runat="server" 
												id="txtLastName" 
												CssClass="jobAppTxt" >
											</asp:textbox>
											<br />
											<asp:requiredfieldvalidator 
												id="lastNameRequiredValidator" 
												runat="server" 
												ErrorMessage="Last name is mandatory" 
												ControlToValidate="txtLastName" 
												Display="Dynamic">
											</asp:requiredfieldvalidator>
										</td>
									</tr>
									<tr>
										<td><b>Address:</b></td>
										<td>
											<asp:textbox 
												runat="server" 
												id="txtAddress"
												textmode="MultiLine"
												rows="4" 
												CssClass="jobAppTxt"
												cols="20">
											</asp:textbox>
										</td>
									</tr>
									<tr>
										<td><b>Phone number:</b></td>
										<td>
											<asp:textbox 
												runat="server" 
												CssClass="jobAppTxt"
												id="txtPhone">
											</asp:textbox>
										</td>
									</tr>
								</table>
							</div>
						</td>
						<td style="vertical-align: top; text-align: left;">
							<img src="ExampleFiles/Img/ppl.gif" 
								width="240" 
								height="206" 
								alt="Hot Jobs" 
								class="ppl" />
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<div class="detalsPaneTop"></div>
							<div class="detailsPane">
									<br />
									<table width="100%" class="jobAppDetails" style="margin-top: 50px; margin-left: 50px;">
									<tr>
										<td colspan="2"><b>Curriculum vitae</b>
											<radu:radupload  
												id="uploadCV" 
												runat="server" 
												maxfileinputscount="1" 
												AllowedFileExtensions=".doc,.pdf" 
											/>
											<asp:label 
												ID="lblNoCV" 
												Runat="server" 
												Visible="False">Please, provide a CV, it is mandatory</asp:label>
											<asp:label 
												ID="lblInvalidCV" 
												Runat="server" 
												Visible="False">The submitted file for CV is invalid</asp:label>
											Allowed file types: <b>.doc</b>, <b>.pdf</b><br/><br/>
										</td>
									</tr>
									<tr>
										<td colspan="2"><b>Photo</b>
											<radu:radupload 
												id="uploadPhoto" 
												runat="server" 
												maxfileinputscount="1" 
												AllowedFileExtensions=".jpg,.gif,.png" 
											/>
											<asp:label 
												ID="lblNoPhoto" 
												Runat="server" 
												Visible="False">Please, provide a photo, it is mandatory</asp:label>
											<asp:label 
												ID="lblInvalidPhoto" 
												Runat="server" 
												Visible="False">The submitted file for photo is invalid</asp:label>
											Allowed file types: <b>.jpg</b>, <b>.gif</b>, <b>.png</b><br /><br />
										</td>
									</tr>
									<tr>
										<td colspan="2"><b>References</b>
											<radu:radupload 
												id="uploadReferences" 
												runat="server" 
												Skin="MacOS"
												AllowedFileExtensions=".doc,.pdf" />
											<asp:repeater 
												ID="rptInvalidReferences" 
												Runat="server" 
												Visible="False">
											<headertemplate>The following uploaded file(s) were invalid for reference:<br/></headertemplate>
												<itemtemplate>
													<asp:literal 
														ID="ltInvalidReferenceFileName" 
														Runat="server" 
														Text='<%#DataBinder.Eval(Container.DataItem, "FileName")%>' ></asp:literal>
													(<asp:literal 
														ID="ltInvalidReferenceFileSize" 
														Runat="server" 
														Text='<%#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>' ></asp:literal>)<br/>
												</itemtemplate>
											</asp:repeater>
											Allowed file types: <b>.doc</b>, <b>.pdf</b><br/><br/>
										</td>
									</tr>
									<tr>
										<td colspan="2"><b>Work samples</b>
											<radu:radupload 
												id="uploadWorkSamples" 
												runat="server"
												Skin="MacOS"
												AllowedFileExtensions=".zip" />
											<asp:repeater 
												ID="rptInvalidWorkSamples" 
												Runat="server" 
												Visible="False">
												<headertemplate>The following uploaded file(s) were invalid for work samples:<br/></headertemplate>
												<itemtemplate>
													<asp:literal 
														ID="ltInvalidWorkSampleFileName" 
														Runat="server" 
														Text='<%#DataBinder.Eval(Container.DataItem, "FileName")%>' ></asp:literal>
													(<asp:literal 
														ID="ltInvalidWorkSampleFileSize" 
														Runat="server" 
														Text='<%#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>' ></asp:literal>)
												</itemtemplate>
											</asp:repeater>
											Allowed file types: <b>.zip</b>
										</td>
									</tr>
									<tr>
										<td colspan="2">
											<radu:raduploadprogressarea
												id="progressArea1"
												runat="server"
												displayfilecountprogressbar="True"
												displayfilecountprogressdata="True"
												displaycancelbutton="True"
												displaytimedata="True"
											/>
										</td>
									</tr>
								</table>
							</div>
							<div class="detalsPaneBottom"></div>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<div class="submitPane">
								<asp:button 
									id="btnSubmit" 
									runat="server" 
									cssclass="RadUploadButton" 
									text="Submit" 
									style="margin-top: 30px; margin-left: 40px;" />
							</div>
						</td>
					</tr>
				</table>
			</div>
		</fieldset>
		</asp:panel>
			<asp:label 
				ID="lblApplicationSent" 
				Runat="server" 
				Visible="false" class="module" style="color:green;display:block;">Thank you for sending your job application. We will contact you for further processing. <a href="javascript:document.location.href=document.location.href;">Back</a>
			</asp:label>
			<telerik:footer runat="server" id="Footer1"></telerik:footer>
		</form>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -