Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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 March 31st, 2010, 09:30 PM
Authorized User
 
Join Date: Mar 2010
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default Ch. 10: UpdatePanel makes page disappear

OK, I found the answer. I can't delete this post, so to see what's up, [URL="http://p2p.wrox.com/asp-net-3-5-basics/69162-ch-10-updatepanel-design-view.html"] I typed the answer here then hit the wrong button and lost it.

John



The following happens both when I'm updating the page by hand and also on the pages I copy from the Source directory's downloaded files so I don't think I'm just mis-typing something , but ...

When I'm following the steps on page 328 to add the UpdatePanel to ContactForm.ascx, as soon as I wrap the <asp:UpdatePanel....> ajax control around the FormTable, the forms, text, and the rest disappear from the Design view of the page. I can still see the html when I'm using markup view, the control shows up in Contact.aspx, and it all shows up in my browser, but where's the design view gone to?

The previous Try It Out that had the timer/clock on the UpdatePanel didn't disappear from Design view. I've looked all through earlier parts of this chapter and can't find any warnings, so where's it all gone?

Thanks!

John

Added: OK, I just went and in markup view added a button OUTSIDE the UpdatePanel. It didn't show up in Design View. Then I went to design view (which was all blank) and added another button. It did show up in Design view until I edited the Text property of the second button at which time it also disappeared. Am I nuts or is this some kind of a feature in VWD?

Last edited by JohnInPomeroy; March 31st, 2010 at 10:02 PM.. Reason: found the answer
 
Old April 1st, 2010, 05:26 AM
Authorized User
 
Join Date: Jun 2009
Posts: 70
Thanks: 18
Thanked 1 Time in 1 Post
Default

By co-incidence, I am working on something similar, and so dug out the book. I note that Imar calls for the Update Panel to be added in markup.

Last edited by kiwibrit; April 1st, 2010 at 05:39 AM..
 
Old April 1st, 2010, 06:17 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
Am I nuts or is this some kind of a feature in VWD?
It's a bug in Visual Studio....

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!
 
Old April 1st, 2010, 04:20 PM
Authorized User
 
Join Date: Mar 2010
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Imar View Post
It's a bug in Visual Studio....

Imar
Bug, feature, bug, feature. Who are we to tell what's what.

I'm just glad it wasn't something I did.

I did go back to the Try it out on page 324 and added the <style. . . . . .> block that the people at MSDN claimed causes the problem and am still able to see everything in design view. Oh, well.

Thanks,

John





Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 10 Updatepanel - Design view RobertVL ASP.NET 3.5 Basics 2 July 6th, 2008 06:13 AM
C# Ch 10 Page 362 surefire BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 5 February 25th, 2008 01:55 PM
C# Ch 10 Page 370 - Simple User Control surefire BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 February 25th, 2008 01:53 PM
Ch. 10 Directory listing superkooi BOOK: Beginning ASP 3.0 1 March 3rd, 2005 07:39 AM
Problems with the editor example in ch 10 arne Beginning PHP 4 August 21st, 2004 02:24 PM





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