Mar 20, 2013, 3:29 PM
Tooltips on panel tools
Hey everyone,
I'm having some issues adding tooltips to ext.net panel tools, specifically a tool that I'm using for collapse and expand. This is a trimmed down version of what I'm working with:
When the button is clicked and the panel is collapsed, the button is automatically replaced with a right arrow button that expands the panel when clicked. This button has no tooltip.
Using my browser developer tools, I've noticed that the ID of the button changes when it switches from collapse to expand, but this seems to be done automatically and I don't have control over the newly created button. Where can I set the tooltip that will be displayed for the expand button?
Thanks for your time.
I'm having some issues adding tooltips to ext.net panel tools, specifically a tool that I'm using for collapse and expand. This is a trimmed down version of what I'm working with:
<ext:Panel runat="server" Layout="BorderLayout" Region="Center">
<Items>
<ext:Panel runat="server" Layout="BorderLayout" Width="600" Height="400" Title="Task Panel"
Region="West" Collapsible="false" ID="TaskPanelMain">
<Tools>
<ext:Tool runat="server" Type="left" ToolTip="Collapse Panel"
Handler="App.TaskPanelMain.collapse();" />
</Tools>
</ext:Panel>
</Items>
</ext:Panel>
In the top right corner of the panel there is a left arrow button which collapses the panel when clicked. When hovered over, this button displays the appropriate tooltip "Collapse Panel".When the button is clicked and the panel is collapsed, the button is automatically replaced with a right arrow button that expands the panel when clicked. This button has no tooltip.
Using my browser developer tools, I've noticed that the ID of the button changes when it switches from collapse to expand, but this seems to be done automatically and I don't have control over the newly created button. Where can I set the tooltip that will be displayed for the expand button?
Thanks for your time.