<asp:ScriptManager ID="ScriptManager1" runat="server">
<asp:LinkButton ID ="linkbutton1" runat="server" >
<asp:Label ID ="label1" runat="server" ></asp:Label>
<asp:Panel ID ="Panel1" runat="server" BackColor="LightPink" ForeColor="DarkSalmon" Font-Bold="true">
has a complicated relationship with Ajax.
On the one hand, the company wants
provide its existing ASP.NET developers with an easy way to implement Ajax functionality
on the client. Therefore, it wants to provide web developers with the tools
build pure client-side Ajax
applications. For these reasons, Microsoft has both a
Ajax framework and a client-side Ajax framework.
If you want
to retrofit an existing ASP.NET application to take advantage of Ajax, you can
advantage of Microsoft’s server-side Ajax
framework. To take advantage of the serverside
ASP.NET pages with server-side controls in the standard way. You learn how to
advantage of the server-side Ajax
framework in this chapter.
advantage of the server-side framework is that it provides existing ASP.NET
painless method of doing Ajax.
The disadvantage of the server-side framework is
doesn’t escape all the problems associated with a server-side framework. You
run back to the server whenever you perform any client-side action.
<cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" CollapseControlID="linkbutton1" ExpandControlID="linkbutton1" CollapsedSize="0" CollapsedText="Expand
it..." ExpandDirection="Vertical" ExpandedSize="250" ExpandedText="Colaspe it..." SuppressPostBack="true" TargetControlID="Panel1" TextLabelID="label1">