Answer the question
In order to leave comments, you need to log in
ASP MVC how to add condition for div block attribute substitution?
Good afternoon.
View displays a list of events. A div block is created for each event on the View. Depending on the status of the event, the color of the block should be different. How to implement a select condition to populate a div attribute?
It is necessary that, depending on the status, the class attribute is filled
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question