Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Silver Contributor
Posts: 835
Registered: ‎03-24-2009
Accepted Solution

How to make a disabled Text Lookup still hyper link?

[ Edited ]

I don't want the user's to be able to change the value of the lookup control through the magnifying glass...so Enable = False.

 

But now the hyperlink doesn't work.....what is the work around? This is a custom .ascx form and is actually the Ticket Detail Account field. I'd like to hyper link to the account record.

 

Here's the UI:

<pre>

        <td>
            <div class=" lbl alignleft">
                <asp:Label ID="lueAccount_lbl" AssociatedControlID="lueAccount" runat="server" Text="Customer Name:"></asp:Label>
            </div>
            <div class="textcontrol lookup">
                <SalesLogix:LookupControl runat="server" ID="lueAccount" ToolTip="Find" Enabled="false"
                    LookupEntityName="Account" LookupEntityTypeName="Sage.SalesLogix.Entities.Account, Sage.SalesLogix.Entities"
                    EnableHyperLinking="true" AutoPostBack="true" TabIndex="1">
                </SalesLogix:LookupControl>
            </div>
        </td>

</pre>

 

 

Thanks!

RJ Samp
New Member
Posts: 4
Registered: ‎06-29-2011

Re: How to make a disabled Text Lookup still hyper link?

Try to set :

 

ReadOnly="true"

 instead of :

 

Enabled="false"

 

Silver Contributor
Posts: 835
Registered: ‎03-24-2009

Re: How to make a disabled Text Lookup still hyper link?

Bingo!
RJ Samp