52 lines
3.1 KiB
Plaintext
52 lines
3.1 KiB
Plaintext
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
|
|
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
|
|
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
|
|
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
|
|
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
|
|
<%@ Import Namespace="Microsoft.SharePoint" %>
|
|
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RelateCondo.aspx.cs" Inherits="Taloyhtio.GeneralApi.MOSS.RelateCondo" DynamicMasterPageFile="~masterurl/default.master" %>
|
|
|
|
<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
|
|
|
|
</asp:Content>
|
|
|
|
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
|
|
<div style="">
|
|
You are currently located on site: <%= SPContext.Current.Web.Url %><br />
|
|
<br />
|
|
<asp:Panel ID="pnlAlreadyRelated" runat="server" ForeColor="Red" Visible="false">
|
|
Warning: current site is already related with Condo from master database
|
|
[<asp:Label ID="lblExistingCondo" runat="server" />]<br />
|
|
If you will select another Condo for the current site, previous relation will be lost as only one Condo should be related with Condo web site.<br />
|
|
<br />
|
|
</asp:Panel>
|
|
Relate this site with the following Condo from master database:
|
|
<asp:DropDownList ID="ddlCondos" runat="server" DataValueField="Id" DataTextField="OfficialName" /><br />
|
|
<br />
|
|
If you will select <%= NO_SELECTION %> from the list, current association will be removed.<br />
|
|
After relation you can use Condo information web part on the current site and it will display appropriate Condo information from master database automatically<br />
|
|
<br />
|
|
<div>
|
|
<asp:Button ID="btnSave" Text="Save" runat="server" OnClick="SaveButtonClick" CssClass="ms-ButtonHeightWidth" />
|
|
<asp:Button ID="btnCancel" Text="Cancel" runat="server" OnClick="CancelButtonClick" CssClass="ms-ButtonHeightWidth" />
|
|
</div>
|
|
<br />
|
|
<table>
|
|
<colgroup>
|
|
<col style="padding: 3px" />
|
|
<col style="padding: 3px" />
|
|
</colgroup>
|
|
</table>
|
|
<asp:Label ID="lblStatus" runat="server" />
|
|
</div>
|
|
</asp:Content>
|
|
|
|
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
|
|
<sharepoint:encodedliteral ID="Encodedliteral1" runat="server" text="Taloyhtio Condo relations" encodemethod='HtmlEncode' />
|
|
</asp:Content>
|
|
|
|
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
|
|
<sharepoint:encodedliteral ID="Encodedliteral2" runat="server" text="Taloyhtio Condo relations" encodemethod='HtmlEncode' />
|
|
</asp:Content>
|