0
votes
2answers
37 views

When to use RedirectToAction and where to use RedirectToRouteResult?

Question In which context, I can use RedirectToAction and where to use RedirectToRouteResult ? I have two Action Methods like below. Approach - 1 public class ActionResultTypesController : ...
0
votes
2answers
26 views

How to set the value of a hidden field from a controller in mvc

I want to set the value of a hidden field from a controller.How can i do this? In view part i have given like this.. <div> @Html.Hidden("hdnFlag", null, new { @id = "hdnFlag" }) </div> ...
0
votes
1answer
26 views

Improvements are done or Unobstrusive Validations is new in MVC3?

I was reading the new features of asp.net-mvc3 and found about unobtrusive-validation. My question is that Unobstrusive is new in asp.net-mvc3? This SO answer says about this validation Does it ...
1
vote
1answer
34 views

How to open a popup, MVC webgrid, dynamic columns

I have a webgrid, which is stated below @grid.GetHtml(tableStyle: "webgrid", headerStyle: "webgrid-header", footerStyle: "webgrid-footer", ...
3
votes
0answers
40 views

Dependency Injection fix using Ninject? [closed]

Question Do you have any other point that supports Ninject other then below mentioned two points? ============ Details We don't need to pass the instance to any constructor wherever we need ...
3
votes
1answer
82 views

How Httphandler Reusable memory works?

I created a HttpHandler and following is the setting in the Web.config <add verb="*" path="*.png" type="MvcApplication1.Handler2"/> IsReusable = true in HttHandler Let's say, I have 20 users ...
2
votes
1answer
39 views

What's the difference between RouteCollection and Route Table

Can you tell the difference between RouteCollection and Route Table? I tried a lot to search at Google. But could not found any references.
1
vote
1answer
24 views

Routing issue in Global file

Routes Information routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "Home", action = "Index", id = ...
2
votes
3answers
120 views

ASP.Net MVC - Request Life Cycle

I am trying to search the Video of Request Life Cycle of MVC. I tried a lot on Google, but could not found it.
2
votes
2answers
51 views

ASP.NET MVC - What is UrlRoutingModule?

I was reading about Request life cycle in MVC. I got stuck in understanding the below line. The UrlRoutingModule Intercepts the Request Query - What is UrlRoutingModule? I searched a lot on ...
0
votes
2answers
111 views

Save and retrieve checkbox values asp.net mvc

I'm new to asp.net mvc and currently using MVC 2. I'm struggling with working with checkboxes for days now. I simply need to get checked checkbox values to be saved in database and on Edit view check ...
-1
votes
1answer
34 views

MVCContrib Paging large amount of Data

I am using MVCContrib grid in my MVC application and the dataset has more than 2 million records so that the MVCContrib grid performance is very bad beacuse it takes all of data, So I am thinking to ...
0
votes
1answer
80 views

Prevent a property in model to show up in query string

In asp.net mvc if I have a model like below: public class MyModel { public string Name {get; set;} public string MySecretProperty {get { return "123"; } } } In my controller : MyModel model = new ...
0
votes
1answer
65 views

How to implement “no wait” controller call for an API?

I have a set of MVC3 controller methods that i call from my JavaScript clients that do not require returning any data. It's purely one way push of tiny data-set for further processing. Each controller ...
0
votes
1answer
69 views

How to validate before Ajax request at some central location?

I have some Partial Views loaded in a View. All the Partial Views post by Ajax call in JQuery. I have to impose some validation before sending request to server. For that I can use the BeforeSend ...

1 2 3 4 5 36
15 30 50 per page