Tagged Questions

0
votes
1answer
21 views

DropDownListFor enum doesn't bind back to the model

On my MVC form, I need to bind a drop down box to an enumeration on my ViewModel. The best way I found to do that is described here. It appeared to work at first, but now that I've added validation ...
1
vote
1answer
43 views

Url routing in mvc 3.0

I want to have below specific Url routing for my website http://www.MyWebsite?Region=US&Area=South based on passed Region and Area query string parameter, i want to redirect to a specific ...
1
vote
3answers
61 views

passing model from view to controller using jquery

I have a view @using staffInfoDetails.Models @model staffInfo <link href="../../Content/myOwn.css" rel="stylesheet" type="text/css" /> @{staffInfo stf = Model; } <div ...
0
votes
1answer
27 views

how to mange role Assignment by action wise in MVC3 i.e.each role be assign by different Action?

How to manage role Assignment by action wise in MVC3, i.e. each role is assigned by a different Action in MVC3 in C#.net ?
10
votes
5answers
14k views

Unable to find the requested .Net Framework Data Provider. It may not be installed. - when following mvc3 asp.net tutorial

I am following the ASP.NET MVC 3 Music store application tutorial but I keep getting stuck in part 4: http://www.asp.net/mvc/tutorials/mvc-music-store-part-4. It keeps telling me that I do not have ...
1
vote
1answer
290 views

Display success message on Jqgrid EDIT form

EDIT PRMS edit: { addCaption: "Add CDM", bSubmit: "Submit", bCancel: "Cancel", bClose: "Close", saveData: "Data has been changed! Save changes?", bYes: "Yes", bNo: ...
1
vote
1answer
222 views

Questionnaire Wizard in MVC3

My requirement is to create a exam questionnaire wizard. The steps in wizard will be dynamically created.There will be some basic steps that will be common for some applicant like language settings ...
0
votes
1answer
33 views

Nicer way to add entry into main db table and link table

Hi all the below solution works in that it creates a record in the MeetingRoomRequest table and also adds the associated amenities to that request into the MeetingRoomRequestAmenityLink table. However ...
4
votes
2answers
3k views

Random Session Timeout in ASP.NET MVC3

i have an application which gets random session timeouts. (IIS 7.5 on Windows 2008 R2, .NET 4.0) i tried the following: checked the application log if the w3wp.exe process was crashed, but there is ...
0
votes
0answers
26 views

Create search filter by users.IsApproved

I'm creating a search page in order to filter users by their usernames, approval status, and whether they're currently locked out or not. if (!string.IsNullOrEmpty(filterby)) ...
0
votes
1answer
64 views

ASP.NET MVC 3 Controller Extension Method

I am new to mvc 3 and I'm using it with the asp.net membership provider....so I'd like to create an extension method to let me get the logged user GUID from any controller whitin my website Something ...
5
votes
2answers
1k views

Model Bind List of Enum Flags

I have a grid of Enum Flags in which each record is a row of checkboxes to determine that record's flag values. This is a list of notifications that the system offers and the user can pick (for each ...
0
votes
2answers
27 views

Ajax.BeginForm OnFailure invoked when ModelState is InValid

I want to call "OnFailure" when ModelState is not valid in controller. In My LoginView @using (Ajax.BeginForm("Login", new AjaxOptions { HttpMethod = "POST", UpdateTargetId = "Login",InsertionMode ...
0
votes
3answers
98 views

How do I refresh an html element?

I've tried searching for any possible solutions to my question but none of what I've seen so far works. Anyway, I'm using MVC 3 and I have a form called Add Event. On that page, I have a dropdownlist ...
2
votes
3answers
15k views

MVC3 Razor and Modal popup

i need to get a Modal popup that displays a form which will save data back to the db. is there is good example of doing it? is Ajax more flexible or using jquery dialog?

1 2 3 4 5 76
15 30 50 per page