asp.net-mvc-2
ASP.NET MVC: Accessing ViewModel Attributes on the view
Is there any way to access any attributes (be it data annotation attributes, validation attributes or custom attributes) on ViewModel properties from the view? One of the things I would like to add a[详细]
2023-04-06 18:58 分类:问答foreach statement cannot operate on variables of type '' because '' does not contain a public definition for 'GetEnumerator'
I Got an Error Like This Desc开发者_如何学Goription: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and mo[详细]
2023-04-06 17:56 分类:问答Maintaing page number of MVC 2 pagination on refresh
I\'m using MVC 2 Pagination (not the jquery one) and my partial page gets refreshed in every 5 second.[详细]
2023-04-06 14:48 分类:问答MVC asp.net PartialView causing No Parameterless constructor error?
Having an issue with an MVC 2.0 application partial view that all of the sudden when accessed and stuff is actually in the ViewData, the dreaded No parameterless Constructor error. I Have followed the[详细]
2023-04-06 12:54 分类:问答Create custom reports with crystal reports and entity framework 4
I want to allow users of a asp.net mvc 2 application, creating dynamicly reports. In a SQLServer Database is a table with all tasks for a user. Every task depends on a project and a user. What I want[详细]
2023-04-06 11:55 分类:问答Rendering views from xslt in MVC2
Years ago (.net 2005, C#)I used to make an AJAX call via javascript to an HTTPHandler (controller), and have it call it call business objects that returned XML (model).This XML was parsed through a ge[详细]
2023-04-06 11:00 分类:问答Navigating to a different page based on a timer in MVC2
I was hoping that I could be able to send a user to a different page if they have not executed any functions开发者_如何学编程 in a certain time frame.Is there some kind of timer that I can execute to[详细]
2023-04-06 06:40 分类:问答mvc 2 passing a parameter as a QueryString
If I have f开发者_高级运维or example a controller home with a ActionResult videoInfo Home/VideoInfo that pop up a form where put id and after clicking button getinfo it will redirect me to a page wher[详细]
2023-04-05 16:46 分类:问答Intermittent Application Crash: JQM Beta 3, Google Maps v3, and MVC
Sometimes it works....sometimes, it doesn\'t.Very strange. I\'ve written a JQuery Mobile Application and one part of the app accesses Google Maps to display a map for a specific, user-chosen location[详细]
2023-04-05 03:28 分类:问答ASP.NET MVC 2.0: Shared View Controller
I have a pretty basic question, but I cannot find the answer online without resorting to asking it myself. In an ASP.NET MVC 2 WebSite, if I have a Shared view located in a Shared folder. Let\'s say t[详细]
2023-04-05 01:49 分类:问答