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:805907
More Search Options
RSS Available
Matching Posts
Re: Method Not Found Exception: System.Web.HttpFileCollection System.Web.HttpRequestBase.get_Files()
Slight refinement on my previous post, what you get is actually an HttpRequestWrapper.
Posted to
ASP.NET MVC
(Forum)
by
MelvynHarbour
on 8/29/2008
Re: Method Not Found Exception: System.Web.HttpFileCollection System.Web.HttpRequestBase.get_Files()
Your problem is that you are treating the Request object as if it is an HttpRequest (which it is in a normal WebForms page). In MVC however it is an instance of HttpRequestBase, not HttpRequest. As a result, it doesn't come with all the functionality of HttpRequest. In particular, this means that you don't get the Files property.
Posted to
ASP.NET MVC
(Forum)
by
MelvynHarbour
on 8/29/2008
Re: switch ViewPage by UserAgent
I would have thought that the simplest option is to have the controller select a different view to render based on the Request object.
Posted to
ASP.NET MVC
(Forum)
by
MelvynHarbour
on 8/29/2008
Re: Processing .aspx files before deployment
If you go to your project properties, and look on the Build Events tab, you'll see that there's a pre/post build event command line, which is ideal for just dropping in any command line utilities like this for your build process.
Posted to
Visual Studio 2005
(Forum)
by
MelvynHarbour
on 8/29/2008
Re: Help with query (banging my head against the wall!)
Happy to help! What I would say is that it's worth taking a little time to understand why that query works. I didn't find it an 'obvious' thing to do the first time I saw it, but if you can get your head round what is going on in the query it will help your understanding in future.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
MelvynHarbour
on 8/29/2008
Re: Help with query (banging my head against the wall!)
The first query is straightforward: SELECT m.FirstName, m.LastName FROM masterUsers m INNER JOIN usersInRoles u ON (m.ProfileID = u.ProfileID) WHERE u.RoleID = @RoleID The second query basically just needs you to know 'the trick'! SELECT m.FirstName, m.LastName FROM masterUsers m LEFT OUTER JOIN usersInRoles u ON (m.ProfileID = u.ProfileID AND u.RoleID = @RoleID) WHERE u.ProfileID IS NULL
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
MelvynHarbour
on 8/29/2008
Re: javascript error on window.back()
Firstly, be aware that the way you're writing the script at the moment means that as soon as a person lands on your page, the page will attempt to go back. This makes the page in question almost totally pointless! That said, the reason for your error is that you are using a method (window.back()) with isn't universally supported. You should try using history.back(1) as this will be more reliable.
Posted to
Client Side Web Development
(Forum)
by
MelvynHarbour
on 8/29/2008
Re: Pass Value to bass class
It's possible in lots of different ways, depending on exactly what you're trying to do. Can you post your code as you have it at the moment, and then explain what you want to achieve and we can hopefully guide you?
Posted to
Getting Started
(Forum)
by
MelvynHarbour
on 8/29/2008
Re: Preview 4 Broke RenderUserControl
You access it exactly the same as you would in the View Page - use ViewData.Model.
Posted to
ASP.NET MVC
(Forum)
by
MelvynHarbour
on 8/29/2008
Re: Protected/Private Interface
Interface members aren't 'public' or 'abstract'. They are just interface members. They're part of a contract. You can't set accessibility modifiers on interface members at all. Try it and you'll see the compiler errors!
Posted to
C#
(Forum)
by
MelvynHarbour
on 8/29/2008
Page 1 of 129 (1284 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