06-22-2011 07:38 AM - edited 06-22-2011 07:39 AM
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!
Solved! Go to Solution.
06-29-2011 03:45 AM
Try to set :
ReadOnly="true"
instead of :
Enabled="false"
07-06-2011 04:50 AM