Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:776346
More Search Options
RSS Available
Matching Posts
Re: How to use Html.RenderAction with one controller?
It depends what you're trying to do. I'd need to see some example code to give any further suggestions.
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/25/2009
Re: Validation: Design problem using ServiceLayer and ViewModel
You don't need to pass the validationDictionary as ref. You could pass the prefix to ValidateTrackList! _trackListService.ValidateTrackList("TrackList.", trackList, validationDictionary); ... validationDictionary.AddError(prefix + "Description", "Track list description is required."); ... <%= Html.TextBox("TrackList.Name", "<list name>") %> <%= Html.ValidationMessage("TrackList.Name", "*")%> However in this
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/25/2009
Re: MVC 2 Beta - Possible Bug with new helpers.
Unfortunately collections are not supported yet. You should however be able to pass in the id/name you want to the TextBoxFor method using htmlAttributes.
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/25/2009
Re: Testing for valid model
Not sure how this applies to MVC at all... Step 1: Do the conversion. Create a Customer object from your source data. Step 2: Validate it. http://msdn.microsoft.com/en-us/library/cc511656.aspx
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/25/2009
Re: Can I loop over a DataTable in an aspx page?
Yes... You're supposed to set dataTable to a DataTable. I thought that was too obvious to mention. What about it won't work? Did you try it? What error did you get?
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/24/2009
Re: retrieving routeData values in global.asax
Too true. I didn't even read it. I just assumed he was doing this inside Application_BeginRequest. But he is *setting* the culture based on the route data even tho he has called the method "GetCulture". So if he moves this to the right even it should work. I still don't like the reference to HttpContext.Current tho.
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/24/2009
Re: retrieving routeData values in global.asax
niceguy, you have it backwards. [quote user="nicequy"]Having a custom Route set culture seems almost like the wrong place for that kind of responsibility as you would HAVE to know that a particular Action is using the desired Route[/quote] Putting a filter on the Controller or the Action seems like the wrong place as you would HAVE to know whether the Route to that action contained the culture information (which it may not do) The Route seems like the perfect place for this because you
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/24/2009
Re: retrieving routeData values in global.asax
The RouteHandler is another good place to put this, because you can specify it when you define the route.
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/24/2009
Re: How to use Html.RenderAction with one controller?
No. a) You can do things with RenderAction that you can't do with strongly typed views or RenderPartial (which is why it exists) b) you don't know what functionality he desires so you can't say that. I prefer something like MvcContribs SubControllers because it is the Controller which decides which SubControllers the View is allowed to use, whereas with RenderAction the View can call any controller it wants. Nevertheless, the only way to do what the OP wants is to create your own version
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/24/2009
Re: Get Form value by model binding
Or just... public ActionResult SearchMethod(string Text1, string Text2, string Text3) {
Posted to
ASP.NET MVC
(Forum)
by
tgmdbm
on 11/23/2009
Page 1 of 88 (872 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
ASP.NET:
T4MVC now has a real home and a dedicated forum!
TechNet Edge:
Windows Server 2008 R2 : New Power Management Features
ASP.NET:
Web Deployment Painkillers: VS 2010 & MS Deploy
WindowsClient:
Application Accessibility Testing
WindowsClient:
Prism & WCF RIA Services
Channel 9:
Sharepoint 2010 and Claims-Based Identity
WindowsClient:
IRhetoric Ported To BlogEngine.NET
WindowsClient:
PDC Recap and More
Channel 9:
Reactive Extensions API in depth: Primitives
WindowsClient:
New WPF Features: MultiTouch
WindowsClient:
codeplex.com/testapi v 0.4 available
Channel 9:
The Visual Studio Documentary - Alan Cooper, the Father of Visual Basic
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online