Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 April 27th, 2007, 02:59 PM
Registered User
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 8, ASP.NET 2 P270 onwards

I'm trying to update existing records, as 'in try it out' P270 and have run into a problem. When I Update an entry I have to close the connection to the browser and reopen it for the change to take effect on the page I'm working on.
Also, when inserting a record, if I refresh the page as instructed I receive the following message -'To display the webpage again, Internet Explorer needs to resend the information you've previously submitted. If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click Retry to display the webpage again'. If I click retry, the page appears but the new entry doesn't appear until I close and reopen the page and then I have duplicate entries. And then deleting, according to the 'Try it Out' P 276 section 6 I can't delete. I agree that I can't delete the records supplied with the Wrox download but I can delete records that I have input, but only with the DetailsView.
What am I doing wrong? Can anyone help, please?
Regards

 
Old April 30th, 2007, 04:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Hi sevans,

Have you had a look at http://p2p.wrox.com/topic.asp?TOPIC_ID=39830 at all?
Also, is this the same query as http://p2p.wrox.com/topic.asp?TOPIC_ID=59607 with a bit more tacked on? If so, I'll just answer it all here if that's OK?

Dan

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive
 
Old May 3rd, 2007, 05:24 AM
Registered User
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Dan
Yes it is the same as 59607 with more tacked on. I am using VB, and I've looked at 39830 but the problem seems to be different.
sevans

 
Old May 3rd, 2007, 04:54 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Hi sevans,

The issue as I explained in answer to your other post is with regard to ViewState. Disabling ViewState for both controls will give you the results you're expecting.

dan

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 10 onwards akuyali BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 May 2nd, 2007 03:22 AM
ASP.NET 1.1 with VB.NET 2003 chapter 1 subroger Wrox Book Feedback 2 November 11th, 2004 12:52 PM
Beg. ASP.Net eCommerce with VB.Net - Chapter 5 James Hendrix All Other Wrox Books 0 October 22nd, 2003 10:45 PM





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