user3405179 user3405179 - 2 months ago 27
ASP.NET (C#) Question

Tooltip Not Working On TextBox At A Time Of Enabled="false"

TextBox is

Enabled="false"
, which is why the tooltip is not showing on TextBox.

What should I do to show the ToolTip without changing state of TextBox?

<asp:TextBox ID="txtDescription" data-original-title="Description" Enabled="false" runat="server" Class="txtDescription form-control tooltips"></asp:TextBox>

Answer

I use ReadOnly="true" and it's work.

<asp:TextBox ID="txtDescription" data-original-title="Description" ReadOnly="true" runat="server" Class="txtDescription form-control tooltips"></asp:TextBox>
Comments