?? default.aspx
字號:
<%@ import Namespace="ASPNET.StarterKit.Communities.Admin" %>
<%@ Register TagPrefix="User" TagName="AdminHeader" Src="~/Admin/Controls/AdminHeader.ascx" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Page Language="c#" CodeBehind="Default.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Communities.Admin.EditServiceSubscriptions._Default" %>
<user:AdminHeader Title="Edit Services" Runat="server" id="AdminHeader1" />
<h3>Edit Service Subscriptions</h3>
<div class="pageDescription" style="WIDTH:800px">
You can create service subscriptions to any type of section except for Downloads
and Photo Gallery sections. A service subscription enables you to retrieve content
from other community Web sites. When you create a service subscription, content is
automatically retrieved from another community Web site through an XML Web service.
For example, if your community has an articles section, then you can retrieve
articles from another community and add them to your articles section.
<br>
<br>
To create a new service subscription, you need to supply the URL of the remote
community section that contains the content that you want to retrieve. The remote
section must be exposed as a Web service.
<br>
<br>
You can monitor a service subscription through the Activity log. Every time content
is retrieved from the remote community, an entry is added to the Activity log.
</div>
<form runat="Server">
<asp:Panel id="pnlServices" Runat="Server">
<asp:DataGrid id="dgrdServices" runat="server" AutoGenerateColumns="False" BorderColor="black" BorderStyle="solid" GridLines="both" CellPadding="3" Width="800">
<AlternatingItemStyle cssclass="alternatingItemStyle"></AlternatingItemStyle>
<ItemStyle cssclass="ItemStyle"></ItemStyle>
<Columns>
<asp:TemplateColumn>
<HeaderTemplate> Refresh </HeaderTemplate>
<ItemTemplate>
<center>
<asp:ImageButton id="btnRefresh" CommandName="Refresh" ImageUrl="../Images/Refresh.gif" AlternateText="Refresh" Runat="Server" /></center>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate> Edit </HeaderTemplate>
<ItemTemplate>
<center>
<asp:HyperLink id="lnkEdit" ImageUrl="../Images/Edit.gif" Text="Edit" Runat="Server" /></center>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate> Delete </HeaderTemplate>
<ItemTemplate>
<center>
<asp:ImageButton id="btnDelete" CommandName="Delete" ImageUrl="../Images/Delete.gif" AlternateText="Delete" Runat="Server" /></center>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>Name</HeaderTemplate>
<ItemTemplate>
<asp:Label id="lblServiceName" Runat="Server" />
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>Url</HeaderTemplate>
<ItemTemplate>
<asp:HyperLink id="lnkServiceUrl" target="_blank" Runat="Server" />
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>Refresh Rate</HeaderTemplate>
<ItemTemplate>
<asp:Label id="lblRefreshRate" Runat="Server" />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
</asp:Panel>
<asp:Panel id="pnlNoServices" visible="false" Runat="Server">
No service subscriptions defined. Click Add New Service Subscription to create a new subscription.
</asp:Panel>
</form>
<table cellpadding="3" cellspacing="0" border="0" class="body">
<tr>
<td><a href="AddSubscription.aspx">Add New Service Subscription</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>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -