ASP.NET MVC 3 is the third major version of Model-View-Controller extension for developing web applications in a .NET framework.
0
votes
3answers
25 views
Checkbox not working in mvc3
I have dynamic check box in my view. But its not working fine its always getting checked
here is my code:
<input type="checkbox" onclick = "InActiveUser('@item.UserId')" id = "@item.UserId" ...
0
votes
2answers
21 views
Give error to ajax call from controller's catch
I have a jquery ajax call to my controller action.
Now in my controller, it went catch. Now I need to invoke error function of my ajax call. If I throw error, this will work. Is there any other method ...
0
votes
1answer
28 views
jQuery Autocomplete wrong item in text box on select
When a user begins typing in the DRMCompanyName input text box, and autocomplete feature fires that displays both the company name and the company id. When the use clicks on a selection, the company ...
0
votes
1answer
26 views
Selected Value not being set in a Dropdown List from a SelectList
Dropdown lists in MVC...basically the bane of my existence...
I've seen numerous topics on this exact issue, but everything I've found on here and around the Internet haven't solved my issue.
A bit ...
0
votes
1answer
34 views
Assign a class to a css attribute selector
I am using Kendo UI with ASP MVC3 to build some forms. I am using the dropdown and datepicker widgets, which are styled larger that standard inputs. To ensure standard textboxes will match, Kendo has ...
0
votes
1answer
9 views
Mock controller action, set Request.InputStream as string
I'm trying to test a controller action that reads JSON from the Request.InputStream and outputs a dynamic. I don't understand what the Mock Request.InputStream type should be. I have tried it as a ...
1
vote
1answer
16 views
How to remove invalid syntax error message in editing Razor view
In Razor ( in site master page and in views) javascript strings with dynamic content are used, like
@inherits ViewBase<EntityBase>
<script type="text/javascript">
$(function () {
...
0
votes
0answers
26 views
The model backing the context has changed/Can't locate database
I'm working on a web forms project in VS 2010 using Razor/MVC3. I am pretty new to programming in general. Anyways...I keep running into the error:
The model backing the 'DbRequestFormContext' ...
0
votes
0answers
10 views
StructureMap Exception Code: 207, IIS 7.5, IE8
I receive error: StructureMap Exception Code: 207 in my asp.net mvc 3 app when I post data to IIS 7.5 from IE8 brouser. The same application deployed on other server with IIS 7.0. work normal. In ...
0
votes
1answer
16 views
Selecting placeholder's value as a selected value in asp.net mvc3
I am using Telerik Dropdownlist in ASP.NET MVC3.
I have take placeholder in it as Select.
After selecting value when i'll click on reset button, I want to set dropdownlist's selected value as a ...
0
votes
1answer
23 views
Entity Framework: Implement interface when generating from database
I'm having a few tables on SQL Server, which have similar structure - int Id and string Value.
This tables linked to main table via foreign key, so I'm wrote a bit of logic for mapping a string ...
0
votes
0answers
17 views
Call reset from jQuery ui grid
I am working on asp.net mvc3 application. I have to use jQuery UI grid but I don't have the time and the option to go through it step by step and it seems that I am not able to execute even basic ...
2
votes
4answers
28 views
Posted data contains only null values in asp.net mvc 4
the problem is whenever i try to save the data using the view. I always get null data. Please help. My codes for controller, models and view are as follows. Thanks.
public class OverallData
{
...
2
votes
1answer
61 views
What happens in BeginProcessRequest()?
We are using NewRelic to provide server-side application traces.
We have noticed that some of our applications consistently spend about 100ms in the method ...
0
votes
2answers
42 views
MVC 3 Exception: Make sure that the controller has a parameterless public constructor
I have MVC 3 app with this same problem. I use Ninject for dependency injection. I cannot trace which controller has a problem, it broke yesterday and I have spent an entire day trying to locate. ...