Wrox Programmer Forums
|
BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5
This is the forum to discuss the Wrox book Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter Kit by David Sussman, Alex Homer; ISBN: 9780764588075
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 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 September 14th, 2006, 10:01 AM
Registered User
 
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default converting testmenu.aspx to a content page

on page 63
viewing in browser got this message:

Compiler Error Message: BC30456: 'GridView1_SelectedIndexChanged' is not a member of 'ASP.testmenu_aspx'.


THIS IS THE OFFENDING CODE (generated by asp.net)

<asp:GridView ID="GridView1" runat="server"
AllowPaging="True"
AllowSorting="True"
AutoGenerateColumns="False"
BackColor="White"
BorderColor="#DEDFDE"
BorderStyle="None"
BorderWidth="1px"
CellPadding="4" DataKeyNames="ItemName,Description,PizzaToppings,M enuItemType" DataSourceID="SqlDataSource1"
EmptyDataText="There are no data records to display." ForeColor="Black"
GridLines="Vertical"
OnSelectedIndexChanged="GridView1_SelectedIndexCha nged">

any ideas?



 
Old September 15th, 2006, 03:23 AM
Authorized User
 
Join Date: Jan 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try removing the attribute:

OnSelectedIndexChanged="GridView1_SelectedIndexCha nged"

from the GridView. The error indicates that ASP.NET
cannot find the event handler code for the SelectedIndexChanged
event of the GridView.
 
Old September 11th, 2007, 09:45 AM
Registered User
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same problem when tried to learn the book Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter Kit
by David Sussman, Alex Homer

I could't fix this yet, anyone please helps!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Master page control from Content page. angshujit ASP.NET 2.0 Basics 3 January 11th, 2007 06:20 AM
converting from html to aspx sss22 ASP.NET 1.0 and 1.1 Basics 1 February 2nd, 2006 05:48 AM
Converting ASP calls to ASPX OldCoder Classic ASP Basics 1 October 23rd, 2004 03:04 PM
converting pages from html to aspx debuajm ADO.NET 6 May 31st, 2004 12:41 PM
converting pages from html to aspx debuajm .NET Web Services 2 May 23rd, 2004 03:47 PM





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