Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 14th, 2006, 10:01 AM
Registered User
 
Join Date: Aug 2006
Location: Leander, tx, USA.
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?



  #2 (permalink)  
Old September 15th, 2006, 03:23 AM
Authorized User
 
Join Date: Jan 2006
Location: , , .
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.
  #3 (permalink)  
Old September 11th, 2007, 09:45 AM
Registered User
 
Join Date: Sep 2007
Location: , , .
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!

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:04 AM.


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