Not able to display error/warn/Info messages to user(UI) with asp.net webapplication?
How can i display Business rule required field error message to user ?
Any Example with webapplication will help me?
It depends on if you're using WebForms or MVC. With MVC, the .ValidationMessageFor extension method will pick up errors related to a property, and the ValidationSummary method can be used to show model level errors. There's a similar method in WebForms, but its been a while so I don't remember.
Neither of these will show Info or Warning messages, I think there might be something in CslaContrib that solves that case though. If not you'd have to devise your own method.
Copyright (c) Marimer LLC