Top "Asp.net-mvc-3" questions

ASP.

How to set value of input text using jQuery

I have an input text which is this: <div class="editor-label"> @Html.LabelFor(model => model.EmployeeId, "Employee …

javascript jquery html asp.net-mvc-3
HTML.ActionLink vs Url.Action in ASP.NET Razor

Is there any difference between HTML.ActionLink vs Url.Action or they are just two ways of doing the same …

asp.net-mvc asp.net-mvc-3 razor
Entity Framework 5 Updating a Record

I have been exploring different methods of editing/updating a record within Entity Framework 5 in an ASP.NET MVC3 environment, …

c# asp.net-mvc-3 entity-framework-5
Multiple models in a view

I want to have 2 models in one view. The page contains both LoginViewModel and RegisterViewModel. e.g. public class LoginViewModel { …

asp.net-mvc asp.net-mvc-3
How to access JSON Object name/value?

function (data) { //add values based on activity type //data = JSON.parse(data); //alert(abc.Phone1); alert(data.myName) alert(data.…

jquery ajax json asp.net-mvc-3
Returning a file to View/Download in ASP.NET MVC

I'm encountering a problem sending files stored in a database back to the user in ASP.NET MVC. What I …

c# asp.net-mvc asp.net-mvc-3 download http-headers
How to write "Html.BeginForm" in Razor

If I write like this: form action="Images" method="post" enctype="multipart/form-data" it works. But in Razor with '@…

forms asp.net-mvc-3 razor
The type or namespace name does not exist in the namespace 'System.Web.Mvc'

Buiding MVC3 solution went well but have got an error in browser: Compiler Error Message: CS0234: The type or namespace …

c# asp.net-mvc-3
How to declare a local variable in Razor?

I am developing a web application in asp.net mvc 3. I am very new to it. In a view using …

c# .net asp.net-mvc asp.net-mvc-3 razor