0
votes
1answer
43 views

Managing Roles In ASP MVC 3 Code First Approach

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. I am using also Entity Framework and Code First Method. I have an interface Login that works perfectly. My problem that I ...
2
votes
1answer
23 views

ASP.NET MVC 3 Strongly-typed Views: Why do compiler errors disappear/are ignored when a view is not open in VS editor?

Every time we make changes to a model we need to open all views using that model in VS editor and see if there are any errors before proceeding with a new deployment. Is there a way to enforce ...
1
vote
1answer
60 views

How to correctly implement MVC3 with Razor radio buttons?

When a teacher creates a question he has to supply 3 answers, one of which is correct and the other 2 are wrong. public class AddQuestion { public string QuesBody { get; set; } public ...
0
votes
1answer
57 views

Value passed NULL between View and Controller in ASP MVC

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. In a view, I have a dropdownlist which and a button. The button is used to take me to another view. I want to pass the ...
0
votes
0answers
53 views

How to send value from a view to another in ASP MVC 3

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. I am using also Entity Framework and Code First Method. In a view Index, I have a DropDownList Gamme. I define its item ...
1
vote
3answers
32 views

How to disable an EditorFor with JavaScript in ASP MVC

I want to disable any editorfor with javascript, I try this but it's not worked : <body onload="charge()"> <div class="editor-field"> <%: Html.EditorFor(model => ...
0
votes
1answer
42 views

Value passed NULL from a View to another in ASP MVC 3

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. I am using also Entity Framework and Code First Method. In a view Index, I have a DropDownList Gamme. I define its item ...
0
votes
1answer
54 views

How to handle 2 submit buttons using same controller in ASP MVC 3 [duplicate]

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. I am using also Entity Framework and Code First Method. I have 2 views that populate the same controller : Index.aspxand ...
0
votes
1answer
75 views

How to remove an item from a DropDownList basing on the item selected in another DropDownList in ASP MVC and using Javascript

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. In a view, I have two dropdownlist which loads same values from a table in the base. I want create an event that delete ...
2
votes
3answers
68 views

How to check that the ID is not duplicated in ASP MVC and EF

I am developing an ASP .Net MVC 3application using C# and SQL Server 2005. I am using also Entity Framework and Code First Method. I have a model Poste related to a table Poste in my base. When I ...
1
vote
1answer
59 views

Page reload itself after submitting in ASP MVC and Entity Framework

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. I have 2 views : Index : Contains a DropDownList 'Gamme' and a button ' Configurer' Gestion : Partail View that contains ...
1
vote
2answers
59 views

How to store values from TextArea in a table in ASP MVC

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. I am using also Entity Framework and Code First Method. In a view, I have a DropDownList and a button and a TextArea. ...
1
vote
2answers
76 views

MVC 3 - SignalR moveshape sample

I trying to adopt the demo in this article http://www.asp.net/signalr/overview/getting-started/tutorial-high-frequency-realtime-with-signalr which is developed with vS2012, however I am using vs2010. ...
0
votes
1answer
58 views

How to retrieve values from TextArea in a Local Variable in ASP MVC

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. In a view, I have 2 DropDownList and TextArea and 2 buttons : DropDownList Poste DropDownList Fonction Button Ajouter ...
2
votes
1answer
44 views

Button that used to post an Action and a Script in the same time in ASP MVC

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005. In a view, I have a button 'Enregistrer' which I add in it a JQuery Script. The script is used to delete the item selected ...

1 2 3 4 5 38
15 30 50 per page