View Single Post
  #2 (permalink)  
Old June 21st, 2012, 01:51 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

I guess this is just the way it is. The controls in the Toolbox only add the outer tags and don't include any nested required tags. Since you need a ContentTemplate for the UpdatePanel, adding that by default when dragging a control from the toolbox would have made a lot of sense.

You can remove the existing one and replace it with your own by dragging a piece of markup into the toolbox.

Cheers,

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!
Reply With Quote