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 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?
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.
New Information!
I painstakenly reconstructed and tested my dialog, one control at a time, and discovered that the problem is caused by a WebCombo control I am using in the Edit Template. If I do not have a WebCombo control on the edit template of the FormView, then there is no postback problem after saving or cancelling a formview edit. If I add one, then the form stops posting back after saving or canceling the edit.
I will pass this on to the support staff and see what is going on...
I have a similar problem, however, my application is very complicated.
In simple terms, I have a webgrid that I launch a dialog form (instead of an open web page). This dialog has a formview and an ultrawebtoolbar above the formview, all inside an AJAX update panel. The toolbar has a series of buttons to emulate the formview buttons, edit, insert, update, cancel, close, and paging buttons (first, next prev, last).
When I page from one record to the next, the buttons post back and everything is fine. I can also enter a formview edit mode or formview insert mode via the toolbar buttons without a problem. I can then save or cancel the record (Update/Insert/Cancel) and this works as well. However, after this point the page no longer posts back. All client javascript runs fine, but the postback never occurs, whether using the paging buttons, or trying to edit or insert a new record.
To make things uglier, the buttons all behave themselves if the form is not a dialog. This is not so good for me because I need to control the dimensions of the web page, and I need to restrict the user from accessing the application while editing the record.
FINALLY, the problem does not occur on all dialog forms I am using. Some work and others do not. I am using the same code on all forms via a javascript file that is referenced and classes containing the comon code for working the toolbar buttons at the server.
I am submitting this problem to support to see if they know anything. Just thought others may jump in if this exerience is public...