Hello Telerik,
I need to access to a control defined in a different area from the one my page is currently in... for example if I'm in Admin area I want to access to a CommonController defined in the main Controller folder (so Area = null)
In the specific I'm using a dropdown but in future I'll use it for grid as well... my code is
It looks for a Common controller under the Admin area...I've tried specifing the routeValues as new {Area=null} or new {Area="Foo"} but I don't even see the call to the service...what am I doing wrong?
Thanks
Paolo
I need to access to a control defined in a different area from the one my page is currently in... for example if I'm in Admin area I want to access to a CommonController defined in the main Controller folder (so Area = null)
In the specific I'm using a dropdown but in future I'll use it for grid as well... my code is
@(Html.Kendo().DropDownList()
.Name("cbAccount")
.HtmlAttributes(new { style = "width: 250px" })
.DataTextField("Descr")
.DataValueField("ID")
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetListaAccount", "Common");
}).ServerFiltering(false);
})
)
Thanks
Paolo