I have button with this code:
<div class="col-md-9">
<div class="input-group input-group-short">
<div class="input-group-btn">
<button type="submit" name="btnChangeOrderStatus" onclick="@Url.Action("ODBCOrderExport", "ODBCOrder", new { orderId = Model.OrderId })" id="btnChangeOrderStatus" class="btn btn-primary">
@T("Plugins.Misc.ODBCOrderExport.Export")
</button>
</div>
</div>
</div>
And route
routes.MapLocalizedRoute("Plugin.Misc.ODBCOrderExport.ODBCOrderExport",
"Admin/Order/Edit/ODBC/Export/{orderId}",
new { controller = "ODBCOrder", action = "ODBCOrderExport", orderId = UrlParameter.Optional },
new { orderId = @"\d+" },
new[] { "Nop.Plugin.Misc.ODBCOrderExport.Controllers" }
);
Could u please explain to me why it does not work. How make this button works?