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 ...
随机推荐
- 计算几何总结(Part 1~2)
Preface 对于一个初三连三角函数都不会的蒟蒻来说计算几何简直就是噩梦. 反正都是要学的也TM没办法,那就慢慢一点点学起吧. 计算几何要有正确的板子,不然那种几百行CODE的题写死你. 本蒟蒻的学 ...
- OI骗分神器——模拟退火算法
前言&&为什么要学模拟退火 最近一下子学了一大堆省选算法,所以搞一个愉快一点的东西来让娱乐一下 其实是为了骗到更多的分,然后证明自己的RP. 说实话模拟退火是一个集物理与IT多方面知识 ...
- [Spark][Python]DataFrame select 操作例子II
[Spark][Python]DataFrame中取出有限个记录的 继续 In [4]: peopleDF.select("age","name") In ...
- gitblit 配置图文详解
Windows平台下Git服务器搭建 前提是确保存在JDK环境. 第一步:下载Gitblit.下载地址:http://www.gitblit.com/ 第二步:解压缩下载的压缩包即可,无需安装. 第三 ...
- 四则运算coding
https://coding.net/u/ztf1641429293/p/sizeyunshuan/git/blob/master/Sizenyunsuan.java
- 《Linux内核设计与实现》第七章读书笔记
第七章.中断和中断处理 7.1中断 中断使得硬件得以发出通知给处理器.中断随时可以产生,内核随时可能因为新来到的中断而被打断. 不同的设备对应的中断不同,而每个中断都通过一个唯一的数字标志.操作系统给 ...
- Linux第五周学习总结
作者:黎静 一.知识点总结 (一)给MenuOS增加time和time-asm命令 1.更新menu代码到最新版 2.test.c中main函数里,增加MenuConfig() 3.增加对应的两个函数 ...
- 网络:OSPF理解
OSPF(开放最短路径优先)协议使用Dijkstra算法,常见的版本有:OSPFv2.OSPFv3等.以下主要介绍OSPFv2,OSPFv3是面向IPv6的且不兼容IPv4. 1.工作过程: 1)每台 ...
- SE Springer小组之《Spring音乐播放器》可行性研究报告一、二(转载)
此文转载自组员小明处~~ 1 引言 1.1编写目的 <软件工程>课程,我们团队计划开发一个音乐播放器.本文档是基于网络上现有的音乐播放器的特点,团队计划实现的音乐播放器功能和团队 ...
- 四则运算APP
1) N (Need 需求) 用户基本需求:随机生成四则运算,能自动判定对错,答错时能提示正确答案! 在这个基础上,我的创意: 多用户模式,能记录用户的答题情况(登陆功能) 分级挑战,按照不同的水 ...