This question is locked. New answers and comments are not allowed.
How can I bind the Object route values in Toolbar
Now i would like to know how i can bind object route values.
.ToolBar(toolbar => toolbar.Template(
@Ajax.ActionLink(
"Add New"
,
"AddEdit"
,
"Controller"
,
new
{ ID =
"<#= ID #>"
},
new
AjaxOptions
{
OnSuccess =
"LoadAddEditForm"
,
UpdateTargetId =
"ShowAddEditFormDialogModel"
,
InsertionMode = InsertionMode.Replace
},
new
{ @
class
=
"button"
, id =
"AjaxAddNewButton"
}).ToString()
))
new
{ ID =
"<#= ID #>"
}