May 16, 2013, 11:28 AM
[CLOSED] Showing tool tip on the field label property of an ext control
Hi Team,
I have to display a tooltip on mouseover of a field label. Currently i am using field label property of a ext control. Field label is not a seperate control. Please find the code below:
The above code displays tooltip on the entire control. But my requirement is to show tooltip only on the field label, where field label is just a property of the control
I have to display a tooltip on mouseover of a field label. Currently i am using field label property of a ext control. Field label is not a seperate control. Please find the code below:
Ext.Net.Checkbox truefalse = new Ext.Net.Checkbox(containerPanel + "TrueFalse" + i);
truefalse.ID = containerPanel + "TrueFalse" + i;
truefalse.ExtraFieldLabel = customFieldLabel;
truefalse.IsMandatory = customFields[i].IsMandatory;
truefalse.IsVisible = customFields[i].IsVisible;
truefalse.IsReadOnly = customFields[i].IsReadOnly;
ToolTip tp = new ToolTip();
tp.Html = customFields[i].ControlFieldLabel;
tp.PaddingSummary= "0px 0px 0px 0px";
truefalse.ToolTips.Add(tp);
The above code displays tooltip on the entire control. But my requirement is to show tooltip only on the field label, where field label is just a property of the control
Last edited by Daniil; May 21, 2013 at 3:39 AM.
Reason: [CLOSED]