?? editredirect.aspx
字號:
<%@ import Namespace="ASPNET.StarterKit.Communities.Admin" %>
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Register TagPrefix="User" TagName="AdminHeader" Src="~/Admin/Controls/AdminHeader.ascx" %>
<%@ Page language="c#" Codebehind="EditRedirect.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Communities.Admin.CustomRedirects.EditRedirect" %>
<user:adminheader id="AdminHeader1" title="Add Redirect" Runat="server"></user:adminheader>
<h3>Edit Redirect</h3>
<div class="pageDescription" style="WIDTH: 500px">
<P>On this page you can Edit the destination of a custom redirect.
</P>
<P>Destination URL should be relative to application root without the leading '/"
if the destination is on this site. If the destination is not in this site, use
the fully qualified URL including the "http://" part.
</P>
</div>
<br>
<asp:Label id="lblFormatErrorText" runat="server" ForeColor="Red" Visible="False"></asp:Label>
<FORM id="Form1" encType="multipart/form-data" runat="Server">
<TABLE>
<TR>
<TD colSpan="2">
<HR width="100%" SIZE="1">
</TD>
</TR>
<TR>
<td>Source URL:
</td>
<td><asp:textbox id="txtSourceUrl" Runat="Server" Enabled="False" Columns="50"></asp:textbox></td>
</TR>
<tr>
<td height="41">Source Type:
</td>
<td vAlign="top" height="41"><asp:radiobutton id="rbSourceExact" runat="server" Text="Redirect requests for this exect page only."
Checked="True" GroupName="RedirectType" Enabled="False"></asp:radiobutton><BR>
<asp:radiobutton id="rbSourcePath" runat="server" Text="Redirect requests for any page in this section."
GroupName="RedirectType" Enabled="False"></asp:radiobutton></td>
</tr>
<TR>
<TD vAlign="top" colSpan="2">
<HR width="100%" SIZE="1">
</TD>
</TR>
<TR>
<td>Destination URL:
</td>
<td vAlign="top"><asp:textbox id="txtDestinationUrl" Runat="Server" Columns="50"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator2" Runat="server" Text="(required)" ControlToValidate="txtDestinationUrl"
Display="Dynamic">(required)</asp:requiredfieldvalidator>
<asp:Label id="lblDestinationError" runat="server" ForeColor="Red" Visible="False">*</asp:Label></td>
</TR>
<TR>
<TD height="41">Destination Type:</TD>
<TD vAlign="top" height="41">
<asp:RadioButton id="rbDestExact" runat="server" Text="Send browser to this exact URL" Checked="True"
GroupName="DestType"></asp:RadioButton><BR>
<asp:RadioButton id="rbDestPath" runat="server" Text="Send browser to the same page name at this new path."
GroupName="DestType"></asp:RadioButton></TD>
</TR>
<TR>
<TD colSpan="2">
<HR width="100%" SIZE="1">
</TD>
</TR>
<tr>
<td colSpan="2"><asp:button id="btnEdit" Runat="Server" Text="Edit Redirect"></asp:button></td>
</tr>
</TABLE>
</FORM>
<table class="body" cellSpacing="0" cellPadding="3" border="0">
<tr>
<td><A href="Default.aspx">Return to Edit Redirects</A></td>
<td>|</td>
<td><a href="../Default.aspx">Return to Admin</a></td>
<td>|</td>
<td><a href="../../Default.aspx">Return to Site</a></td>
</tr>
</table>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -