I have a grid with the following column:
<telerik:GridTemplateColumn HeaderText="" UniqueName="ReOrder">
<ItemTemplate>
<asp:Button ID="btnReOrder" runat="server" CommandName="ReOrder" Text="ReOrder" OnClientClick="javascript:return confirm('Create a new order from this order template?');" />
</ItemTemplate>
</telerik:GridTemplateColumn>
The grid is ajaxed with RadAjaxManager. There is a RadScriptManager on the page. If I leave the confirmation there, it pops up to confirm but then doesn't do anything after that, not even a page refresh. If I take off the Javascript, then the ReOrder command fires.
This was/is working with the old RadGrid version (non-ASP.NET AJAX).
<telerik:GridTemplateColumn HeaderText="" UniqueName="ReOrder">
<ItemTemplate>
<asp:Button ID="btnReOrder" runat="server" CommandName="ReOrder" Text="ReOrder" OnClientClick="javascript:return confirm('Create a new order from this order template?');" />
</ItemTemplate>
</telerik:GridTemplateColumn>
The grid is ajaxed with RadAjaxManager. There is a RadScriptManager on the page. If I leave the confirmation there, it pops up to confirm but then doesn't do anything after that, not even a page refresh. If I take off the Javascript, then the ReOrder command fires.
This was/is working with the old RadGrid version (non-ASP.NET AJAX).