Header Ads

Header ADS

Pre-populate and hide the domain in Director

Before:

After:


Update the LogOn.aspx file in the C:\inetpub\wwwroot\director\ directory:

<asp:Label ID="DomainLabel" runat="server" Text="Domain" CssClass="label" style="visibility:hidden;"></asp:Label>

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

To just grey out the value, replace the "Domain" text-box with:
<asp:TextBox ID="Domain" runat="server" Text="KMC_NT" CssClass="text-box" onfocus="showIndicator(this);" onblur="hideIndicator(this);" readonly style="background-color:silver;cursor:initial;">

And you get:

No comments

Powered by Blogger.