[SOLVED] Panel Buttons
*NEW - Coolite Toolkit Version 0.7 now available for DOWNLOAD. See also Examples Explorer.
 

Coolite Forums

Welcome Guest ( Login | Register )
 
[SOLVED] Panel Buttons
Subscribe
Last Login: Today @ 4:23:18 AM
Posts: 648,
Posted 7/24/2008 1:16:51 PM

Group: Coolite Premium Member & Early Adopter

        <ExtJS:ScriptManager runat="server" StateProvider="PostBack" Theme="Gray" />
        <ExtJS:Panel runat="server" Title="Word">
            <Content>
                Word
            </Content>
            <Buttons>
                <ExtJS:Button ID="btnDemo" runat="server" Text="Demo" />
                <ExtJS:Button ID="btnDemo2" runat="server" Text="Demo2" />
            </Buttons>
        </ExtJS:Panel>


The above example works.

Change btnDemo2 Visible="False" and the rendering fails.

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] gmail [dot] com
Coolite Toolkit 0.7 SVN (Professional Edition)
Microsoft .NET Framework 2.0
Microsoft ASP.NET Ajax 1.0

Last Login: Today @ 10:22:48 AM
Posts: 1,649,
Posted 7/24/2008 3:37:28 PM

Group: Core Development Team
Hi Timothy,

Nice find!

The bug has been fixed and svn has been updated.

I tested with several <Buttons> variations in several Panel controls (i.e. Tab, Window, Panel) and everything now works as expected.

Example

<ext:Panel runat="server" Title="Word" Height="300" Width="300" Html="word">
    <Buttons>
        <ext:Button ID="btnDemo" runat="server" Text="Demo" />
        <ext:Button ID="btnDemo2" runat="server" Text="Demo2" Visible="false" />
    </Buttons>
</ext:Panel>


The fix will be included publicly with the v0.6 release.
--
Geoffrey McGill
Coolite Inc.
Development Team
Coolite Examples | Coolite API Docs | ExtJS API Docs
twitter [coolite | personal]
Last Login: Today @ 4:23:18 AM
Posts: 648,
Posted 7/24/2008 4:42:16 PM

Group: Coolite Premium Member & Early Adopter
Great thanks!

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] gmail [dot] com
Coolite Toolkit 0.7 SVN (Professional Edition)
Microsoft .NET Framework 2.0
Microsoft ASP.NET Ajax 1.0

« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -8:00, Time now is 12:03pm