[CLOSED] Panel Buttons

  1. #1

    [CLOSED] Panel Buttons

            <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
  2. #2

    RE: [CLOSED] Panel Buttons

    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
    Founder
  3. #3

    RE: [CLOSED] Panel Buttons

    Great thanks!

    Cheers,
    Timothy

Similar Threads

  1. [CLOSED] Panel Buttons Width
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 10, 2012, 12:48 PM
  2. [CLOSED] How to reduce the padding for buttons at panel bottom?
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 08, 2011, 4:39 PM
  3. [CLOSED] Panel height with buttons
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 01, 2011, 3:58 PM
  4. Add buttons into panel header.
    By flaviodamaia in forum 1.x Help
    Replies: 2
    Last Post: Nov 23, 2010, 5:22 PM
  5. [CLOSED] Tree Panel: Buttons on each node
    By gokcemutlu in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 25, 2009, 9:55 AM

Posting Permissions