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:290610
More Search Options
RSS Available
Matching Posts
Re: Shared Hosting
Are you using routes without any extensions? My site with webhost4life only works if I put the .aspx extensions, otherwise I get 404. They tell me integrated pipeline is ON.
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 10/28/2008
Re: how to get viewname in mvc beta?
Best I found so far: ViewContext.RouteData.Values["action"].ToString() Hate that string "action" in there. Let us know anyone that has a better solution. - sp
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 10/16/2008
Re: MVC Form Validation
[quote user="dimi3"]TempData["validationErrors"] is now a Dictionary<String, String> How can I access each element in the .aspx view? [/quote] The same way you would iterate any other dictionary: <b>Errors:</b><br /> <ul class="errors"> <% foreach(string field in ((IDictionary<string,string>)TempData["validationErrors"]).Keys ) { %> <li><i><%= field %></i>: <%= ((IDictionary<string,string>
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 1/5/2008
Re: MVC - How do I store/access session information in a controller.
Replace Http.context.current.Session with simply HttpContext.Session .
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 12/31/2007
Re: SetControllerFactory suggestion
Got my vote.
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 12/30/2007
Re: Templates and HTML Generation?
Are you sure a combination of Skins and MasterPages wouldn't achieve what you need? If you think GWT is more like what you want, pay attention to the Volta project. read about it
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 12/30/2007
Re: Templates and HTML Generation?
MasterPages? I'm not sure I fully understood what your problem is.
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 12/30/2007
Re: MVC and html forms
[quote user="Momcilo"]Maybe they can add an attibute to control this behavior[/quote] That sounds like an interesting alternative.
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 12/29/2007
Re: MVC and html forms
If you use the MVCToolkit, you can have something close to that: public class ArticlesController { [ControllerAction] public void Create() { Article article = new Article(); article.UpdateFrom(Request.Form); //Pretend this was extensive validation if (article.IsValid) { ArticlesRepository.Add(article); RedirectToAction( "List" ); } else { TempData[ "Message" ] = "Please supply all fields." ; TempData[ "article" ] = article; //Takes us to a form for creating
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 12/29/2007
Re: What's Down the Pipe?
[quote user="charoco"]The Columns collection is a static property on the class: Product.Columns.ProductName returns the name of the db column -- "ProductName".[/quote] Ah, sorry, I did not know that. My bad. One of the differences to what I proposed (as far as I thought how it would be used) would be the PropertyInfo lookup step. Another interesting difference is that the Columns collection only exists (correct if I'm wrong again) in classes that map to database tables. The
Posted to
ASP.NET MVC
(Forum)
by
sergiopereira
on 12/28/2007
Page 1 of 7 (61 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
IIS.NET:
SiteShell
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online