comma decimal seperator in asp.net mvc 5

im desperately trying to make asp.net work with the comma symbol as the decimal seperator but this seems to be a lot harder then necessary… i’ve done everything that’s in this tutorial http://www.asp.net/mvc/overview/getting-started/introduction/examining-the-edit-methods-and-edit-view tried this in the root web config <system.web> <globalization culture="de-DE" uiCulture="de-DE" /> </system.web> stepped through the jQuery code – the globalization there … Read more

Access model class instance from a custom AdditionalMetadataAttribute (asp.net mvc 5)

I have the following situation – I need to write a custom additional metadata attribute, that based on another property value (from the same model), adds a value to the AdditionalValues dictionary. Right now, my issue is that I’m not able to access the model instance inside my attribute class.

How to populate a view models using a linq query ASP.NET MVC 5 Entity Framework

Ok so this is a follow-up from MVC 5 ASP.NET Entity Framework Collect Form Data through Range Input , My Database Structure Consists of a Survey Having Many Categories, A Category having many Questions, then a Question having many QuestionResults and finally QuestionResults having many CategoryResults, in the HomeController I have the models being bound through the ViewModel, but I now require it to be populated with my entities through the context with Linq, any help will be greatly appreciated.