Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 Server Control and Component Development by Dr. Shahram Khosravi; ISBN: 9780471793502
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 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
  #1 (permalink)  
Old February 3rd, 2007, 08:48 PM
Authorized User
Points: 83, Level: 1
Points: 83, Level: 1 Points: 83, Level: 1 Points: 83, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2006
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 6: Templated Controls In Design View

Hi

Is it possible for the databound Templated Control to display the label text in Design Mode. The changes made in the Properties window of Visual Studio show at runtime, but I see no label values at design time. It seems like the lack of a WSYWIG experience would be unsatisfying to a page developer. It makes since that it does not show since the call to databind has not been made. But it is showing in the Properties window.

Thanks for your time.

  #2 (permalink)  
Old February 20th, 2007, 12:23 PM
Authorized User
 
Join Date: Sep 2006
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I felt the same way; I'll post another reply later as I don't have access to my sourcecode at my current location, but I recall my fix for it was rather than to instantiate the control within each template in the CreateContainerChildControls() method, I would do so within the constructor for the class. But don't quote me on that--I'll follow up later.

I believe the issue revolves around the point in time the control(s) for the template are instantiated. Design time changes appear to be ignored if their not instantiated in the proper place.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 6 Templated Controls geomar BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 2 February 3rd, 2007 07:58 PM
Access templated controls properties tony_j_hug ASP.NET 2.0 Basics 5 October 17th, 2005 10:44 AM
Blank Design View ??? smuger Dreamweaver (all versions) 4 October 11th, 2004 04:40 PM
how to enable the design view yylee Access VBA 2 October 4th, 2004 02:23 PM
Could not open in design view!! texasraven ASP.NET 1.x and 2.0 Application Design 4 March 17th, 2004 03:22 PM





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