Questions tagged [mvcextensions]

11 questions
4
votes
2 answers

MVC3 Html.BeginForm() with additional HTML

I am writing some code where I would like render a MVC BeginForm but to also include additional HTML. For eg. @using (Html.BeginMyCustomForm()) { } And this spits out
PLUS
Adam
  • 43
  • 4
2
votes
2 answers

Get Paging,Filtering from Telerik extension grid and pass to stored procedure

I would like to use the MVC grid filtering but don't want to use linq. Current examples use linq to do the filtering. However, I want to pass the filtering options to a stored procedure. Do you have an example? I have seen example of Telerik…
2
votes
3 answers

How to fix "File does not exist" error after adding ignore route for favicon

I am using ASP.NET MVC 3. I am also using Autofac and MVC Extensions. The error that I initally got was: The controller for path '/favicon.ico' was not found or does not implement IController. I read a couple of posts and they all recommended…
Brendan Vogt
  • 25,678
  • 37
  • 146
  • 234
2
votes
1 answer

FluentValidation + MVC Extensions (metadata) won't work together

for my project i use two libraries: FluentValidation (http://fluentvalidation.codeplex.com/) for view model validation MVC Extensions (http://mvcextensions.codeplex.com/) to fluently configure metadata for my view models Here is how i configure…
Auk
  • 117
  • 8
1
vote
0 answers

Custom Menu item on right click of Controllers folder in MVC application

Can I add a custom menu item,let say "Add xxx Controller" to right click menu when user click on Controllers folder in MVC application. Regards, Patil
Patil
  • 173
  • 1
  • 2
  • 6
0
votes
1 answer

DevExpress GridView EditFormTemplate Password Field

I am using DevExpress GridView Popup Edit Form. In my model Password and ConfirmPassword fields are required. When user Edit a record, I am using below given markup to mark controls as visible or invisible as admin user is not allowed to change…
Zafar
  • 441
  • 4
  • 9
0
votes
2 answers

how to create a cookie in javascript and use in controller in mvc3

Actually I am having a requirement like : I need to get the ID's of checked records by using Javascript and store the id's in a cookie and access that cookie in controller and delete the records based on that id's My Javascript is :
user1859953
  • 1
  • 1
  • 5
0
votes
1 answer

Howto configure complex types in ASP.NET MVC (4) with MvcExtensions

I have a Model with some complex Properties: public class TestModel { public string Prop1 { get; set; } public SubClass Prop2 { get; set; } } public class SubClass { public string Test { get; set; } } public class TestModelMetadata :…
Gerwald
  • 1,549
  • 2
  • 18
  • 42
0
votes
3 answers

Automapper asking for MVC3 reference in a MVC4 app with MvcExtensions

I am using ASP.NET MVC 4 RC and the latest version of MvcExtensions and MvcExtensions.Autofac. I don't know if MVC 4 works differently to MVC 3? The code below is how I used it in my MVC 3 application. I have just copied and pasted it into my MVC…
Brendan Vogt
  • 25,678
  • 37
  • 146
  • 234
0
votes
1 answer

Areas not displaying in MVC 4 using MvcExtensions

I am using ASP.NET MVC 4 RC and the latest version of MvcExtensions and MvcExtensions.Autofac. I don't know if MVC 4 works differently to MVC 3, but my areas aren't displaying at all when using it with MvcExtensions. The code below is how I used it…
Brendan Vogt
  • 25,678
  • 37
  • 146
  • 234
0
votes
1 answer

What is your opinion on using MVCExtensions with Autofac

I would like to know your opinion on using MVCExtensions with Autofac.. I am using MVC Extensions with Autofac in my MVC 3 web app. I'm just not getting it why these extensions were created? I can't really say that it is makng my life easier. …
Brendan Vogt
  • 25,678
  • 37
  • 146
  • 234