[FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel

  1. #1

    [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel

    Hi
    I use a asp:RadioButton in a ext:Panel, that is collapsible. If a radion is checked and the panel is collapsed then the radio looses its selected value and becomes unchecked.

    example

    
    
    
    <ext:Panel ID="Panel1" runat="server" Height="300" Collapsible="true" Title="Title">
    <Content>
    <asp:RadioButton ID="RadioButton1" runat="server" />
    <asp:RadioButton ID="RadioButton2" runat="server" />
    </Content>
    </ext:Panel>
    I kow that it works with a ext:RadioButton, but i cant use a ext_RadioButton in this case.

    Best regards
    Mikael Jürke
  2. #2

    RE: [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel

    Hello Jurke,

    Your example works for me in the latest SVN build, example below:

    <%@ Page Language="C#" %>
    <%@ Register assembly="Coolite.Ext.Web" namespace="Coolite.Ext.Web" tagprefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
    
        }
    </script>
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
        <title>Word</title>
    </head>
    <body>
        <p><a href="Example.aspx">Reload</a></p>
        <form id="form1" runat="server">
            <ext:ScriptManager ID="ScriptManager1" runat="server" />
            <ext:Panel ID="Panel1" runat="server" Height="300" Collapsible="true" Title="Title">
                <Content>
                    <asp:RadioButton ID="RadioButton1" runat="server" />
                    <asp:RadioButton ID="RadioButton2" runat="server" />
                </Content>
            </ext:Panel>
        </form>
    </body>
    </html>
    Cheers,
    Timothy
  3. #3

    RE: [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel

    Hi
    I just downloaded the latest version and recompiled, it does not work for me. If I select a radio button and then collapse the panel the selected value becomes cleard. ?? Really strange that it works for you and not for me. I use IE 7

    Best regards
    Mikael Jürke
  4. #4

    RE: [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel

    Oops, you're right doesn't appear to work in IE6, works in FF3.0

    Cheers,
    Timothy
  5. #5

    RE: [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel



    I've reproduced the problem and I'm looking for a fix/workaround.

    Out of interests sake, why you are not able to use the <ext:Radio> control in replacement of the <asp:RadioButton>?
    Geoffrey McGill
    Founder
  6. #6

    RE: [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel

    Hi

    Great that im not the only one seeing this bug!
    Why im not able to use <ext:RadioButtonis because im using a normal html radion. Im outputting a simple html stream in to a panel with <input type="radio" /> -buttons. So in not really using <ext:RadioButton nor <asp:RadioButton. Pleas let me know when the fix is complete.

    Best regards
    Mikael Jürke
  7. #7

    RE: [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel

    Hi Mikael,

    The fix doesn't ready yet but i found workaround. While fix doesn't ready you can set AnimCollapse="false" for Panel. It fix this problem.

  8. #8

    RE: [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel



    Hi Mikael,

    We did some more research into this problem today and it appears the only fix/workaround (as noted by Vladimir above) is to set the .AnimCollapse property to "false". Or, setting the "Collapsible" property to "false" will remove the collapsible tool button.

    Hope this helps.
    Geoffrey McGill
    Founder
  9. #9

    RE: [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel

    Hi
    Yes that works, thanks, but will it never be possible to animatie the panel if there are radios in it in IE7?

    Best regards
    Mikael
  10. #10

    RE: [FIXED] [V0.6] asp:RadioButton loses selection in ext:Panel

    Jurke (9/18/2008)Yes that works, thanks, but will it never be possible to animatie the panel if there are radios in it in IE7?
    Correct. At some point in the future there might be a fix, but at the moment the only known solution is to set the .AnimCollapse property to "false", or use the <ext:Radio> control.*


    Hope this helps.


    Geoffrey McGill
    Founder

Similar Threads

  1. Calendar loses DOM on refresh
    By Tallmaris in forum 1.x Help
    Replies: 0
    Last Post: Aug 29, 2011, 11:12 AM
  2. [CLOSED] tree panel with radiobutton
    By dev in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 02, 2011, 10:30 AM
  3. Update Panel from Tree Panel selection
    By Marius.Serban in forum 1.x Help
    Replies: 1
    Last Post: May 07, 2009, 6:36 AM
  4. Replies: 1
    Last Post: Jan 23, 2009, 6:43 AM

Posting Permissions