PDA

View Full Version : BUG with Tooltip not show



dim4ik2008
Apr 12, 2016, 10:49 PM
My simplified version with 3 buttons have 3 tool-tips, none of which works.

please help this is due tuesday



<body>
<form id="Everything" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server">
</ext:ResourceManager>
<ext:Viewport ID="MainView" runat="server" Layout="BorderLayout" AutoScroll="true">
<Items>
<ext:Window ID="Content2"
runat="server"
Region="Center"
Layout="HBoxLayout"
Closable="false"
Header="false">
<LayoutConfig>
<ext:HBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Items>
<ext:Panel ID="top"
runat="server"
Closable="false"
Draggable="false"
Flex="1"
Header="false"
Layout="FitLayout"
Resizable="false">
<Items>
<ext:Panel ID = "Panel_main"
runat="server" Layout="HBoxLayout" AutoScroll="true">
<Items>
<ext:Panel runat="server" Border="true" ID="Panell_main01"
Header="false"
BodyPadding="1"
Layout="VBoxLayout">
<Items>
<ext:Panel runat="server" Border="true" Height="20" Cls="week" ID="Panel__0_0">
<Items>
<ext:Button runat="server" ID="Button_eve__0_0" Text=" " Disabled="true" Height="20" Width="40" />
</Items>
</ext:Panel>
<ext:Panel runat="server" Border="true" Height="20" Cls="week" ID="Panel__0_1">
<Items>
<ext:Button runat="server" ID="Button_eve__0_1" Text="1" Height="20" Width="40" /> </Items>
</ext:Panel>
<ext:Panel runat="server" Border="true" Height="20" Cls="week" ID="Panel__0_2">
<Items>
<ext:Button runat="server" ID="Button_eve__0_2" Text="2" Height="20" Width="40" /> </Items>
</ext:Panel>
</Items>
</ext:Panel>
<ext:Panel runat="server" Border="true" ID="Panell_main0"
Header="false"
BodyPadding="1"
Layout="VBoxLayout">
<Items>
<ext:Panel runat="server" Border="true" Height="20" Width="100" Cls="week" ID="Panel_0_0">
<Items>
<ext:Button runat="server" ID="Button_eve_0_0" Value="123" Text="1" Height="20" Width="80" />
<ext:ToolTip runat="server" ID="ToolTip_event_0_0" Target="Button_eve_0_0" TrackMouse="true" Html="Sala" /><ext:Label runat="server" ID="event_list_0_0" Text="," Width="50" X="0" Y="0"/></Items>
</ext:Panel>
<ext:Panel runat="server" Border="true" Height="20" Width="110" Cls="week" ID="Panel_0_1">
<Items>
<ext:Button runat="server" ID="Button_eve_0_1" Value="123" Text="Event N 1" Height="20" Width="89" X="0" Y="0"><DirectEvents><Click OnEvent="ShowEvent"><ExtraParams><ext:Parameter Name="id" Value="Ext.encode(#{Button_eve_0_1}.getText())" Mode="Raw"/><ext:Parameter Name="val_id" Value="Button_eve_0_1" /></ExtraParams></Click></DirectEvents></ext:Button>
<ext:Button runat="server" Cls="red_dot" ID="eve_0_1" Text="+2" Hidden="false" Height="19" Width="19" X="0" Y="1"><DirectEvents><Click OnEvent="ShowManyEvent"><ExtraParams><ext:Parameter Name="event_s" Value="Ext.encode(#{event_list_0_1}.getText())" Mode="Raw" /></ExtraParams> </Click></DirectEvents></ext:Button>
<ext:ToolTip runat="server" ID="ToolTip_event_0_1" Target="Button_eve_0_1" TrackMouse="true" Html="Nome" /><ext:Label runat="server" ID="event_list_0_1" Text="," Width="50" X="0" Y="0"/>
</Items>
</ext:Panel>
<ext:Panel runat="server" Border="true" Height="20" Width="110" Cls="week" ID="Panel_0_2">
<Items>
<ext:Button runat="server" ID="Button_eve_0_2" Value="123" Text="Event N 2" Height="20" Width="89" X="0" Y="0"><DirectEvents><Click OnEvent="ShowEvent"><ExtraParams><ext:Parameter Name="id" Value="Ext.encode(#{Button_eve_0_2}.getText())" Mode="Raw"/><ext:Parameter Name="val_id" Value="Button_eve_0_2" /></ExtraParams></Click></DirectEvents></ext:Button>
<ext:Button runat="server" Cls="red_dot" ID="eve_0_2" Text="+2" Hidden="false" Height="19" Width="19" X="0" Y="1"><DirectEvents><Click OnEvent="ShowManyEvent"><ExtraParams><ext:Parameter Name="event_s" Value="Ext.encode(#{event_list_0_2}.getText())" Mode="Raw" /></ExtraParams> </Click></DirectEvents></ext:Button>
<ext:ToolTip runat="server" ID="ToolTip_event_0_2" Target="Button_eve_0_2" TrackMouse="true" Html="Nome" /><ext:Label runat="server" ID="event_list_0_2" Text="," Width="50" X="0" Y="0"/></Items>
</ext:Panel>
</Items>
</ext:Panel>
</Items>
</ext:Panel>
</Items>
</ext:Panel>
</Items>
</ext:Window>
</Items>
</ext:Viewport>
</form>
</body>


real version contains around 800 buttons and 800 tooltips, with HTML dynamically changed,
button text is also dynamically changed.
but even with static html and static text. tooltip fails to show...