Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Code Behind Model with MVC

Tags:

asp.net-mvc

I am trying to use ASP.NET Server Controls (ASP.TextBox etc) with MVC (to take advantage of the validation power, designer support etc). How can I shoehorn this into MVC architecture? For example, how can my button.click route to the controller or how can the data inside my server controllers be accessed via viewPage?

Can point me to an article or reference that will help to clear up my messy design? Or, is it better for me to stick to MVC and inline styles?

like image 919
Gripsoft Avatar asked Mar 09 '26 05:03

Gripsoft


1 Answers

I would stick with the MVC way or revert to web forms... Are you trying to get support for designers using dreamweaver? That's actually a good point, mvc's HtmlHelper is not dreamweaver friendly.

like image 198
ccook Avatar answered Mar 10 '26 19:03

ccook



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!