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 ...
随机推荐
- Scala学习(七)---包和引入
包和引入 摘要: 在本篇中,你将会了解到Scala中的包和引入语句是如何工作的.相比Java不论是包还是引入都更加符合常规,也更灵活一些.本篇的要点包括: 1. 包也可以像内部类那样嵌套 2. 包路径 ...
- redis调优的实战经验
本文根据redis的info命令查看redis的内存使用情况以及state状态,来观察redis的运行情况以及需要作出的相应优化. info 1.memory used_memory:13409011 ...
- MVC使用Redis实现分布式锁
使用场景 在做Web项目的时候,有很多特殊的场景要使用到锁 比如说抢红包,资源分配,订单支付等场景 就拿抢红包来说,如果一个红包有5份,同时100个人抢如果没有用到锁的话 100个人同时并发都抢成功, ...
- Docker网络解决方案 - Flannel部署记录
Docker跨主机容器间网络通信实现的工具有Pipework.Flannel.Weave.Open vSwitch(虚拟交换机).Calico, 其中Pipework.Weave.Flannel,三者 ...
- JS中的跨域问题
一.什么是跨域? 1.定义:跨域是指从一个域名的网页去请求另一个域名的资源.比如从www.baidu.com 页面去请求 www.google.com 的资源.但是一般情况下不能这么做,它是由浏览器的 ...
- 2-Twenty Second Scrum Meeting-20151222
任务安排 成员 今日完成 明日任务 闫昊 服务器关闭,开发停滞…… …… 唐彬 服务器关闭,开发停滞…… …… 史烨轩 服务器关闭,开发停滞…… …… 余帆 路径保存 路径整合 金哉仁 ...
- 《Linux内核分析》第七周笔记 可执行程序的装载
20135132陈雨鑫 + 原创作品转载请注明出处 + <Linux内核分析>MOOC课程http://mooc.study.163.com/course/USTC-1000029000 ...
- 20135337——Linux实践三:程序破解
程序破解 查看 运行 反汇编,查看汇编码 对反汇编代码进行分析: 在main函数的汇编代码中可以看出程序在调用"scanf"函数请求输入之后,对 [esp+0x1c] 和 [esp ...
- jsp中获取不到servlet的cookie
今天做登陆,发现jsp中使用document.cookie获取不到servlet生成的cookie,我们可以在浏览器的cookie文件夹中发现,servlet中生成的cookie和jsp中的生成的路径 ...
- 趟坑:使用pip安装TensorFlow
这几天在安装TensorFlow,看了很多教程,方法也试了几种. 最后还是用pip安装成功的,过程如下. 1.安装ubuntu后在 系统设置-软件与更新-附加驱动 里,更新N卡驱动. (N卡官网下载 ...