Merge
This commit is contained in:
commit
35c15aa09d
2 changed files with 17 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
||||||
<asp:Localize ID="locDomainName" runat="server" meta:resourcekey="locDomainName" Text="Domain name:"></asp:Localize>
|
<asp:Localize ID="locDomainName" runat="server" meta:resourcekey="locDomainName" Text="Domain name:"></asp:Localize>
|
||||||
</td>
|
</td>
|
||||||
<td class="Normal" width="100%">
|
<td class="Normal" width="100%">
|
||||||
<wsp:DomainControl ID="txtDomainName" runat="server" RequiredEnabled="True" ValidationGroup="CreateSpace"></wsp:DomainControl>
|
<wsp:DomainControl ID="txtDomainName" runat="server" RequiredEnabled="True" ValidationGroup="CreateSpace" AutoPostBack="True" OnTextChanged="txtDomainName_OnTextChanged"></wsp:DomainControl>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -31,6 +31,7 @@ using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using WebsitePanel.EnterpriseServer;
|
using WebsitePanel.EnterpriseServer;
|
||||||
|
using WebsitePanel.Portal.UserControls;
|
||||||
using WebsitePanel.Providers.HostedSolution;
|
using WebsitePanel.Providers.HostedSolution;
|
||||||
|
|
||||||
namespace WebsitePanel.Portal
|
namespace WebsitePanel.Portal
|
||||||
|
@ -266,5 +267,20 @@ namespace WebsitePanel.Portal
|
||||||
{
|
{
|
||||||
BindHostingPlan();
|
BindHostingPlan();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void txtDomainName_OnTextChanged(object sender, DomainControl.DomainNameEventArgs e)
|
||||||
|
{
|
||||||
|
if (Utils.IsIdnDomain(txtDomainName.Text))
|
||||||
|
{
|
||||||
|
fsMail.Disabled = true;
|
||||||
|
chkIntegratedOUProvisioning.Checked = false;
|
||||||
|
chkIntegratedOUProvisioning.Enabled = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fsMail.Disabled = false;
|
||||||
|
BindHostingPlan();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue