Tagged Questions
0
votes
1answer
61 views
Insertion on Asp.Net Mvc Failed
On my asp.net mvc project, the table data will be displayed on a grid view using Index Method.
After doing Insertion, it would redirect to Index using RedirectToAction. But for the First time, the ...
0
votes
1answer
16 views
Partial View Submit inside Parent View MVC 3 w/Razor
I have three partial views that I load into a div based on radio button selection using jquery. Everything works fine on the loading and on the forms, however each partial form has a submit ...
0
votes
0answers
14 views
Can I change the paging url of a webgrid?
I am new to MVC and webgrid. I have created a webgrid, but it comes with a default url for paging. Is there a way to add custom paging url or use routemap to get custom url?
My webgrid pagination has ...
0
votes
0answers
26 views
Button click for navigation loads incorrect URL
In my Checkout.SelectAddress.cshtml page I have the following form:
@using (Html.BeginFormAntiForgeryPost(Url.Action("SelectAddress", "Checkout", new { area = "Store" })))
{
//extra code ...
1
vote
0answers
51 views
Implement a Custom MVC Base View Page
I am attempting to implement an MVC custom base view page in order to "override" the User property type. This will make my CustomPrincipal type accessible in any view.
After searching the web, I ...
-1
votes
1answer
30 views
Creating Enums Dynamically
I am working on MVC project and i have One Enums Class in my model folder which is as follows :
public class Enums
{
public enum eSiteName
{
[Description("Site 1")]
...
0
votes
1answer
48 views
Route controller that is in a sub folder
I have an MVC3 project with a "sub" folder inside my Controllers folder. Now i want to create a Route to a controller that is inside that subfolder. But how can i do that?
This doesn't seem to work ...
1
vote
2answers
45 views
file upload error with mvc 3
I'm trying to implement simple file upload. I've done the set up same as in the example given. But when I click submit with the file selected in the upload control, it can't postback to the action. ...
0
votes
1answer
39 views
Scaffold Create and Edit Views with Dropdownlist in MVC
I have a MVC3 application that populates a dropdownlist from a Model. When I select an item from the list , i would like to Update the url ('/Edit/4') on a single 'edit' link which will allow me ...
1
vote
2answers
36 views
Configure output cache per user mvc
I have a user specific dashboard. The dashboard will only change daily, I want to use MVC's OutputCache. Is there any way to configure the caching per user and to expire when the request is a new ...
0
votes
0answers
35 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' ...
1
vote
2answers
76 views
Data not showing in the strongly typed view
I have an issue with my controller. Data from my table is not showing in my strongly typed view. but when I return View(CanaClie0012.toList()); I can see my data perfectly. Im not getting any error. ...
1
vote
1answer
32 views
Getting Disabled Dropdown values in MVC
I am pretty new to MVC. In my form i have a disabled dropdown control whose value is not getting passed to the Model during submit as it is disabled. I tried using a hidden field like below
...
-1
votes
1answer
21 views
aspx to mvc microsoft visual studio 2012
i dont know how to change this code to MVC ,
can someone help me to do
it or explain me how can i do it,
It's about modify edit and
delete a component of a database
i need to understand it and do ...
1
vote
2answers
55 views
How can send List<> Model From View To Controller using Ajax Jquery in Mvc3 asp.net?
How Can I Send List<int> Roles Model? For example from view To Controller.
Using Ajax Jquery in Mvc3 asp.net not razor.
I'm using this code
var url = '<%:Url.Action("Roles","RolesManager") ...