This question is locked. New answers and comments are not allowed.
Bug? Or maybe I'm just dumb?
I have a grid that shows a list of Equipment. Each row has an ActionLink that sends the user to another View that shows a list of the children of that piece of Equipment. This is the code for that row:
So the route looks like this: http://localhost/Equipment/OpenChilder/GUID-GOES-HERE
The OpenChildren View is just another grid with the children of the parent and a partial view to show breadcrumbs. I removed the partial view and it still occurred.
When I don't have Databinding(databinding => dataBinding.Ajax()) set on the grid in OpenChildren, the OpenChildren event only fires once, but the grid doesn't bind. When i have databinding set to ajax, OpenChildren() fires twice.
What gives?
I have a grid that shows a list of Equipment. Each row has an ActionLink that sends the user to another View that shows a list of the children of that piece of Equipment. This is the code for that row:
columns.Bound(e => e.Id).ReadOnly().Title("")
.Format(Html.ActionLink("Open", "OpenChildren", "Equipment",
new { id = "{0}" }, new { @class = "t-button" }).ToHtmlString()).Encoded(false).Width(120);So the route looks like this: http://localhost/Equipment/OpenChilder/GUID-GOES-HERE
The OpenChildren View is just another grid with the children of the parent and a partial view to show breadcrumbs. I removed the partial view and it still occurred.
When I don't have Databinding(databinding => dataBinding.Ajax()) set on the grid in OpenChildren, the OpenChildren event only fires once, but the grid doesn't bind. When i have databinding set to ajax, OpenChildren() fires twice.
What gives?