Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
.NET Framework 3.5 For discussion of the Microsoft .NET Framework 3.5.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 3.5 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 September 19th, 2008, 01:47 AM
Authorized User
 
Join Date: Aug 2008
Location: Dallas, Textas, USA.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default AJAX Extensions

Whats the purpose of adding the <ContentTemplate> inside the UpdatePanel?

Example:

        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                <asp:Button runat="server" Text="Button" onclick="Unnamed1_Click" />
            </ContentTemplate>
        </asp:UpdatePanel>

  #2 (permalink)  
Old September 19th, 2008, 03:32 AM
Authorized User
 
Join Date: Aug 2008
Location: Dallas, Textas, USA.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got the answer to the question.

Any content that needs to be changed with the asynchronous model should be specified in the <ContentTemplate> section of the <UpdatePanel> panel

consider this thread to be closed



Similar Threads
Thread Thread Starter Forum Replies Last Post
Some Extensions plb BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 July 29th, 2008 11:57 AM
erro installing ASP.NET 2.0 AJAX Extensions 1.0 bishnupokhrel ASP.NET 2.0 Professional 7 May 31st, 2007 11:40 PM
Recommend an AJAX IDE - JoyiStar AJAX WebShop. kingstar Ajax 4 December 15th, 2006 05:12 AM
new Ajax article: Creating an Ajax Search Widget jminatel Ajax 0 May 11th, 2006 02:50 PM
New Ajax Article: Ajax Submission Throttling jminatel Ajax 0 April 11th, 2006 08:00 PM





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