Latest posts on "asp-net-MVC"

Mvc-show error message along with image

6 November 2016

In this article, I will show you how to display images along with Validation message using dataannotations in mvc asp.net c#.

infinite scroll jquery example

6 November 2016

In this article, I will show you how to add infinite scroll load content while scrolling with jQuery Ajax using asp.net MVC without using third party plugins. On scroll event jQuery call GetData() function and return records as a json format using JsonResult.

What is an area in asp.net mvc?

26 October 2016

If Application contains a large number of controllers it is difficult to manage. The asp.net area simplifies large mvc web application in to smaller groupings.

How to return an ActionResult string in MVC?

22 October 2016

In this article, I will show to how to return a string result using ActionResult in mvc 4. You can achieve this by ContentResult to return a string. It will create content result object by using a string.

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

13 October 2016

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.