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?!?
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.
I did some additional testing.....
My aspx page has a <cc1:ValidatorCalloutExtender> from the AjaxControlToolkit on it. When I removed it from the page, the buttons on the toolbar started posting back properly.
I have the same problem with my toolbar. The event will not be fired when i click a button. When I go to an other tab with my tabcontrol the event will be fired before the event of the tabcontrol.
I set the Autopostback property explicit on true, it doesn't matter.
Has anybody a solution for this problem?
I am having the same problem. I narrowed it down to having a webdialogwindow on the page. With the dialog on the page (hidden or not) the toolbar at the top of the page does not post back. If I remove the dialog reference it works fine. The click client event does fire correctly with or without the dialog. Has anyone found a work around for this?