I'm trying to use the Toolbar control and in the ToolbarButton there is only available the OnClientClick attribute.
Is there a way to put the buttons of this control doing the same as the RibbonBarButton where we can enable server click?
Or any other approach to be able to run some code on a Toolbar button click, to save a form data, for instance?
ToolbarButton:
<dw:ToolbarButton ID="saveButton" runat="server" Text="Guardar" Translate="true" Image="Save" OnClientClick="saveSettings()">
RibbonBarButton:
<dw:RibbonBarButton runat="server" Size="Small" Image="Save" ID="saveButton" Title="Guardar alterações" EnableServerClick="True" OnClick="saveButton_Click" />
Thanks,
Diogo Lino