This question is locked. New answers and comments are not allowed.
hi,
i have a splitter in mvc masterpage
left top -> treeview
left bottom -> grid
right -> contentplaceholder
i am calling a windows on selected row grid like this
the problem is when i reqeust
http://localhost:64468/User/Create
and then i will select a gridrow i get error 404
the Requests routes to
/User/Reqeust/Details it shoud ruoute to Request/Details
I think the problem is here
i have a splitter in mvc masterpage
left top -> treeview
left bottom -> grid
right -> contentplaceholder
i am calling a windows on selected row grid like this
<script type="text/javascript"> function OnRowSelect(e) { //Get RequestGuid on selected row var row = e.row var grid = $(this).data('tGrid'); var dataItem = grid.dataItem(row); //Open Telerik window var window = $('#Window').data('tWindow'); window.title('Request: ' + dataItem.RequestGuid); window.ajaxRequest("Request/Details/", { id: dataItem.RequestGuid }); window.center().open(); } </script>
the problem is when i reqeust
http://localhost:64468/User/Create
and then i will select a gridrow i get error 404
the Requests routes to
/User/Reqeust/Details it shoud ruoute to Request/Details
I think the problem is here
window.ajaxRequest("Request/Details/", { id: dataItem.RequestGuid });
Can someone help