Hi,
How can I use PortableRazor in Xamarin.Forms?
I found some example on the internet but no one answer my question.
Some samples:
https://github.com/rid00z/JellyBeanTracker/tree/master/JellyBeanTracker.Mobile
https://blog.xamarin.com/build-hybrid-apps-with-our-new-starter-kit/
I wrote this code:
`@using System.Linq;
@inherits PortableRazor.ViewBase
@model AccountModel
<!DOCTYPE html>
<script src="External/Scripts/jquery.js"></script>
<script src="External/Scripts/kendo.all.min.js"></script>
HTML page
<div>
<h2>@Model.FullName</h2>
</div>
<ul>
<li><a href="@Url.Action("ShowAccount", "Account")">Show</a></li>
</ul>
<br />
var app = new kendo.mobile.Application(document.body);
`
`var accountController = new AccountController (_hybridWebView,_accountService);
PortableRazor.RouteHandler.RegisterController ("Account", accountController);`
But @Url.Action or Actionlink does not work. How can i solve?
Thanks.