Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB 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
 
Old December 22nd, 2013, 02:25 PM
Registered User
 
Join Date: Dec 2013
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
Default Stuck with errror message on chapter 7 - navigation

hello,

please can someone help me out, i'm stuck with an error message when i tried to debug the code in chapter 7 - navigation.

the code is : 'ASP.masterpages_frontend_master' does not contain a definition for 'TreeView1_SelectedNodeChanged' and no extension method 'TreeView1_SelectedNodeChanged' accepting a first argument of type 'ASP.masterpages_frontend_master' could be found (are you missing a using directive or an assembly reference?)

i got stuck with this code when i tried to make the menu for the DarkGrey theme of the Planet Wrox website.

please, someone help me on how to go about solving this problem.
 
Old December 22nd, 2013, 04:31 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Sounds like you accidentally double-clicked the TreeView in Design View but then never saved the autogenerated method in the code behind.

Look at the code for the <asp:TreeView /> and then remove the attribute for OnSelectedNodeChanged.

Hope this helps. If it doesn't, please post your code.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Tobi (December 25th, 2013)
 
Old December 25th, 2013, 03:14 PM
Registered User
 
Join Date: Dec 2013
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Thank you for your feedback sir. It works now.

Cheers.

Tobi.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 9: Sending an Email errror meichmann BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 0 July 8th, 2011 10:45 AM
Help PHP Rookie Stuck Chapter 1! shinigami BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 3 November 14th, 2009 12:45 AM
Stuck on chapter 3 and just cant get past it leemark2k3 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 October 13th, 2009 03:58 PM
Stuck in chapter 4 louisvillegeorge BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 2 June 17th, 2009 10:54 PM
Stuck on the first chapter flashster BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 September 1st, 2006 03:40 AM





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