websitepanel/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserCreateSpace.ascx
robvde 50f2c43315 Significant amount of changes to hosted organizations and exchange:
Exchange 2010 SP2 provisioning separated through a new provider
Exchange 2010 SP2 now compliant with product group guidelines
Support for Database Availability Group
Fixed Distribution List view scope to only tenant
Consumer support (individual mailboxes as hotmail) added
Mailbox configuration moved to mailbox plans concept
CN creation is now based on UPN
sAMAccountName generation revised and decoupled from tenant name
2007 (ACL Based), 2010 (ACL Bases), 2010 SP2 (ABP) supported
Automated Hosted Organization provisioning added to create hosting space
Enterprise Server webservice extended with ImportMethod
Mobile tab fixed
Added more information to users listview
2012-07-09 12:03:24 +04:00

159 lines
No EOL
7.9 KiB
Text

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserCreateSpace.ascx.cs" Inherits="WebsitePanel.Portal.UserCreateSpace" %>
<%@ Register TagPrefix="wsp" TagName="CollapsiblePanel" Src="UserControls/CollapsiblePanel.ascx" %>
<%@ Register Src="UserControls/UsernameControl.ascx" TagName="UsernameControl" TagPrefix="uc4" %>
<%@ Register Src="UserControls/EnableAsyncTasksSupport.ascx" TagName="EnableAsyncTasksSupport" TagPrefix="wsp" %>
<wsp:EnableAsyncTasksSupport id="asyncTasks" runat="server"/>
<asp:ValidationSummary ID="summary" runat="server" ShowMessageBox="true" ShowSummary="false" ValidationGroup="CreateSpace" />
<asp:UpdatePanel runat="server" ID="updatePanelSpace" UpdateMode="Conditional" ChildrenAsTriggers="true">
<ContentTemplate>
<div class="FormBody">
<asp:Label ID="lblMessage" runat="server" CssClass="NormalBold" ForeColor="red"></asp:Label>
<table width="100%">
<tr>
<td class="SubHead" style="width:150px;">
<asp:Label ID="lblHostingPlan" meta:resourcekey="lblHostingPlan" runat="server" Text="Hosting Plan:"></asp:Label>
</td>
<td>
<asp:DropDownList id="ddlPlans" runat="server" CssClass="NormalTextBox" DataTextField="PlanName" DataValueField="PlanID" AutoPostBack="True" OnSelectedIndexChanged="ddlPlans_SelectedIndexChanged">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="valRequirePlan" runat="server" ControlToValidate="ddlPlans"
Display="Dynamic" ErrorMessage="*" meta:resourcekey="valRequirePlan" ValidationGroup="CreateSpace"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="SubHead"><asp:Label ID="lblStatus" runat="server" meta:resourcekey="lblStatus" Text="Space Status:"></asp:Label></td>
<td class="Normal">
<asp:DropDownList id="ddlStatus" runat="server" resourcekey="ddlStatus" CssClass="NormalTextBox">
<asp:ListItem Value="1">Active</asp:ListItem>
<asp:ListItem Value="2">Suspended</asp:ListItem>
<asp:ListItem Value="3">Cancelled</asp:ListItem>
<asp:ListItem Value="4">New</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="Normal" colspan="2">
<br />
<asp:CheckBox ID="chkPackageLetter" runat="server" meta:resourcekey="chkPackageLetter"
Text="Send Space Summary Letter" Checked="True" />
</td>
</tr>
<tr>
<td class="Normal" colspan="2">
<br />
<asp:CheckBox ID="chkCreateResources" runat="server" meta:resourcekey="chkCreateResources"
Text="Create Space Resources" Checked="True" AutoPostBack="True" OnCheckedChanged="chkCreateResources_CheckedChanged" />
</td>
</tr>
<tr>
<td class="Normal" colspan="2">
<br />
<asp:CheckBox ID="chkIntegratedOUProvisioning" runat="server" meta:resourcekey="chkIntegratedOUProvisioning"
Text="Automated Hosted Organization Provisioning" Checked="True" />
</td>
</tr>
</table>
<asp:Panel ID="ResourcesPanel" runat="server">
<fieldset id="fsSystem" runat="server">
<legend>
<asp:Label ID="lblSystemGroup" meta:resourcekey="lblSystemGroup" runat="server" Text="System" CssClass="NormalBold"></asp:Label>&nbsp;
</legend>
<table width="100%" cellpadding="4" cellspacing="0">
<tr>
<td class="Normal" noWrap width="40" align="right">
<asp:Localize ID="locDomainName" runat="server" meta:resourcekey="locDomainName" Text="Domain name:"></asp:Localize>
</td>
<td class="Normal" width="100%">
<asp:TextBox ID="txtDomainName" runat="server" CssClass="NormalTextBox" Width="250px"></asp:TextBox>
<asp:RequiredFieldValidator id="DomainRequiredValidator" runat="server" meta:resourcekey="DomainRequiredValidator"
ControlToValidate="txtDomainName" Display="Dynamic" ValidationGroup="CreateSpace" SetFocusOnError="true"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator id="DomainFormatValidator" runat="server" meta:resourcekey="DomainFormatValidator"
ControlToValidate="txtDomainName" Display="Dynamic" ValidationGroup="CreateSpace" SetFocusOnError="true"
ValidationExpression="^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.){1,10}[a-zA-Z]{2,6}$"></asp:RegularExpressionValidator>
</td>
</tr>
</table>
</fieldset>
<fieldset id="fsWeb" runat="server">
<legend>
<asp:Label ID="lblWebGroup" meta:resourcekey="lblWebGroup" runat="server" Text="Web" CssClass="NormalBold"></asp:Label>&nbsp;
</legend>
<table width="100%" cellpadding="4" cellspacing="0">
<tr>
<td class="Normal" width="40" nowrap rowspan="2"></td>
<td class="Normal" width="100%">
<asp:CheckBox ID="chkCreateWebSite" runat="server" meta:resourcekey="chkCreateWebSite"
Text="Create Web Site" Checked="True" />
</td>
</tr>
</table>
</fieldset>
<fieldset id="fsFtp" runat="server">
<legend>
<asp:Label ID="lblFtpGroup" meta:resourcekey="lblFtpGroup" runat="server" Text="FTP" CssClass="NormalBold"></asp:Label>&nbsp;
</legend>
<table width="100%" cellpadding="4" cellspacing="0">
<tr>
<td class="Normal" width="40" nowrap rowspan="2"></td>
<td class="Normal">
<asp:CheckBox ID="chkCreateFtpAccount" runat="server" meta:resourcekey="chkCreateFtpAccount"
Text="Create FTP Account" Checked="True" />
</td>
</tr>
<tr>
<td class="Normal" width="100%">
<asp:RadioButtonList ID="rbFtpAccountName" runat="server" CssClass="Normal"
RepeatDirection="Horizontal" AutoPostBack="true" resourcekey="rbFtpAccountName" OnSelectedIndexChanged="rbFtpAccountName_SelectedIndexChanged">
<asp:ListItem Value="Default" Selected="True">Default</asp:ListItem>
<asp:ListItem Value="Custom">Custom</asp:ListItem>
</asp:RadioButtonList>
<uc4:UsernameControl ID="ftpAccountName" runat="server" RequiredField="false" ValidationGroup="CreateSpace" />
</td>
</tr>
</table>
</fieldset>
<fieldset id="fsMail" runat="server">
<legend>
<asp:Label ID="lblMailGroup" meta:resourcekey="lblMailGroup" runat="server" Text="Mail" CssClass="NormalBold"></asp:Label>&nbsp;
</legend>
<table width="100%" cellpadding="4" cellspacing="0">
<tr>
<td class="Normal" width="40" nowrap></td>
<td class="Normal" width="100%">
<asp:CheckBox ID="chkCreateMailAccount" runat="server" meta:resourcekey="chkCreateMailAccount"
Text="Create 'Catch-all' Mail Account" Checked="True" /></td>
</tr>
</table>
</fieldset>
</asp:Panel>
</div>
</ContentTemplate>
</asp:UpdatePanel>
<div class="FormFooter">
<asp:Button ID="btnCreate" runat="server" Text="Create Space" meta:resourcekey="btnCreate"
CssClass="Button1" OnClick="btnCreate_Click" ValidationGroup="CreateSpace"
OnClientClick="ShowProgressDialog('Creating hosting space...');" />
<asp:Button ID="btnCancel" runat="server" Text="Cancel" meta:resourcekey="btnCancel"
CssClass="Button1" CausesValidation="false" OnClick="btnCancel_Click" />
</div>