Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 Special Edition by Bill Evjen, Scott Hanselman, Devin Rader, Farhan Muhammad, Srinivasa Sivakumar; ISBN: 9780470041789
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 3rd, 2009, 03:25 PM
Registered User
 
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 25-8 C# Example Throwing Errors

For "Professional ASP.NET 2.0 Special Edition", page 1031, I'm getting the following warnings/errors when implementing the code as written :

Warning - "The given expression is never of the provided (System.Web.UI.PartialCachingControl) type" for the segment after the "else if" that reads "(c1 is PartialCachingControl)".

Error message - "Cannot convert type 'WebApplication1.WebUserControl' to 'System.Web.UI.PartialCachingControl'" for the segement in the same "else if" declaration that reads "((PartialCachingControl)c1)" and for the same verbiage inside of the "else if" block.

Last edited by mhall; February 3rd, 2009 at 03:28 PM.. Reason: Clarifying edition and page number.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Validator controls throwing JavaScript errors Bob Bedell ASP.NET 2.0 Professional 7 December 31st, 2007 06:05 AM
chapter 25 -sample code LouMattera BOOK: Professional C#, 2nd and 3rd Editions 3 February 13th, 2005 06:39 AM
throwing exceptions...!? jacob ASP.NET 1.0 and 1.1 Basics 3 October 9th, 2003 03:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.