简体   繁体   中英

Customized View + Update Form using ASP.NET MVC5

I am new to ASP.NET MVC5 and already familiar with adding a scaffold item using MVC5 Controller with views using the Entity Framework.

Is there a way I can customize the web pages like this: 在此处输入图片说明

where I can split the existing records (first tab has 5, second has 4, and so on...) from the database on different tabs and update the values once.

Any suggestions?

You can have a master view that gets partial view data via AJAX. Each partial view could have its own model. That way you can split the model logically into many views. Once the values are changed you can post changes via JavaScript. You can use KnockoutJS to track changes to the model on the client side.

You can use Jquery UI Tabs to display the tabs. cut and paste the razor markup generated by the visual studio to the respective tabs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM