I have a question about switching views. It doesn't work the way I'd expect and I'm not sure if I'm structuring my project correctly.
My assumption is that I can switch views by using the controller the way you would usually do in ASP.Net MVC. Here's my code and the URL for the start view:
Code snippet for the button:
@Html.Kendo().MobileButton().Text("Go to new view").Url("ExpenseClaimListMobile", "ExpenseClaim")
When I click the button I'd expect the URL to be:
Instead it is:
Is this correct? It seems to work, but when I then navigate back to the home page the URL is:
Once we get to this URL the page has problems like the buttons not working, and my assumption is that this is because the application is being created twice (calling "var app = new kendo.mobile.Application();" twice because it's in the _Layout code).
What am I doing wrong?
Thanks in advance!