页面:

 <%@ 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>
&nbsp;
</td>
<td class="datacellkey" nowrap="nowrap">
<span>&nbsp;</span>
</td>
<td class="ms-authoringcontrols" nowrap="nowrap">
<span class="info_title">&nbsp;Site content&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>:&nbsp;&nbsp;
<asp:Label ID="lbSiteUsage" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit">&nbsp;</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>
&nbsp;
</td>
<td class="trashbincellkey" id="trashbinkey" nowrap="nowrap">
<span>&nbsp;</span>
</td>
<td class="ms-authoringcontrols" nowrap="nowrap">
<span class="info_title">&nbsp;<a href="../AdminRecycleBin.aspx" style="text-decoration: underline"
target="_self">Recycle bin</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>:&nbsp;&nbsp;
<asp:Label ID="lbRcyBinConsumed" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit">&nbsp;</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>
&nbsp;
</td>
<td class="freecellkey" nowrap="nowrap">
<span>&nbsp;</span>
</td>
<td nowrap="nowrap">
<span class="info_title">&nbsp;Free storage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>:&nbsp;&nbsp;
<asp:Label ID="lbAvailableStorage" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit">&nbsp;</span>
</td>
</tr>
<tr>
<td>
</td>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
<tr>
<td>
&nbsp;
</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>&nbsp;</span>
</td>
<td nowrap="nowrap" class="ms-authoringcontrols">
<span class="info_title">&nbsp;Reserved for <a href="../AdminRecycleBin.aspx?View=2"
style="text-decoration: underline" target="_self">second stage recycle bin</a>&nbsp;</span>:&nbsp;&nbsp;
<asp:Label ID="lbSndStageRcybin" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit">&nbsp;</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">&nbsp;</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>&nbsp;</span>
</td>
</tr>
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b>&nbsp;-
&nbsp;</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>&nbsp;</span>
</td>
</tr>-->
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b>&nbsp;-
&nbsp;</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>&nbsp;</span>
</td>
</tr>-->
<!-- End Right_Text -->
<tr>
<td valign="top">
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b>&nbsp;-
&nbsp;</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>&nbsp;</span>
</td>
</tr>
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b>&nbsp;-
&nbsp;</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 页面及用户控件的更多相关文章

  1. Asp.net 恢复页面内用户控件内的控件ClientID

    众所周知在Asp.net中如果一个页面添加了一个用户控件(或母版页),那么用户控件内的控件的   ClientID号会被自动添加页面中用户控件的ClientID 即页面中的控件内的控件ClientID ...

  2. .NET同页面内用户控件与父页面以及控件之间方法调用

    用户控件调用父页面的方法: //获得父页面 Page p =this.Parent.Page; Type pageType = p.GetType(); //父页面的方法名 MethodInfo mi ...

  3. Web页面获取用户控件页面中服务器控件的值

    用户控件页面后台: public string P_Name{get { return txt_P_name.Value; }set { txt_P_name.Value = value; }} We ...

  4. (九)ASP.NET自定义用户控件(2)

    http://www.cnblogs.com/SkySoot/archive/2012/09/04/2670678.html 用户控件 在 .NET 里,可以通过两种方式把自己的控件插入到 Web 窗 ...

  5. WPF用户控件库 嵌入外部(VLC)exe

    综合网上资源完成的自己的第一篇博客 ------------------------------------------------------------------------ 网上类似的贴子挺多 ...

  6. 【demo练习四】:WPF用户控件案例

    首先,新建vs中“用户控件(WPF)”,右键项目名 =>"添加"按钮 => 选择“新建项”. 然后选择“用户控件(WPF)” => 起名字 => 点击“添加 ...

  7. 一步一步学Silverlight 2系列(10):使用用户控件

    概述 Silverlight 2 Beta 1版本发布了,无论从Runtime还是Tools都给我们带来了很多的惊喜,如支持框架语言Visual Basic, Visual C#, IronRuby, ...

  8. SharePoint 中用户控件的开发及应用

    1.新建解决方案以及SharePoint项目,步骤比较简单略过,然后映射CONTROLTEMPLATES文件夹,在里面添加用户控件(仅场解决方案),如下图: 2.解决方案结构,如下图: 简单介绍一下, ...

  9. SharePoint用户控件编写的简单介绍

    转:http://www.it165.net/design/html/201204/1131.html 我们开发中,通常需要写各种各样的部件来实现我们的展示或者功能,下面就介绍下刚刚接触的QuickP ...

随机推荐

  1. Linux/CentOS下安装MySql RPM Bundle

    一.下载对应的版本的MySql安装文件 1.下载路径 https://dev.mysql.com/downloads/mysql/ 2.选择对应的Linux版本和x86/x64位的安装文件 查看Lin ...

  2. html5录音支持pc和Android、ios部分浏览器,微信也是支持的,JavaScript getUserMedia

    以前在前人基础上重复造了一个网页录音的轮子,顺带把github仓库使用研究了一下,扔到了github上. 优势在于结构简单,可插拔式的录音格式支持,几乎可以支持任意格式(前提有相应的编码器):默认提供 ...

  3. C#大型电商项目优化(二)——嫌弃EF与抛弃EF

    上一篇博文中讲述了使用EF开发电商项目的代码基础篇,提到EF后,一语激起千层浪.不少园友纷纷表示:EF不适合增长速度飞快的互联网项目,EF只适合企业级应用等等. 也有部分高手提到了分布式,确实,性能优 ...

  4. Tomcat利用MSM实现Session共享方案解说

    Session共享有多种解决方法,常用的有四种:1)客户端Cookie保存2)服务器间Session同步3)使用集群管理Session(如MSM) 4)把Session持久化到数据库 针对上面Sess ...

  5. redis持久化策略梳理及主从环境下的策略调整记录

    redis是一个支持持久化的内存数据库,也就是说redis需要经常将内存中的数据同步到磁盘来保证持久化.可以不定期的通过异步方式保存到磁盘上(即“半持久化模式”):也可以把每一次数据变化都写入到一个A ...

  6. python基础学习笔记(五)

    字符串基本操作 所有标准的序列操作(索引.分片.乘法.判断成员资格.求长度.取最小值和最大值)对字符串同样适用,前面已经讲述的这些操作.但是,请注意字符串都是不可变的. 字符串的方法: 字符串从str ...

  7. Python_初识函数和返回值_22

    #len s = '金老板小护士' len(s) def my_len(): #自定义函数 i = 0 for k in s: i += 1 print(i) length = my_len() pr ...

  8. linux-shell-命令总结

    第一种方法执行: 第二种方法执行: 第三种方法执行: 第四种方法:执行 第三种和第四种方法都是在新的进程里执行程序   函数方法 方法就是一个命令,命令写在字符串的第一个位置 type:可以接外部命令 ...

  9. 初学习Qt的一些感悟

    最近用Qt写了个人项目,有如下心得(可能有不准确): Qt尽管没有扩展C++语法,但是有额外编译链,每个Q_OBJECT类编译的时候会用moc工具生成另一个meta C++类,之后就是标准C++编译流 ...

  10. apply方法和call方法。函数属性与方法。

    每个函数都有length属性哥prototype属性. length属性表示的是函数接入参数的个数 在es引用类型语言中,prototype是保存它们所有实例方法的真正所在.换句话来说,类似于toSt ...