Top Solutions

[Solved] The associated metadata type for type object contains the following unknown properties or fields.

I got the following error while running the application, later I found a solution for that. This is due the partial class properties are not found in the main class. I removed the column field’s likesCount and OutputHtml from the table and updating the model using entity framework. But I haven’t removed the properties from the partial class.

How to redirect in mvc using jQuery?

In this article I will show you how to redirect in mvc using a jQuery script code. When the user clicks the button JQuery event is triggered on that you can assign controller action to location.href.