Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
535
Toolbar button not posting back
posted

I have a simple toolbar with a button on it, but when I click the button, I'm not getting a postback....?

<igtbar:UltraWebToolbar ID="toolBar1" runat="server" BackgroundImage="" ImageDirectory="" ItemWidthDefault="" onbuttonclicked="toolBar1_ButtonClicked">

<Items>

<igtbar:TBarButton DisabledImage="" HoverImage="" Image="" Key="New" SelectedImage="" Text="New" AutoPostBack="true">

</igtbar:TBarButton>

How come the toolBar1_ButtonClicked server code isn't being called?!?

  • 21382
    posted

     I used a similar set up using Version=7.2.20072.61 of the controls.

     

            <igtbar:UltraWebToolbar ID="UltraWebToolbar1" runat='server' OnButtonClicked="UltraWebToolbar1_ButtonClicked" >
            <Items>
            <igtbar:TBarButton Key="new" Text="new" AutoPostBack="true"> </igtbar:TBarButton>
            </Items>
            </igtbar:UltraWebToolbar>

     

    And the control posted back fine.  If you are still having problems with this (or using a different version) I suggest creating a really small demo application, and submitting it to Developer Support