Articles in this section
Category / Section

How to transfer from one view to another view in ASP.NET MVC?

1 min read

Transferring from one view to another in Asp.Net MVC

In ASP.NET MVC, you can transfer from one view to another view by using App.transferPage method. To achieve this, set the page url ‘/controllername/viewname’ (here it’s given as /Home/Ajax) as the second parameter of App.pageTransfer method.

You can handle the transferPage action in button touchend event as illustrated in the following code example.

CSHTML

<div align="center">
<input type="button" id="btn" data-ej-touchend="loadPage" data-ej-text="Go to Ajax page" />
<script>
function loadPage() {
App.transferPage(App.activePage, "/Home/Ajax");
}</script>

 

Conclusion

I hope you enjoyed learning about ow to transfer from one view to another view in ASP.NET MVC.

You can refer to our ASP.NET MVC feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications.  You can also explore our  ASP.NET MVC example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied