Explore .NET MVC on Experts Exchange

Expert Solutions for Your Tech Problems

.NET MVC

Microsoft’s ASP.NET MVC is a web application framework that implements the model–view–controller (MVC) pattern. As an open-source software, it’s se...

Read more
  • 763 Content
  • 185 Contributors

Expert Spotlight
Digital marketing (Hospitality)

Focus on what matters and Let Go OFF what doesn't.

Troubleshooting Solution

Dynamically change the disabled property of an mvc control.

23

I'm trying to dynamically disable a drop down in MVC 5. If I set the "@disabled" property directly

Article

MVC EditorTemplate for Date, DateTime and Time

MVC applications have a rather unintuitive way to handle date and times within the default scaffolding views of MVC. This article shows the process of changing these to proper date and time pickers using Editor Templates and a rather nice extension library of JQuery UI written by Trent Richardson.
Troubleshooting Solution

Set user identity manually in MVC

3

Hi all,


Does anyone know how to manually create claims and set the identity of a user in MVC

Troubleshooting Solution

File / assembly error on System.Threading.Tasks.Extensions after installing IdentityModel.Token packages via NuGet

3

I was installing the Microsoft.IdentityModel.Tokens and System.IdentityModel.TokensJwt packages

Troubleshooting Solution

Strip time from date in MVC razor page

4

I'm using MVC 5 and attempting to only grab the date portion of a DateTime field that lives on the

Troubleshooting Solution

Pass parameter to controller method

byAlHal2
41
I have this code which calls a controller method from a hompeage.aspx

<a …
Troubleshooting Solution

Why will JSON formatted string not parse?  (JavaScript ajax call vs Razor C# controller)

1

I am trying to figure-out why JSON data returned as a string won't parse.


This will parse:


Example 1

Troubleshooting Solution

Razor:  asp-page-handler is not invoking the method in the controller

3

Working in a Razor page with C# in the controller.


When I click on a button it is supposed to be

Troubleshooting Solution

Display text without html tags in MVC form

9

I am using ASP.NET MVC 5 with a strongly typed view. the Html.EditorFor is displaying the HTML tags

Troubleshooting Solution

ASP.net MVC Core database first - add new column to table then update the project

2

Hi

I created my first ASP.net MVC Core database first solution using the video at CRUD Operations

Troubleshooting Solution

ASP.net MVC read XML data and insert into SQL database

3
Hi
In ASP.net C# MVC I am looking for an example of C# code to read XML data and then insert it into…
Troubleshooting Solution

ASP.NET MVC -Update model when click on <li> element

29
The webpage contains a text editor , and a side bar contains a list of files. I want that when the …
Troubleshooting Solution

asp.net

32
Hi Guys,
I have web application that run asp.net MVC 4, but my login page is login.aspx, when I …
Troubleshooting Solution

JSON object passed inside ViewData[ ] -- but how do I access the name value pairs in the HTML markup?

3

I am trying to pass a JSON object to a partial view in MVC (razor page?)


Here is the relevant code

Troubleshooting Solution

Error system asking me to save Json file after submission

bylulu50
23
Hi,

How can I send back my model info to the dialog box ounce I submitted its form.
right now …
Troubleshooting Solution

Count HTML text area characters not to exceed 4000.

bylulu50
19
Count HTML text area characters not to exceed 4000.  

I'm not able to display the total count of …
Troubleshooting Solution

Bind JSon object to the datatable using JQuery

byASPDEV
17
Hello Experts,

I'm new to MVC and JQuery web development. I'm trying to bind the data to my …
Troubleshooting Solution
Troubleshooting Solution

ASP.net MVC C# send XML request ti API and receive response

1
Hi
In ASP.net MVC C# I am looking for a simple example of sending an XML request to an API and then …
Troubleshooting Solution

Does Entity Framework sometimes auto-convert DateTime to EST?

21
Does Entity Framework sometimes auto-convert DateTime to EST?

My Javascript call is making an MVC…

Do more with Experts Exchange.


Get Answers

Join a Group Discussion

Collaborate

Monitor your Site

Explore solutions and more