1<?xml version="1.0" encoding="utf-8"?>
2<Type Name="ICallbackContainer" FullName="System.Web.UI.WebControls.ICallbackContainer">
3  <TypeSignature Language="C#" Value="public interface ICallbackContainer" />
4  <AssemblyInfo>
5    <AssemblyName>System.Web</AssemblyName>
6    <AssemblyVersion>2.0.0.0</AssemblyVersion>
7  </AssemblyInfo>
8  <Interfaces />
9  <Docs>
10    <since version=".NET 2.0" />
11    <remarks>
12      <attribution license="cc4" from="Microsoft" modified="false" />
13      <para>Classes that implement the <see cref="T:System.Web.UI.WebControls.ICallbackContainer" /> interface provide controls with a script that will initiate a callback to the server. A callback differs from the more common postback in that the page processing for the callback recreates the page without changing state information held by the page. For more information on creating callbacks, see <format type="text/html"><a href="dfaaa7d4-e1f2-4322-b2f5-796e0419f185">Implementing Client Callbacks Without Postbacks in ASP.NET Web Pages</a></format>.</para>
14      <para>Classes that implement the <see cref="T:System.Web.UI.WebControls.ICallbackContainer" /> interface should also implement the <see cref="T:System.Web.UI.ICallbackEventHandler" /> interface to handle the events raised by controls.</para>
15    </remarks>
16    <summary>
17      <attribution license="cc4" from="Microsoft" modified="false" />
18      <para>Defines a method that enables controls to obtain a callback script.</para>
19    </summary>
20  </Docs>
21  <Members>
22    <Member MemberName="GetCallbackScript">
23      <MemberSignature Language="C#" Value="public string GetCallbackScript (System.Web.UI.WebControls.IButtonControl control, string argument);" />
24      <MemberType>Method</MemberType>
25      <ReturnValue>
26        <ReturnType>System.String</ReturnType>
27      </ReturnValue>
28      <Parameters>
29        <Parameter Name="control" Type="System.Web.UI.WebControls.IButtonControl" />
30        <Parameter Name="argument" Type="System.String" />
31      </Parameters>
32      <Docs>
33        <param name="control">To be added.</param>
34        <since version=".NET 2.0" />
35        <remarks>
36          <attribution license="cc4" from="Microsoft" modified="false" />
37          <para>Implementations of the <see cref="M:System.Web.UI.WebControls.ICallbackContainer.GetCallbackScript(System.Web.UI.WebControls.IButtonControl,System.String)" /> method should return a script that, when run on the client, will initiate a callback to the Web server. </para>
38          <para>The <paramref name="argument" /> parameter is passed to the <see cref="M:System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent(System.String)" /> method that handles the callback.</para>
39          <para>For more information on creating callbacks, see <format type="text/html"><a href="dfaaa7d4-e1f2-4322-b2f5-796e0419f185">Implementing Client Callbacks Without Postbacks in ASP.NET Web Pages</a></format>.</para>
40        </remarks>
41        <summary>
42          <attribution license="cc4" from="Microsoft" modified="false" />
43          <para>Creates a script for initiating a client callback to a Web server.</para>
44        </summary>
45        <returns>
46          <attribution license="cc4" from="Microsoft" modified="false" />
47          <para>A script that, when run on a client, will initiate a callback to the Web server.</para>
48        </returns>
49        <param name="argument">
50          <attribution license="cc4" from="Microsoft" modified="false" />The arguments used to build the callback script.</param>
51      </Docs>
52      <AssemblyInfo>
53        <AssemblyVersion>2.0.0.0</AssemblyVersion>
54      </AssemblyInfo>
55    </Member>
56  </Members>
57</Type>