The ASP.NET MVC Framework is a Microsoft web application framework that implements the model-view-controller (MVC) pattern. The latest release of the framework offers REST-style web services development capability, also known as Web API.

learn more… | top users | synonyms (6) | asp.net mvc jobs

0
votes
1answer
5 views

Telerik Grid Double Click Display Twice the Number of Clicks

I have a telerik grid that I am using to do a post to the server when the user double click on a row. It appears to work fine until I place an alert in the code and notice some odd behaviors. When I ...
0
votes
1answer
16 views

JavaScript and ajax.actionlink

i am working on an mvc application, i have a page that shows list of images and when you hover over the image it simply add border to the image then i have some link on the page that filter the ...
0
votes
1answer
11 views

Fluent Validation for complex child objects by setting different RuleSet

I have a complex class structure as below. public class Account { public List<Name> Person {get;set;} public List<Address> Address {get;set;} public string Email {get;set;} ...
0
votes
0answers
10 views

How to handle related objects in your business layer (asp.net mvc + nhibernate)

Im designing an application from the ground up. I do this as a study object to get my coding skills better and better. In this application I have two entities: Countries Cities Adding a country ...
0
votes
0answers
16 views

Controller in Sub Folder

My area is below. Only the concerned part is highlighted. Route Table public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); ...
0
votes
1answer
13 views

How do I check the NHibernate version?

I'm supposed to start working on a project written in ASP.NET MVC2, using NHibernate. I'm more familiar with Entity Framework. Is there a way I can check which NHibernate's version the application ...
-1
votes
1answer
18 views

How do I determine the height of an iframe that will contain an external html page?

I have a web application that needs to load the home page of an external application. The page must be loaded within an iFrame in a page on my application. Unfortunately, when I load the page it will ...
0
votes
2answers
36 views

Best practice for a multipage/form mvc web app

I have a project using ASP.Net MVC & EF5. The Model has a large enough number of fields that the app will need several pages to collect all of the data. Once the data is collected it is ...
0
votes
0answers
5 views

Share Session Between two .net 4.0 web applications (domain and subdomain) using Windows Server AppFabric session cache SECURELY

I have two applications, one on a primary domain and the other on another domain. One is a legacy site and the other is a new site. We are slowly converting the legacy site (4.0) using a mix of ...
-3
votes
0answers
15 views

SEO Friendly URLs using ASP.NET MVC Routing [closed]

I am working on a website using ASP.NET MVC. I am using ASP.NET Routing to general URLs like : www.site.com/category/subcatogory/?CategoryId=1&SubCategoryId=2 Other option I have is ...
0
votes
2answers
21 views

JQuery GET requests to MVC4 Partial View not calling server and using local cache instead

I have an MVC 4 Controller with a partial View. This view is called using a JQuery callback when a user requests a refresh. When the page loads initially and the first callback is made it all works ...
0
votes
0answers
12 views

FullCalendar not showing Events

I want to bind the fullcalendar by arshaw into my MVC 3 Application and save the events into a SQL Server database which is in my App_Data Folder. But I have a few problems. On the View of my Action ...
0
votes
1answer
15 views

The value '[object HTMLInputElement]' is not valid

I am getting the following error when submitting the form: The value '[object HTMLInputElement]' is not valid for MaritalStatus this is the Model: public class CompanionsModel { public ...
0
votes
0answers
13 views

@ html.dropdownlistfor forcing fill value without needing

I'm studying MVC and in my tests I created a strongly typed view, where there is a field that is not required (this field belongs to a list of value type table). For this field I am using ...
0
votes
1answer
12 views

When using a passive STS for authentication in ASP.NET MVC, how can I access the SecurityToken?

I have created a simple ASP.NET MVC (4) application, and I am using the passive profile to authenticate against a remote STS. This all works swimmingly, and I am able to access the claims returned ...
0
votes
1answer
17 views

Accessing global constants that can change

In php I can for example create a .inf file containing some constants defined and include it into the code, then if someone change the constantg inside it, it will be used updated. Whats the similar ...
0
votes
2answers
17 views

Notification Of Changed XML Values

I guess I'll just flat-out explain my situation. I have a desktop application that reads and writes to an XML file. This same XML file is read and written by an ASP site. Both sides need to be ...
0
votes
1answer
19 views

Kendo Upload - Limit Number of Concurrent Async Uploads

We use the Kendo Upload to allow customers to upload large number of files for processing. Some of our customers in countries with poorer internet have run into bandwidth restrictions when trying to ...
0
votes
2answers
23 views

Redirecting to another action in same controller and passing some data asp.net mvc3

I want to redirect to another action in same controller and pass one parameter value. I have this code: public ActionResult Index() { } public ActionResult SomeAction() { if (isFailed) { // ...
-1
votes
1answer
13 views

check box to update a database table in mvc view

How can I update a table column by checking a check box in mvc view i.e. if checked column row is Yes if left unchecked row is No. Column in table is set to bool and all entries at the moment read ...
0
votes
0answers
23 views

Use a Function That Returns Ajax to Ajax.BeginForm's onBegin

I need to return a value of false to Ajax.BeginForm's onBegin, if certain conditions exist. This way I can prevent the form from submitting if certain database conditions exist. However, in order to ...
0
votes
2answers
55 views

how can I understand where this “submit” button/actionlink leads in ASP MVC 4?

I am new to ASP.NET MVC 4 and learning my way around an existing MVC 4 code base. I am trying to find the code that processes the the form corresponding to this submit button. I understand that the ...
0
votes
0answers
30 views

DateTimePicker MVC Timespan issues

It seems that if I use an altfield with a datetimepicker, I need to have two separate DateTime? objects (nullable so the fields show blank on load). It seems like I should be able to use a DateTime? ...
-5
votes
0answers
16 views

How to read/write ms word file in MVC3 [closed]

I want to read ms word (having image also) document and save in database using Asp.Net-MVC3 web application. How do i achieve this using html file input control.
0
votes
1answer
33 views

The css id is not been recognized by the table

Using VS2012 MCV4 IE10 and a simple Internet application created from File->New->Project->MVC4 Web Aoolication This code works: <table style="border:1px solid black; ...
0
votes
1answer
37 views

What is the best way to order javascript calls from different files?

I have an asp.net-mvc site and in my .aspx page in the head section i have the following code: $(document).ready(function () { $("#modalDialogContainer").dialog({ resizable: ...
1
vote
5answers
35 views

how can I tell what view this controller will return?

I am new to MVC 4 and learning an MVC 4 codebase. In the music store tutorial from Microsoft, I added views by right clicking a method in a controller and choosing Add View. This allowed me to know ...
0
votes
1answer
26 views

run a function of the controller in the views

In my HomeController, I defined: static void send_data_to_log(ref DateTime last_time) { // do something } in my index of the controller, I defined: DateTime last_time = DateTime.Now; ...
2
votes
2answers
42 views

MVC 4 - Use a different model in partial view

Please bear with my noobness, I'm super new to the MVC pattern. What I'm trying to do I am building a profile information page for registered users on my site. This page would list data about the ...
1
vote
2answers
38 views

Rendering PDF in browser - the PDF is showing up when running under “localhost”, but NOT showing up when replacing “localhost” with my machine name

I have an MVC app that displays a PDF from byte data being retrieved from the database, and the PDF renders just fine in my internet browser if my browser is pointed to "localhost". But, if I change ...

1 2 3 4 5 2057
15 30 50 per page