C1Expander handle control event in Header

Originally Posted 1 August 2008, 3:46 am EST

  • Originally Posted 1 August 2008, 3:46 am EST

    I have a User Control that contains a C1Expander with buttons inside the header, like this:

    <wijmo:C1Expander ID="C1Expander1" runat="server" Expanded="<%# Expanded%>" OnExpandedChanged="C1Expander1_OnExpandedChanged">
    <Header>
    <asp:Label ID="lblServiceName" runat="server" Text="Label" Width="400px" CssClass="Label"></asp:Label>
    <asp:ImageButton ID="btnStop" runat="server" Text="Start" ImageUrl="~/Images/control_stop_blue.png"
    Height="20px" ImageAlign="Middle" CssClass="ImageButton" OnClick="btnStop_Click" />
    <asp:ImageButton ID="btnStart" runat="server" Text="Stop" ImageUrl="~/Images/control_play_blue.png"
    CssClass="ImageButton" Height="20px" ImageAlign="Middle" OnClick="btnStart_Click" />
    </Header>
    <Content>
    ...
    </Content>
    </wijmo:C1Expander>



    This usercontrol is set in a aspx page, in an UpdatePanel that refreshes according to a Timer.
    But the problem is when I click on my buttons, the click event is not triggered, only the OnExpandedChanged is triggered. How can I solve this?
  • Reply

    Hi pulsman,

    This seems to be a bug to me and I've escalated it to the concerned team for further review.
    I'll get back to you as soon as I get any updates from them.

    Regards
    Abdias
  • Reply

    Ok thanks.
    For now, as workaround, I extract the controls from the header in another div that overlays the header, it's the same result visually and it works.
  • Reply

    Hi pulsman,

    The issue is fixed in C1Wijmo latest build 3.5/4.0.20123.96 which is available at :
    http://prerelease.componentone.com/dotnet30/c1webwijmo.webforms/2012-t3/C1WebWijmo.Webforms_3.5.20123.96.zip

    Thanks,
    Richa
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels