SharePoint 2007 页面及用户控件
页面:
<%@ Assembly Name="HP.EUSM.Self-ServiceUpgradeQuota.SPCustomAction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c0bc8231d98f244c" %>
<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" Inherits="Microsoft.SharePoint.WebControls.LayoutsPageBase" %> <%@ Register TagPrefix="Action" TagName="MainControl" Src="~/_controltemplates/SelfserviceUpgradeQuota/MainControl.ascx" %>
<%@ Register TagPrefix="Action" TagName="Navigator" Src="~/_controltemplates/SelfserviceUpgradeQuota/NavigationBanner.ascx" %>
<asp:Content ID="AdditionalPageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead"
runat="server">
<SharePoint:cssregistration runat="server" name="core.css" />
<link rel="stylesheet" type="text/css" href="/_layouts/hp/Styles.css" />
<%--<link rel="stylesheet" type="text/css" href="/_layouts/hp/hp.css" />--%>
<SharePoint:scriptlink language="javascript" name="core.js" runat="server" />
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
<SharePoint:encodedliteral runat="server" text="Request more space" encodemethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="TitleBreadcrumb" ContentPlaceHolderID="PlaceHolderTitleBreadcrumb"
runat="server">
<Action:Navigator ID="Navigator" runat="server" PageHolderName="Default.aspx" />
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
runat="server">
<a href="..\settings.aspx">
<SharePoint:encodedliteral runat="server" text="Site Settings" encodemethod="HtmlEncode" />
</a>&#;<%--<SharePoint:clustereddirectionalseparatorarrow runat="server" />--%>
<SharePoint:encodedliteral runat="server" text="Request more space" encodemethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="PageDescription" ContentPlaceHolderID="PlaceHolderPageDescription"
runat="server">
<asp:Label runat="server" ID="lblInfo" Text="This page determines the site collection's eligibility for more space. Please view<a href='../storman.aspx'><u> storage space allocation</u></a> for more details about the content in this site collection." />
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<Action:MainControl ID="MainControl" runat="server" />
</asp:Content>
用户控件:
<%@ Assembly Name="HP.EUSM.Self-ServiceUpgradeQuota.SPCustomAction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c0bc8231d98f244c" %>
<%@ Control Language="C#" AutoEventWireup="true" Inherits="HP.EUSM.Self_ServiceUpgradeQuota.SPCustomAction.MainControl" %> <table border="" width="100%" height="100%" cellpadding="" cellspacing="" class="ms-main">
<col style="height: 100%; width: 60%;" />
<col style="height: 100%; width: 40%;" />
<tr>
<td class="ms-sectionline" height="" colspan="">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td class="ms-descriptiontext" valign="top">
<table border="" cellpadding="" cellspacing="" width="100%">
<tr>
<td class="ms-sectionheader" style="padding-top: 4px;" height="" valign="top">
<h3 class="ms-standardheader ms-inputformheader">
Storage Space Allocation
</h3>
</td>
</tr>
<tr>
<td class="ms-descriptiontext ms-inputformdescription">
</td>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
</table>
</td>
<td class="ms-authoringcontrols ms-inputformcontrols" valign="top" align="left">
<table border="" width="100%" cellspacing="" cellpadding="">
<tr>
<td width="9px">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
<td width="10px">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td />
<td class="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding="">
<tr>
<td class="ms-authoringcontrols" style="white-space: nowrap;">
<table cellpadding="" cellspacing="" border="" width="100%">
<tr class="ms-authoringcontrols">
<td class="ms-authoringcontrols">
<asp:Label ID="lbStatistics" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
<tr>
<td>
<table border="" width="100%" cellspacing="" cellpadding="" style="height: 100%;
table-layout: fixed;">
<colgroup>
<col width="30px" style="white-space: nowrap" />
<col width="25px" />
</colgroup>
<tr>
<td>
</td>
<td class="datacellkey" nowrap="nowrap">
<span> </span>
</td>
<td class="ms-authoringcontrols" nowrap="nowrap">
<span class="info_title"> Site content </span>:
<asp:Label ID="lbSiteUsage" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit"> </span>
</td>
</tr>
<tr>
<td>
</td>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
<tr id="trashbin" runat="server">
<td>
</td>
<td class="trashbincellkey" id="trashbinkey" nowrap="nowrap">
<span> </span>
</td>
<td class="ms-authoringcontrols" nowrap="nowrap">
<span class="info_title"> <a href="../AdminRecycleBin.aspx" style="text-decoration: underline"
target="_self">Recycle bin</a> </span>:
<asp:Label ID="lbRcyBinConsumed" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit"> </span>
</td>
</tr>
<tr id="trashbinBlank" runat="server">
<td>
</td>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
<!-- free space -->
<tr>
<td>
</td>
<td class="freecellkey" nowrap="nowrap">
<span> </span>
</td>
<td nowrap="nowrap">
<span class="info_title"> Free storage </span>:
<asp:Label ID="lbAvailableStorage" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit"> </span>
</td>
</tr>
<tr>
<td>
</td>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
<tr>
<td>
</td>
<td class="ms-authoringcontrols" nowrap="nowrap" colspan="" style="width: auto;">
<asp:Panel ID="panelSndStageRcybin" runat="server" CssClass="ms-authoringcontrols">
<table cellpadding="" cellspacing="" border="" width="100%" class="ms-authoringcontrols">
<tr>
<td class="trashbincellkey" id="trashbinkey" nowrap="nowrap">
<span> </span>
</td>
<td nowrap="nowrap" class="ms-authoringcontrols">
<span class="info_title"> Reserved for <a href="../AdminRecycleBin.aspx?View=2"
style="text-decoration: underline" target="_self">second stage recycle bin</a> </span>:
<asp:Label ID="lbSndStageRcybin" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit"> </span>
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td class="ms-authoringcontrols" nowrap="nowrap">
<asp:Panel ID="Panel1" runat="server">
<span style="text-align: justify"> </span>
<img src="/_layouts/images/SelfserviceUpgradeQuota/Item.gif" width="" height=""
style="vertical-align: middle; height: 5px;" alt="" />
<span style="text-align: justify">A second stage Recycle Bin stores items that you delete
from your Recycle Bin.</span></asp:Panel>
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="10px">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="ms-sectionline" height="" colspan="">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td class="ms-descriptiontext" valign="top">
<table border="" cellpadding="" cellspacing="" width="100%">
<tr>
<td class="ms-sectionheader" style="padding-top: 4px;" height="" valign="top">
<h3 class="ms-standardheader ms-inputformheader">
Eligibility
</h3>
</td>
</tr>
<tr>
<td class="ms-descriptiontext ms-inputformdescription">
</td>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
</table>
</td>
<td class="ms-authoringcontrols ms-inputformcontrols" valign="top" align="left">
<table border="" width="100%" cellspacing="" cellpadding="" style="height: 100%">
<colgroup>
<col style="height: 100%; width: 10px;" />
<col style="height: 100%; width: 100%;" />
<col style="height: 100%; width: 10px;" />
</colgroup>
<tr class="ms-authoringcontrols">
<td>
<img src="/_layouts/images/blank.gif" height="" alt="" />
</td>
<td>
<img src="/_layouts/images/blank.gif" height="" alt="" />
</td>
<td>
<img src="/_layouts/images/blank.gif" height="" alt="" />
</td>
</tr>
<tr class="ms-authoringcontrols">
<td />
<td class="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding="">
<colgroup>
<col width="15px" style="height: 20px" />
<col width="99%" style="height: 15px" />
</colgroup>
<tr>
<td class="ms-authoringcontrols table-td" style="white-space: nowrap;" colspan="">
<asp:Literal ID="ltrlPoilcyCheckResult" runat="server" />
<br />
<br />
<asp:Label ID="lbContinuedWorkflow" runat="server" />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
<asp:Panel ID="panelViolateQuota" runat="server" CssClass="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding="">
<colgroup>
<col width="15px" style="height: 100%" />
<col width="99%" style="height: 100%" />
</colgroup>
<tr>
<td class="ms-authoringcontrols table-td" colspan="" nowrap="nowrap">
<span> </span>
</td>
</tr>
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b> -
</b></font>
</td>
<td class="ms-authoringcontrols table-td">
<img src="/_layouts/images/blank.gif" width="5px" height="" alt="" />
<asp:Literal ID="ltrlQuotaViolation" runat="server" />
<br />
<br />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="panelViolateRcyBin" runat="server" CssClass="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding="">
<colgroup>
<col width="15px" style="height: 20px" />
<col width="99%" style="height: 15px" />
</colgroup>
<!-- <tr>
<td class="ms-authoringcontrols table-td" colspan="" nowrap="nowrap">
<span> </span>
</td>
</tr>-->
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b> -
</b></font>
</td>
<td class="ms-authoringcontrols table-td">
<img src="/_layouts/images/blank.gif" width="5px" height="" alt="" />
<asp:Literal ID="ltrlRcyBinViolation" runat="server" />
<br />
<br />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="panelViolateUsage" runat="server" CssClass="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding=""
style="height: 100%">
<colgroup>
<col width="15px" style="height: 20px" />
<col width="99%" style="height: 15px" />
</colgroup>
<!--<tr>
<td class="ms-authoringcontrols table-td" colspan="" nowrap="nowrap">
<span> </span>
</td>
</tr>-->
<!-- End Right_Text -->
<tr>
<td valign="top">
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b> -
</b></font>
</td>
<td class="ms-authoringcontrols table-td">
<img src="/_layouts/images/blank.gif" width="5px" height="" alt="" />
<asp:Literal ID="ltrlUsageViolation" runat="server" />
<br />
<br />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="panelViolateDBSize" runat="server" CssClass="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding=""
style="height: 100%">
<colgroup>
<col width="15px" style="height: 20px" />
<col width="99%" style="height: 15px" />
</colgroup>
<tr>
<td class="ms-authoringcontrols table-td" colspan="" nowrap="nowrap">
<span> </span>
</td>
</tr>
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b> -
</b></font>
</td>
<td class="ms-authoringcontrols table-td">
<img src="/_layouts/images/blank.gif" width="5px" height="" alt="" />
<asp:Literal ID="ltrlDBSizeViolation" runat="server" />
<br />
<br />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
</asp:Panel>
</td>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
<tr class="ms-authoringcontrols">
<td />
<td>
<asp:HyperLink ID="lkTarget" runat="server" CssClass="ms-authoringcontrols hide-section" />
</td>
<td />
</tr>
<tr class="ms-authoringcontrols">
<td />
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td />
</tr>
</table>
</td>
</tr>
<tr>
<td class="ms-sectionline" height="" colspan="">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td height="10px" class="ms-descriptiontext" colspan="">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
<tr>
<td colspan="">
<table cellpadding="" cellspacing="" width="100%">
<colgroup>
<col width="99%" />
<col width="1%" />
</colgroup>
<tr>
<td>
&#;
</td>
<td nowrap="nowrap">
<asp:Button ID="BtnUpgradeQuota" runat="server" Text="" CssClass="ms-ButtonHeightWidth"
OnClick="OnBtnUpgradeQuotaClick" />
<asp:Button ID="BtnCancel" runat="server" Text="Cancel" CssClass="ms-ButtonHeightWidth"
OnClick="OnBtnCancelClick" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="10px" class="ms-descriptiontext" colspan="">
<asp:Label ID="lbErrMsg" runat="server" ForeColor="Red" Text="" />
</td>
<td height="10px" class="ms-descriptiontext">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
<tr>
<td height="10px" class="ms-descriptiontext" colspan="">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
<tr>
<td class="ms-descriptiontext" style="height: 10px;">
</td>
<td class="ms-descriptiontext" style="height: 10px;">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
<tr>
<td class="ms-descriptiontext" colspan="" style="text-align: center; height: 40px;">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
</table>
SharePoint 2007 页面及用户控件的更多相关文章
- Asp.net 恢复页面内用户控件内的控件ClientID
众所周知在Asp.net中如果一个页面添加了一个用户控件(或母版页),那么用户控件内的控件的 ClientID号会被自动添加页面中用户控件的ClientID 即页面中的控件内的控件ClientID ...
- .NET同页面内用户控件与父页面以及控件之间方法调用
用户控件调用父页面的方法: //获得父页面 Page p =this.Parent.Page; Type pageType = p.GetType(); //父页面的方法名 MethodInfo mi ...
- Web页面获取用户控件页面中服务器控件的值
用户控件页面后台: public string P_Name{get { return txt_P_name.Value; }set { txt_P_name.Value = value; }} We ...
- (九)ASP.NET自定义用户控件(2)
http://www.cnblogs.com/SkySoot/archive/2012/09/04/2670678.html 用户控件 在 .NET 里,可以通过两种方式把自己的控件插入到 Web 窗 ...
- WPF用户控件库 嵌入外部(VLC)exe
综合网上资源完成的自己的第一篇博客 ------------------------------------------------------------------------ 网上类似的贴子挺多 ...
- 【demo练习四】:WPF用户控件案例
首先,新建vs中“用户控件(WPF)”,右键项目名 =>"添加"按钮 => 选择“新建项”. 然后选择“用户控件(WPF)” => 起名字 => 点击“添加 ...
- 一步一步学Silverlight 2系列(10):使用用户控件
概述 Silverlight 2 Beta 1版本发布了,无论从Runtime还是Tools都给我们带来了很多的惊喜,如支持框架语言Visual Basic, Visual C#, IronRuby, ...
- SharePoint 中用户控件的开发及应用
1.新建解决方案以及SharePoint项目,步骤比较简单略过,然后映射CONTROLTEMPLATES文件夹,在里面添加用户控件(仅场解决方案),如下图: 2.解决方案结构,如下图: 简单介绍一下, ...
- SharePoint用户控件编写的简单介绍
转:http://www.it165.net/design/html/201204/1131.html 我们开发中,通常需要写各种各样的部件来实现我们的展示或者功能,下面就介绍下刚刚接触的QuickP ...
随机推荐
- NOIp2014提高组初赛错题简析
总体分析 \(89pts\),粗略来看选择题错的比较多,\(-6pts\).同时又是尿性的填空杀扣了\(5pts\). 不过后面的两大题全对了还是可喜可贺 错题精析 单项选择T8 编译器的主要功能是( ...
- VS2015 搭建 Asp.net core 开发环境
1.首先你得装个vs2015 并且保证已经升级至 update3及以上(此处附上一个vs2015带up3的下载链接: ed2k://|file|cn_visual_studio_enterprise_ ...
- DevOps知识地图实践指南
DevOps知识地图 DevOps方法论的主要来源是Agile, Lean 和TOC, 独创的方法论是持续交付. DevOps经典图书: * <DevOps实践指南> * <持续 ...
- 使用阿里云cli管理安全组
相比于python SDK方式,阿里云基于GO SDK开发了一整套CLI工具,可以通过调用RPC API来管理云资源,对编程能力不够的人来说是个福音. 而且,阿里云CLI的文档比SDK的文档更加全面, ...
- Linux下开源邮件系统Postfix+Extmail+Extman环境部署记录
一.基础知识梳理MUA (Mail User Agent) MUA 既是"邮件使用者代理人",因为除非你可以直接利用类似 telnet 之类的软件登入邮件主机来主动发出信件,否则您 ...
- C_数据结构_递归实现求阶乘
# include <stdio.h> int main(void) { int val; printf("请输入一个数字:"); printf("val = ...
- bash处理一条命令的步骤
Shell执行一条命令步骤 参考链接: <Learning the bash Shell, 3rd Edition -- 7.3. Command-Line Processing> &l ...
- (第十二周)final预发布视频
项目名:食物链教学工具 组名:奋斗吧兄弟 组长:黄兴 组员:李俞寰.杜桥.栾骄阳.王东涵 Final阶段视频发布 平台:优酷 链接:http://v.youku.com/v_show/id_XMTg0 ...
- BUAAMOOC项目M2 postmortem
设想和目标 1.我们的软件要解决什么问题?是否定义的很清楚?是否对典型用户和典型场景有清晰的描述? 我们的软件是基于北航MOOC网站做的Android手机客户端,用于便捷的在学校里通过手机做到随时随地 ...
- 【Beta阶段】M2事后分析
先上照片,最后一次开会了啊... 计划 你原计划的工作是否最后都做完了? 如果有没做完的,为什么? 答:没有全部做完,到目前为止,我们的还有几个实验的报告生成功能没有上线.这几个实验的数据处理文件已经 ...