Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello
When we should use partial views and we should use html helpers?
I have a bunch of user controls ASCX with lot of tags and html and in another hand I had some custom controls created with C# .and both of them include javascript .
so what's the best way to convert those controls to MVC?
Thank you
Posted

1 solution

You can't really "convert" from ascx to MVC, but the closest you'll probably get will be to implement your controls as partial views so you can included them where needed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900