p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 (http://p2p.wrox.com/forumdisplay.php?f=229)
-   -   25-8 C# Example Throwing Errors (http://p2p.wrox.com/showthread.php?t=72547)

mhall February 3rd, 2009 03:25 PM

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.


All times are GMT -4. The time now is 11:59 PM.

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