-1
votes
0answers
21 views

Datepicker does not insert a date

I've run into a tricky problem it seems. I've got two input text fields that i've turned into datepickers. However when i pick a date the date does not transfer into the textfield. The calendar shows ...
0
votes
1answer
33 views

Code first approach with mvc3

I want to know if i'm doing things the good way. i have two models : Personnel : public class RH_Personnel { public int RH_PersonnelID { get; set; } public string Nom { get; set; } ...
1
vote
1answer
36 views

Azure ACS Set Up in C#

I am looking at several examples for using ACS, and decidedly they do make me feel stupid. I looked at the tutorial online it seems like all I need was the following line in the config: ...
0
votes
1answer
39 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 ...
1
vote
4answers
33 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
77 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 ...
2
votes
1answer
37 views

The call is ambiguous between two methods or properties

I use mvc3/razor,This code is for integrating openID. When I run the program it is working fine,But When i see the code, red lines gives this popuperror. The call is ambiguous between two methods or ...
0
votes
1answer
50 views

Redirecting from one value to another using action link

When I click on the column values in a table, it should redirect me to another table which has a common id, but a different view. @foreach (var item in Model.Vendor) { <tr> ...
2
votes
2answers
98 views

Html.dropdownlist does not display the default/selected value in the dropdown field

I have a table with various rows and each row corresponds to an ID. For every row, I have EDIT option which when selected should enable the user to look at the default values corresponding to that ID ...
1
vote
0answers
52 views

How to change the display name for a property in the controller?

I'm working with ASP.NET MVC4. I am looking to change the display name of a property based on some other value retrieved from a database, so that when I call @Html.LabelFor() in my view, the correct ...
1
vote
2answers
22 views

ViewBag property changed to object type

In my controller i put model object to viewbag as shown in the below: ViewBag.fileModel = new ViewFileModel(id) public class ViewFileModel { public Employee Employee { get; set; } ...
1
vote
1answer
36 views

Radio Button Group in ASP.NET MVC3

I am having a field of Boolean in Model named Child_With_Bed . Now, I want radio button group in which yes = true and no = false. So when I select it Child_With_Bed's value is set. I tried below ...
0
votes
2answers
58 views

MVC3 asp.net error: Value cannot be null. Parameter name: items on dropdownlist

I am getting a dump ONLY in the server and not in my local system when trying to post the data. There is a page which submits some value to the database. I have also modeled the dropdown in the page ...
0
votes
1answer
49 views

Html.Dropdownlist selected value is not posted back to the Controller from view

I am trying to have a dropdownlist on Create.chtml where a user can select a 'NAME' from the dropdownlist and the corresponding value (ID) should be sent back to controller to add it to the database ...
0
votes
1answer
28 views

Pass model to Controller from jquery ajax

How can I pass model to jquery ajax my code id '@Model' is the model on the view.i need to pass this model to controller which accept argument of type login model. $('#reject1').click( function() { ...

1 2 3 4 5 313
15 30 50 per page