Blackberry 5 - Add Mapi Profile to Provider Settings
This commit is contained in:
parent
35fba3da19
commit
13c56d7de7
4 changed files with 41 additions and 5 deletions
|
@ -66,6 +66,8 @@ namespace WebsitePanel.Providers.Common
|
||||||
|
|
||||||
public const string UtilityPath = "UtilityPath";
|
public const string UtilityPath = "UtilityPath";
|
||||||
|
|
||||||
|
public const string MAPIProfile = "MAPIProfile";
|
||||||
|
|
||||||
public const string EnterpriseServer = "EnterpriseServer";
|
public const string EnterpriseServer = "EnterpriseServer";
|
||||||
|
|
||||||
public const string EnterpriseServerFQDN = "EnterpriseServerFQDN";
|
public const string EnterpriseServerFQDN = "EnterpriseServerFQDN";
|
||||||
|
|
|
@ -8,14 +8,12 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="SubHead" width="200" nowrap><asp:Label runat="server" ID="Label1" meta:resourcekey="lblUser" /></td>
|
<td class="SubHead" width="200" nowrap><asp:Label runat="server" ID="lblUser" meta:resourcekey="lblUser" /></td>
|
||||||
<td>
|
<td>
|
||||||
<asp:TextBox runat="server" ID="txtUser" MaxLength="256" Width="200px" />
|
<asp:TextBox runat="server" ID="txtUser" MaxLength="256" Width="200px" />
|
||||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtUser" Display="Dynamic" ErrorMessage="*" />
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtUser" Display="Dynamic" ErrorMessage="*" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="SubHead" width="200" nowrap><asp:Label runat="server" ID="lblPassword" meta:resourcekey="lblPassword" /></td>
|
<td class="SubHead" width="200" nowrap><asp:Label runat="server" ID="lblPassword" meta:resourcekey="lblPassword" /></td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -39,5 +37,12 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="SubHead" width="200" nowrap><asp:Label runat="server" ID="lblMAPIProfile" meta:resourcekey="lblMAPIProfile" /></td>
|
||||||
|
<td>
|
||||||
|
<asp:TextBox runat="server" ID="txtMAPIProfile" MaxLength="256" Width="200px" />
|
||||||
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtMAPIProfile" Display="Dynamic" ErrorMessage="*" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
|
@ -45,6 +45,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
||||||
txtPassword.Text = settings[Constants.Password];
|
txtPassword.Text = settings[Constants.Password];
|
||||||
txtEnterpriseServer.Text = settings[Constants.EnterpriseServer];
|
txtEnterpriseServer.Text = settings[Constants.EnterpriseServer];
|
||||||
txtEnterpriseServerFQDN.Text = settings[Constants.EnterpriseServerFQDN];
|
txtEnterpriseServerFQDN.Text = settings[Constants.EnterpriseServerFQDN];
|
||||||
|
//txtMAPIProfile.Text = settings[Constants.MAPIProfile];
|
||||||
ViewState["PWD"] = settings[Constants.Password];
|
ViewState["PWD"] = settings[Constants.Password];
|
||||||
txtUser.Text = settings[Constants.UserName];
|
txtUser.Text = settings[Constants.UserName];
|
||||||
}
|
}
|
||||||
|
@ -56,6 +57,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
||||||
settings[Constants.EnterpriseServerFQDN] = txtEnterpriseServerFQDN.Text;
|
settings[Constants.EnterpriseServerFQDN] = txtEnterpriseServerFQDN.Text;
|
||||||
settings[Constants.Password] = (txtPassword.Text.Length > 0) ? txtPassword.Text : (string)ViewState["PWD"];
|
settings[Constants.Password] = (txtPassword.Text.Length > 0) ? txtPassword.Text : (string)ViewState["PWD"];
|
||||||
settings[Constants.UserName] = txtUser.Text;
|
settings[Constants.UserName] = txtUser.Text;
|
||||||
|
//settings[Constants.MAPIProfile] = txtMAPIProfile;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -40,13 +40,13 @@ namespace WebsitePanel.Portal.ProviderControls {
|
||||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
|
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Label1 control.
|
/// lblUser control.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Auto-generated field.
|
/// Auto-generated field.
|
||||||
/// To modify move field declaration from designer file to code-behind file.
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.Label Label1;
|
protected global::System.Web.UI.WebControls.Label lblUser;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtUser control.
|
/// txtUser control.
|
||||||
|
@ -146,5 +146,32 @@ namespace WebsitePanel.Portal.ProviderControls {
|
||||||
/// To modify move field declaration from designer file to code-behind file.
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator5;
|
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator5;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lblMAPIProfile control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label lblMAPIProfile;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtMAPIProfile control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.TextBox txtMAPIProfile;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// RequiredFieldValidator6 control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue