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:842723
More Search Options
RSS Available
Matching Posts
Re: Web Forms controls and MVC (again)
Ben, Thanks for your reply - I am much clearer now on what the situation is. Sorry that it has taken me a while to say thanks.
Posted to
ASP.NET MVC
(Forum)
by
Neil McCrossin
on 3/3/2009
Re: Web Forms controls and MVC (again)
Thanks jrmcoy for your reply. You have said that "it seems that ANY webcontrol can still be used for rendering purposes", but my point is that they actually work for more than just rendering, e.g. I have tested the GridView under ASP.NET MVC and the sorting and selecting work. What I'm wanting to know is why all the explanations I have found on the web say that functionality such as this doesn't work under ASP.NET MVC. Maybe what they mean is that it is not recommended to use this
Posted to
ASP.NET MVC
(Forum)
by
Neil McCrossin
on 2/9/2009
Web Forms controls and MVC (again)
I have posted this question in this forum before ( http://forums.asp.net/t/1365376.aspx ), but as I didn't get any replies I am re-wording it to be a bit more provocative (and I may even slightly overuse CAPITAL LETTERS) in the hope of goading people into replying :-) Please consider the following quotes (I have added the italics to the parts of the quotes that I refer to below). The first is from the author of a book on ASP.NET and the second is from a Microsoft MVP, in other words, both are
Posted to
ASP.NET MVC
(Forum)
by
Neil McCrossin
on 2/2/2009
Re: Difficulties unit testing code which uses HtmlHelper.ActionList()
Thanks Jacques, that did the trick. Once I had got past that hurdle, I just had to add a few more methods to the dummy classes and it worked. Here is the final class I ended up with: using System; using System.Web; using System.Web.Routing; using System.Web.Mvc; namespace TaskList.Tests { class HtmlHelperFactory { public static HtmlHelper CreateInstance(Controller controller) { RouteCollection routes = new RouteCollection(); MvcApplication.RegisterRoutes(routes); HttpContextBase httpContext = new
Posted to
ASP.NET MVC
(Forum)
by
Neil McCrossin
on 12/3/2008
Difficulties unit testing code which uses HtmlHelper.ActionList()
I have started using the HtmlHelper.ActionLink() method in an application (in the middle of some code that generates HTML based on database records) and it works fine, but I want to unit test the code that is using it. Therefore I don't want it to be in the view class, I want it to be in another class that is called by the view class and that is under unit tests. However, in order to construct an instance of the HtmlHelper class for use in the unit tests, I need a ViewContext (I can't see
Posted to
ASP.NET MVC
(Forum)
by
Neil McCrossin
on 12/3/2008
Filed under: "ASP.NET MVC" HtmlHelper ActionLink "Unit Tests"
Page 1 of 1 (5 items)
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
IIS.NET:
URL Rewriter and Reverse Proxy
TechNet Edge:
Forefront Secure Endpoint Demo and Interview
ASP.NET:
Resizing images from the server using WPF/WIC instead of GDI+
Silverlight:
Deploying your Silverlight and WCF RIA Services application
Channel 9:
Juan Chen and Nikhil Swamy: FINE, a Compiler for End-to-End Security Verification
IIS.NET:
DebugFinder
Channel 10:
Get the Outlook Hotmail Connector Beta
Channel 10:
MSN to Launch New Lifestyle Site from Wonderwall Creator
Channel 10:
Behind the Windows 7 Startup Animation
Channel 9:
Reactive Extensions API in depth: CombineLatest
Channel 9:
C9 Lectures: Dr. Graham Hutton - Functional Programming Fundamentals Chapter 11 of 13
WindowsClient:
New WPF Showcase: Scrum Sprint Monitor
WindowsClient:
WPF/XAML helping VS2010 Extensibility
WindowsClient:
HTTP 403.9 with ADO.NET Data Services
WindowsClient:
xml syntax highlighting in Silverlight
Channel 9:
Channel 9 Emerges in China
WindowsClient:
Overlaying Icons on the Windows 7 Taskbar with WPF 4
Channel 9:
The Outlook calendar starts in 1601 - But Why?
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online