Anthem.ICallBackControl Interface Reference

Controls that implement this interface will implement a callback for each supported event, unless EnableCallBack is false;. More...

Inheritance diagram for Anthem.ICallBackControl:

Anthem.BulletedList Anthem.Button Anthem.Calendar Anthem.CheckBox Anthem.CheckBoxList Anthem.DetailsView Anthem.DropDownList Anthem.FormView Anthem.GridView Anthem.ImageButton Anthem.LinkButton Anthem.ListBox Anthem.RadioButton Anthem.RadioButtonList Anthem.TextBox List of all members.

Properties

string CallBackCancelledFunction [get, set]
 Gets or sets the javascript function to execute on the client if the callback is cancelled. See PreCallBackFunction.
bool EnableCallBack [get, set]
 Gets or sets a value indicating whether the control uses callbacks instead of postbacks to post data to the server.
bool EnabledDuringCallBack [get, set]
 Gets or sets a value indicating whether the control is enabled on the client during callbacks.
string PostCallBackFunction [get, set]
 Gets or sets the javascript function to execute on the client after the callback response is received.
string PreCallBackFunction [get, set]
 Gets or sets the javascript function to execute on the client before the callback is made.
string TextDuringCallBack [get, set]
 Gets or sets the text to display on the client during the callback.

Detailed Description

Controls that implement this interface will implement a callback for each supported event, unless EnableCallBack is false;.

Definition at line 9 of file ICallBackControl.cs.


Property Documentation

string Anthem.ICallBackControl.CallBackCancelledFunction [get, set]

Gets or sets the javascript function to execute on the client if the callback is cancelled. See PreCallBackFunction.

Implemented in Anthem.BulletedList, Anthem.Button, Anthem.Calendar, Anthem.CheckBox, Anthem.CheckBoxList, Anthem.DetailsView, Anthem.DropDownList, Anthem.FormView, Anthem.GridView, Anthem.ImageButton, Anthem.LinkButton, Anthem.ListBox, Anthem.RadioButton, Anthem.RadioButtonList, and Anthem.TextBox.

Definition at line 15 of file ICallBackControl.cs.

bool Anthem.ICallBackControl.EnableCallBack [get, set]

Gets or sets a value indicating whether the control uses callbacks instead of postbacks to post data to the server.

true if the the control uses callbacks; otherwise, false. The default is true.

Implemented in Anthem.BulletedList, Anthem.Button, Anthem.Calendar, Anthem.CheckBox, Anthem.CheckBoxList, Anthem.DetailsView, Anthem.DropDownList, Anthem.FormView, Anthem.GridView, Anthem.ImageButton, Anthem.LinkButton, Anthem.ListBox, Anthem.RadioButton, Anthem.RadioButtonList, and Anthem.TextBox.

Definition at line 24 of file ICallBackControl.cs.

bool Anthem.ICallBackControl.EnabledDuringCallBack [get, set]

Gets or sets a value indicating whether the control is enabled on the client during callbacks.

true if the the control is enabled; otherwise, false. The default is true.

Not all HTML elements support this property.

Implemented in Anthem.BulletedList, Anthem.Button, Anthem.Calendar, Anthem.CheckBox, Anthem.CheckBoxList, Anthem.DetailsView, Anthem.DropDownList, Anthem.FormView, Anthem.GridView, Anthem.ImageButton, Anthem.LinkButton, Anthem.ListBox, Anthem.RadioButton, Anthem.RadioButtonList, and Anthem.TextBox.

Definition at line 34 of file ICallBackControl.cs.

string Anthem.ICallBackControl.PostCallBackFunction [get, set]

Gets or sets the javascript function to execute on the client after the callback response is received.

The callback response is passed into the PostCallBackFunction as the one and only parameter.

            function AfterCallBack(result) {
              if (result.error != null && result.error.length > 0) {
                alert(result.error);
              }
            }

Implemented in Anthem.BulletedList, Anthem.Button, Anthem.Calendar, Anthem.CheckBox, Anthem.CheckBoxList, Anthem.DetailsView, Anthem.DropDownList, Anthem.FormView, Anthem.GridView, Anthem.ImageButton, Anthem.LinkButton, Anthem.ListBox, Anthem.RadioButton, Anthem.RadioButtonList, and Anthem.TextBox.

Definition at line 53 of file ICallBackControl.cs.

string Anthem.ICallBackControl.PreCallBackFunction [get, set]

Gets or sets the javascript function to execute on the client before the callback is made.

The function should return false on the client to cancel the callback.

Implemented in Anthem.BulletedList, Anthem.Button, Anthem.Calendar, Anthem.CheckBox, Anthem.CheckBoxList, Anthem.DetailsView, Anthem.DropDownList, Anthem.FormView, Anthem.GridView, Anthem.ImageButton, Anthem.LinkButton, Anthem.ListBox, Anthem.RadioButton, Anthem.RadioButtonList, and Anthem.TextBox.

Definition at line 60 of file ICallBackControl.cs.

string Anthem.ICallBackControl.TextDuringCallBack [get, set]

Gets or sets the text to display on the client during the callback.

If the HTML element that invoked the callback has a text value (such as <input type="button" value="Run">) then the text of the element is updated during the callback, otherwise the associated <label> text is updated during the callback. If the element does not have a text value, and if there is no associated <label>, then this property is ignored.

Implemented in Anthem.BulletedList, Anthem.Button, Anthem.Calendar, Anthem.CheckBox, Anthem.CheckBoxList, Anthem.DetailsView, Anthem.DropDownList, Anthem.FormView, Anthem.GridView, Anthem.ImageButton, Anthem.LinkButton, Anthem.ListBox, Anthem.RadioButton, Anthem.RadioButtonList, and Anthem.TextBox.

Definition at line 70 of file ICallBackControl.cs.


The documentation for this interface was generated from the following file:
Generated on Wed Mar 14 23:50:40 2007 for Anthem by  doxygen 1.5.1-p1