Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: Beginning ASP.NET 1.0
|
BOOK: Beginning ASP.NET 1.0
This is the forum to discuss the Wrox book Beginning ASP.NET 1.0 with C# by Chris Goode, John Kauffman, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Dave Sussman, Ollie Cornes, Rob Birdwell, Matt Butler, Gary Johnson, Ajoy Krishnamoorthy, Juan T. Llibre, Chris Ullman; ISBN: 9780764543708
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.0 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 January 3rd, 2005, 02:57 AM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error re MyCalendar - EditItemTemplate.aspx

Hello, I tried the MyCalendar.aspx file which worked fine, however the edit file EditItemTemplate.aspx didn't work out right. I get the following error:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The server tag is not well formed.

Source Error:


Line 132: </ItemTemplate>
Line 133: <EditItemTemplate>
Line 134: <asp:TextBox id="txtEventDate" Size="25";
Line 135: Text='<%# DataBinder.Eval(Container.DataItem,"EventDate") %>'
Line 136: runat="server"/>


Source File: /EditItemTemplate.aspx Line: 134


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.40607.42; ASP.NET Version:2.0.40607.42


Can someone direct me on what is wrong? I tried jumping ahead in the book to get my calendar site up and running.
 
Old January 3rd, 2005, 08:08 PM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, I found the mistake. At the end of line 134 is a semi-colon, which is unnecessary. After I took it away, all was well.

There is also an identical instance of this about 10 lines down as well. I don't know if others have experienced this before, but there you go.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Mycalendar.xml file balaji.ram XML 1 October 25th, 2007 03:13 AM
Datalist-edititemtemplate-RadioButtonList cp75 ASP.NET 1.0 and 1.1 Basics 1 September 1st, 2006 12:56 PM
mycalendar.xml miss XML 0 July 25th, 2005 09:15 AM





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