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:31527
More Search Options
RSS Available
Matching Posts
Re: Passing Data Between Views in ASP.NET MVC
You seem to be confused about the fact that in ASP.NET MVC you can't really have server-side code run in response to a Button Click event like you can with ASP.NET WebForms. In ASP.NET MVC your options to get done what your asking is to set your <form> to submit to the desired URL/Action. Then the Action that recieves the Form POST/GET can access the Form Field Values, do something, then use "RedirectToAction" to move to the next page to display to the user. If you're a little
Posted to
ASP.NET MVC
(Forum)
by
crpietschmann
on 10/15/2009
Re: mvc controllers and json objects
I know this is an old post, but I just figured out how to do this using a custom ModelBinder, so I thought I'd share the link to my solution here. http://stackoverflow.com/questions/1077481/how-do-i-pass-a-dictionary-as-a-parameter-to-an-actionresult-method-from-jquery-a
Posted to
ASP.NET MVC
(Forum)
by
crpietschmann
on 7/3/2009
Re: Release 20820 of toolkit
Since they didn't release an ASP.NET 2.0 version of the 208020 release, I'm assuming they are only going to be supporting ASP.NET 3.5 going forward. I do think it would be nice if they supported ASP.NET 2.0 a little longer. Especially since there are still a lot of sites developed in ASP.NET 2.0 using the Ajax Control Toolkit.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
crpietschmann
on 9/30/2008
Re: Calling a console application from ASP.Net
A virtual path is a path relative to the root of your application, thus Server.MapPath would accept a virtual path to a file in your application such as: ~/images/logo.png Now, the path you have to notepad.exe isn't a virtual path, it is the actual path (C:\Windows\Notepad.exe). The file path you want to send to ProcessStartInfo is the actual path for notepad.exe that you have.
Posted to
Tips & Tricks
(Forum)
by
crpietschmann
on 9/26/2008
Re: How do I RedirectToAction using POST instead of GET?
I haven't figured out a way of doing this yet. I just posted the question on StackOverflow.com, so we'll see if anyone knows on there. http://stackoverflow.com/questions/129335/how-do-you-redirecttoaction-using-post-intead-of-get
Posted to
ASP.NET MVC
(Forum)
by
crpietschmann
on 9/24/2008
How do I RedirectToAction using POST instead of GET?
When you call RedirectToAction within a Controller, it automatically redirects using an HTTP GET. How do I explicitly tell it to use an HTTP POST? I have an Action that accepts both GET and POST requests, and I want to be able to RedirectToAction using a POST and send it some values. Like this: this.RedirectToAction("actionname", new RouteValueDictionary(new { someValue = 2, anotherValue = "text" })); I want the someValue and anotherValue values to be sent using an HTTP POST instead
Posted to
ASP.NET MVC
(Forum)
by
crpietschmann
on 9/3/2008
Re: One Controller for many Views
The way you are describing how you want to have "multiple views" for a single controller is actually the same way I built an example of implementing custom themes in ASP.NET MVC. Basically, for each theme there is a seperate subfolder that contains all the views customized for that Theme. Then to display the View for a given theme, it just loads the View from the specified subfolder. View Examples: Views\Default\Home\Index.aspx Views\Red\Home\Index.aspx Views\Blue\Home\Index.aspx I actually
Posted to
ASP.NET MVC
(Forum)
by
crpietschmann
on 8/29/2008
Re: How do you create custom ViewEngine in Preview 5??!?
The issue I was having was actually related to my custom ViewEngine. The second method of registering the ViewEngine (that ran but didn't work) actually did work, the problem was just my custom ViewEngine. In my Custom Themes in ASP.NET MVC Updated for Preview 5 post, I have a complete code example that uses a custom ViewEngine to implement custom Themes in ASP.NET MVC.
Posted to
ASP.NET MVC
(Forum)
by
crpietschmann
on 8/29/2008
How do you create custom ViewEngine in Preview 5??!?
Does anyone know how to create and register a custom ViewEngine in ASP.NET MVC Preview 5? I figured out the changes to make to the ViewEngine I have that worked with Preview 4, but I can't figure out how to register it to actually be used. I have tried placing both of the following in the Application_Start event handler, but neither work: ViewEngines.Engines = new ViewEngineCollection { new CustomViewEngine() }; -- and this -- ViewEngines.Engines.Clear(); ViewEngines.Engines.Add(new CustomViewEngine
Posted to
ASP.NET MVC
(Forum)
by
crpietschmann
on 8/29/2008
Re: Is there a build that works where I can bring up the site to start taking a look at it?
You could download either Preview 3 or 4. I'd get Preview 4 since it's newer and will be more like the final release. But instead of downloading the latest Source Code from the Source Code tab in CodePlex, go to the Release tab and download the installer for the latest release. That will get you the stuff you need to run the Sample/Template website that comes with it so you can start playing around.
Posted to
ASP.NET MVC
(Forum)
by
crpietschmann
on 8/15/2008
Page 1 of 22 (219 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online