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:686002
More Search Options
RSS Available
Matching Posts
MVC 2 Preview 2 Bug - ValidateInput
I have a controller action that takes a data model object that accepts HTML. I want to turn off input validation. The typical way to do this in MVC is to use the ValidateInput attribute with false as the constructor value. HOWEVER, in MVC 2 Preview 2, input is STILL being validated. I've tried setting the controller's ValidateRequest property to false directly... but that didn't work either. Is there a hack to fix this?? Is anyone else even able to reproduce??
Posted to
ASP.NET MVC
(Forum)
by
zowens
on 10/30/2009
Re: MVC 2 Preview 2 Bug - ValidateInput
Nevermind I fixed it. In the Web.Config you have add the following for the request validation to go through: <httpRuntime requestValidationMode = "2.0" />
Posted to
ASP.NET MVC
(Forum)
by
zowens
on 10/30/2009
Re: MVC 2 Preview 2 Bug - ValidateInput
Thanks for the explanation, Eilon! Is there a safer way to pass HTML through request values or is using the 2.0 validation the only way??
Posted to
ASP.NET MVC
(Forum)
by
zowens
on 10/30/2009
Re: Simplest Route to Express Club Starter Kit 2?
We've had people report prolems such as this with the v2 build... use .NET framework 2.0, that's what it was built for. The PollQuestion error comes from the "PollQuestion" class appearing twice. My suggestion is to change the namespace on one of the "PollQuestion" classes. "SqlDataProvider" is a subsonic thing... you can download their source at http://subsonicproject.com Don't use an instance of the database in App_Data... im assuming that's what happened
Posted to
Codeplex Club Starter Kit
(Forum)
by
zowens
on 9/17/2008
Re: Adding Events, News, etc. in Club Site
Ahhhh right the buttons. Crack open the list and view pages to each sections. Find the button and determine how the role is being assessed. Sometimes there is an IsAdmin boolean and sometimes there is a LoginPanel.
Posted to
Codeplex Club Starter Kit
(Forum)
by
zowens
on 8/7/2008
Re: Adding Events, News, etc. in Club Site
< location path = " locations/edit.aspx " > < system.web > < authorization > < allow roles = " Administrators " /> < allow roles = " Editors " /> < deny users = " * " /> </ authorization
Posted to
Codeplex Club Starter Kit
(Forum)
by
zowens
on 8/5/2008
Re: Adding Events, News, etc. in Club Site
In the web.config, change the role constraints attached to the pages.
Posted to
Codeplex Club Starter Kit
(Forum)
by
zowens
on 8/4/2008
Re: Club Starter KIt Project
I'm rude... hmmmmmmm..... let us let others hold their own on this one. I would rather this be a private matter, but, if you would prefer it to be public, I can certainly display your comments and our emails in this forum.
Posted to
Codeplex Club Starter Kit
(Forum)
by
zowens
on 7/29/2008
Re: How do I give myself Admin rights to my site
Open the "ASP.NET Administration" tool and add yourself to the "Administrators" role.
Posted to
Club Web Site Starter Kit
(Forum)
by
zowens
on 7/26/2008
Re: ASP.net MVC Hosting
Any hoster with IIS6 or IIS7 will work. IIS7 is recommended, however, because of the whole routing without extensions thing. There are a few IIS7 hosters out there... I've been looking at http://aspnix.com/
Posted to
ASP.NET MVC
(Forum)
by
zowens
on 7/23/2008
Page 1 of 23 (226 items) 1
2
3
4
5
Next >
...
Last ยป
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
Channel 9:
BugCamSmash in Action!
Channel 9:
Virtual Earth Videomap Movies
TechNet Edge:
AD RMS Certificates and Licensing on the Client and the Server
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13 [C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13]
Channel 10:
Bing Launches 2nd Homepage Photo Contest
Channel 10:
Bing4Free Lets You Use Bing.com Images for Desktop Wallpaper
Channel 10:
Bing Updates: Streetside Views, Photosynth, and "Mapplications"
Channel 10:
Bing for Windows Mobile Updated
WindowsClient:
New WPF Showcase: Bling Tweets
WindowsClient:
Tale of two tweets - VS beta - is it busy 70% of the time or is it brilliantly fast?
TechNet Edge:
Forefront TMG URL Filtering and MRS
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online