asp.net-mvc-2
Custom RouteMap
Hi I have to route an old path, that was containing the old webform, to my new controller. I tried this:[详细]
2023-04-10 06:01 分类:问答How to add a -Choose something- from a DropDownList created out of an enum
I followed this blog to be able to create DropDownLists from several enums that we need in our ViewModels.[详细]
2023-04-10 03:44 分类:问答i got an error 'System.Collections.Generic.IEnumerable<EventListing.Models.MyViewModel>' does not contain a definition
how can i Pass multiple model to controller and bind the data to viewpage i have list page in that page contains two tabs, one for active list and another one In active list.[详细]
2023-04-10 01:11 分类:问答Asp.net Mvc 2 How to reroute to www.example.com/my-profile
i would like to reroute this address www.exmaple.com/my-profile to a profile controller i have in my mvc application. There is my global.aspx, as you can the the default routing is[详细]
2023-04-09 22:04 分类:问答Using <% asp tags in javascript not working?
I can\'t get the following to work: var percent = <% Model.Percent; %> I am sending a Model to the 开发者_运维知识库view from the controller...I\'m getting the error:[详细]
2023-04-09 21:20 分类:问答.net MVC 2 controller inheritance
I have i little problem with inheritance of my controllers for example : public class AController: Controller {[详细]
2023-04-09 20:16 分类:问答Cant store Hash table in session - Asp.net MVC3
In my application I want to store a hash tablein session and retrieve later from session. The code is shown below[详细]
2023-04-09 19:00 分类:问答Expected database model is inconsistent in real-time
In this question, I was facing an issue where I was writing an update for a deployed application to bring the database up to date with the newer version we are deploying. Basic outline as follows:[详细]
2023-04-09 16:55 分类:问答table sorter with combined two rows
jQuery table sorter with combined rows Every second row contains detail data for the first row. By default, it is hidden with CSS, but I can slide it open with jQuery.[详细]
2023-04-09 16:15 分类:问答Filtering a list based on another list - LINQ
I have two IEnumerable lists. I want to populate values into the second list based upon the results in the first.[详细]
2023-04-09 15:49 分类:问答