Jump to content
Welcome to our new Citrix community!
  • 1

Domain Dropdown in Director-Logon-Page


Lutz Schumann

Question

Hi, I would like to add a Domain-Dropdown List on the Logon.aspx on Director (7.15 CU8)

 

When I try to add it, I get an Error in the Applog, stating:

 

Exception message: The base class includes the field 'Domain', but its type (System.Web.UI.WebControls.TextBox) is not compatible with the type of control (System.Web.UI.WebControls.DropDownList).

 

Is there anything I can do about this ?

 

I changed:

 

<asp:TextBox ID="Domain" runat="server" CssClass="text-box" onfocus="showIndicator(this);" onblur="hideIndicator(this);"></asp:TextBox>

 

into:

 

<asp:DropDownList ID="Domain" runat="server" CssClass="text-box" onfocus="showIndicator(this);" onblur="hideIndicator(this);">
    <asp:ListItem Text="mydomain1.net" Value="mydomain1.net"></asp:ListItem>
    <asp:ListItem Text="mydomain2.net" Value="mydomain2.net"></asp:ListItem>
</asp:DropDownList> 
 

A static entry like:

 

<asp:TextBox ID="Domain" text="mydomain1.net" runat="server" CssClass="text-box" onfocus="showIndicator(this);" onblur="hideIndicator(this);"></asp:TextBox>

 

works without problems.

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...