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:114
More Search Options
RSS Available
Matching Posts
Re: Stateful ASP.NET MVC?
[quote user="superevanc"] < form action= "{path to controller}" method= "post" > < input type= "hidden" name= "state_data" value= "data you want on form submit" /> < input type= "hidden" name= "more_state_data" value= "data you want on form submit" /> (rest of form goes here) </ form > [/quote] You are approaching the ViewState really fast. Which is one thing we were trying to get away
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/15/2008
Re: ActionExecutingContext.Result is confusing as to what it does
Ok I will give that a try. But wouldn't by the very fact of me setting the Result indicate that I want it executed? The only place where I could see logic around this is if the ActionMethod returned void, but with the current framework the Result still gets set to EmptyResult and overrides my setting. Or am I missing something?
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/3/2008
Re: How many rules do you have in your route table?
TNE, Your point is well taken about the pairs. But like I said, if I got rid of the pairs the following URL: http://www.ideapipe.com/groups/pipeline/categories/ideas/days/7/pages/2 Would look like this: http://www.ideapipe.com/pipeline/ideas/7/2 Which would complicate things further, because groups and categories would get mixed up, because both are just strings that can occupy the same space. Same with days and pages. The days right now are static, but they could be dynamic in the future, with a
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/3/2008
Re: Trying to get DataPaging class to work on DL query and apply in View
Or there is the LINQ method of paging: dc.Categories. .Skip(10) .Take(10);
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/2/2008
Re: MVC all or nothing?
[quote user="jbardrof"] Actually, you can use the routes.IgnoreRoute to integrate the species together. You'll just tell the system to ignore something like routes.IgnoreRoute("legacy"); And anything under mysite.com/legacy will be ignored. At least that looks how it should work, I haven't tested it extensively yet. [/quote] I think what you want is: routes.IgnoreRoute( "legacy/{*path}" );
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/2/2008
Re: Anonymous Type HtmlAttributes / _class Not Being Replaced With class
To use reserved keywords in C# you need to append an "@" sign to the front of them. In your case it would be @class = "cssclass"
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/2/2008
Re: MVC all or nothing?
You may be out of luck if you want it integrated together. But I did see something that you may want to try called WebFormRoutingDemo, in the source code: http://www.codeplex.com/aspnet/SourceControl/DirectoryView.aspx?SourcePath=%24%2faspnet%2fMVC%2fFutures%2fWebFormRoutingDemo&changeSetId=7061 Or you could just create a Virtual Application under your current application to house all your old code until it is migrated.
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/2/2008
Re: How many rules do you have in your route table?
[quote user="ChanceUSC"] Do you mind if I ask what you are doing that requires 62 routes? That seems like a..lot..of routing going on. [/quote] Well much of it involves layers and pairs of URL's. You can see the functioning site at http://www.ideapipe.com . http://www.ideapipe.com/ http://www.ideapipe.com/upcoming http://www.ideapipe.com/days/7 http://www.ideapipe.com/categories/politics http://www.ideapipe.com/categories/politics/upcoming http://www.ideapipe.com/categories/politics
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/2/2008
Filed under: IdeaPipe
ActionExecutingContext.Result is confusing as to what it does
The property Result on ActionExecutingContext is confusing as to what it does. If I try setting it in the OnActionExecuting it does nothing because it seems to get overridden by the actual action method that is calling it. So it doesn't appear that it gets executed before the ActionMethod is called if it is set.
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/2/2008
Re: what exactly is the use of such fancy url in MVC?
[quote user="gayupk"] Yes, I am very new to the development world. And i haven't been exposed to complex web development as of now. That's the reason I asked the question. So basically to make url more dynamic we go in for this url pattern..Isn't it.. [/quote] No the URL was already just as dynamic with the query string. It is to make it more readable while providing flexibility of execution.
Posted to
ASP.NET MVC
(Forum)
by
nberardi
on 6/2/2008
Page 1 of 233 (2321 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
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!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online