? EF7 many to many relationship. How to pass data from multi select dropdown to controller?

My Model public class FlightBooking { public int Id { get; set; } public ICollection<FlightPassenger> Passengers { get; set; }
 ? ASP.NET MVC: How to display strongly typed view model, containing list of items, which also contain list of items?

I'm building an app using ASP.NET MVC which I want to use a strongly type view model, which contains a List<Item> called items which contains an id int and itemName string. The view model also
 ? Displaying multiple rows in a single View using Details Scaffolding

i have an employee details table, where i have a column called Role. Each employee can have more than one role. Currently following is the recordset that I am getting from SQL which i want to display
 ? How should I implement Nlog logger to reduce copy/paste tedium?

I'm working on a .NET solution that will include MVC and Web API controllers. After admitting I deserved better than a roll-your-own logging solution and could benefit from some of the features in a l
 ? With gridview changes how to update back to the datasource?

With the new frameworks coming up in .NET(4.5, 4.0, 3.5 etc) and with many more features....Is there a simple/straight forward with less optimize code to track the changes of Gridview data and updatin
 ? How to add Select to an existing Linq Expression

I'm trying to make an editable table. I have a dynamic table, columns can be made visible or invisible. I have an extra column with an edit button. When I hit this I do an Ajax call to get an editable
 ? SumAsync() with nvarchar value

I have tbl_purchase table which has fields such as order_date - DateTime,price - nvarchar, pid - int etc., Requirement is to display total price with respect to each year in a chart. So to get the pri
 ? Parameter in a controller function returns undefined ReferenceError

I'm going through this learning lab for AngularJS. I can get the example to work as-is (with a minor bug fix).I'm also trying to learn some good coding practices concerning AngluarJS by referencing th
 ? Why is Chrome searching for my favicon.ico when I serve up a file from ASP.NET MVC?

I have a controller in MVC serving up images from a database.EDIT: This still happens if I serve up a file over completely standard means in MVC.Every time I request my image, Google Chrome also searc
 ? ASP.net MVC HttpException strange file not found

I'm running asp.net MVC site on IIS6 - I've edited my routing to look like the following: routes.MapRoute( "Default", "{controller}.aspx/{action}/{
 ? favicon.ico 404 when launcing a sample mvc 4 in Visual Studio

I created a sample project for studying MVC 4 in Visual Studio 2012 (11.0.6... update 3) using the "Basic" template option. There was the chapter about bundles configuration, so the author explained t
 ? Why is Chrome searching for my favicon.ico when I serve up a file from ASP.NET MVC?

I have a controller in MVC serving up images from a database.EDIT: This still happens if I serve up a file over completely standard means in MVC.Every time I request my image, Google Chrome also searc
 ? Encode String To Html Asp.Net MVC

Possible Duplicate: ASP.NET MVC Razor render without encoding One of the proerties of my Product object is returning a string that has html in it. When I set the model to the view, the view reads it
 ? text rendered in partial view still encoded

I have text in my database that is html encoded. In order to display it on a normal view, I use the technique described here -@Html.Raw(encodedHtmlString)and it displays as expected.However, when I d
 ? How to render script in the head section using ASP.NET MVC Razor

This question already has an answer here: ASP.NET MVC 3 Razor: Include JavaScript file in the head tag 1 answer
 ? Add CSS or JavaScript files to layout head from views or partial views

Layout pages head:<head> <link href="@Url.Content("~/Content/themes/base/Site.css")" rel="stylesheet" type="text/css" /></head>A View (AnotherView) from the application n

Page 1 of 411  |  Show More Pages:  Top Prev Next Last