Why are you returning the image generated by the chart control and not using it in a view in ASP.NET MVC?

Why can't you use the chart control directly in the views? Why should you return the image generated?

+3
source share
1 answer

Although there are ways to get WebForms that work with MVC , however, basically WebForms controls cannot work in ASP.NET MVC Views as WebForms Templates. There is a key in the name. APS.NET MVC uses WebForms as templates, so you don’t get full-blown page life cycle events, etc. In ASP.NET MVC views.

, javascript ( jQuery).

+1

Source: https://habr.com/ru/post/1732006/


All Articles