Latest posts on "asp-net-MVC"

Load html page in ASP.NET MVC view

24 June 2016

In this example, I will show you how to load an html page in asp.net MVC view. You can call an html page from your view using Html.Action helper method.

How to update nuget package manager?

16 June 2016

Go to tool menu in visual studio and select Library package manager and click Package manager console. If you want to check whether new updates are available for the installed package

asp .net mvc query string

11 June 2016

We can retrieve data from URL to controller action method by two methods in asp.net mvc such as parameter of action method function and Query string. We can get Query string value just like web forms as Request.QueryString.

set viewbag in jquery

10 June 2016

In this example I will show you how to bind viewbag value to an html control using jQuery in mvc.

Radio button mvc

8 June 2016

Radio button allows user to select one option from series of choices. In this example I will show you how to generate a radiobuttonlist in mvc using Html.RadioButtonFor.

[solved]The model item passed into the dictionary is of type 'System.Data.Entity.Infrastructure.DbQuery`1[<> f__AnonymousType2`2[System.String,System.String]]', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1'

7 June 2016

When I was trying to run the application I had faced this problem. I resolved by selecting the complete object that result will consists of complete customer objects. But before I selected a subset of the customer objects, just two members.