How could I add a tooltip to a ext:FileUploadField control? I tried to assign a ToolTip for my Browse button like the below, but it’s not working.
<ext:FileUploadField ID="FileUpload1" runat="server" Icon="BrowsePicture" ButtonText="" ButtonOnly="true" AutoPostBack="true">
<ToolTips>
<ext:ToolTip runat="server" ID="FileUpload1_TT" Title="Browse" Html="Browse"></ext:ToolTip>
</ToolTips>
<Listeners>
<FileSelected Fn="showFile" />
</Listeners>
</ext:FileUploadField>
You can set
Target="#{FileUpload1}-file"on the<extTooltip>.The following example demonstrates the full scenario.
Example
Wrapping the string
FileUpload1with#{}will ensure the client-side .ID (.ClientID) is used to reference the correct instance of the<ext:FieldUploadField>object.Hope this helps.