Hi
I am trying to set a menu items url to an action in a controller (outside the current controller). I am using the ASPX View Engine:
This works fine.
What do I need to do for this?
Thanks
Russell Mason
I am trying to set a menu items url to an action in a controller (outside the current controller). I am using the ASPX View Engine:
<telerik:RadContextMenu ID="ResourcesMenu" runat="server">
<Items>
<telerik:RadMenuItem Text="User" NavigateUrl='<%: Url.Action("Create", "Users") %>' />
...
However this renders:
<a href="<%:%20Url.Action("Create",%20"Users")%20%>" class="rmLink">
If I use a standard link:
<a href="<%: Url.Action("Create", "Users") %>">New User</a>
This works fine.
What do I need to do for this?
Thanks
Russell Mason