FoodCandy!

SmartTextBox Class Reference

Represents a textbox with an auto-completion ability. More...

List of all members.


Public Member Functions

 SmartTextBox ()
 Initializes a new instance of the Wilco::Web::UI::WebControls::SmartTextBox class.
void RaiseCallbackEvent (string eventArgument)
 Executes the logic for the current callback.
string GetCallbackResult ()
 Gets the callback result.

Protected Member Functions

override void CreateChildControls ()
 Notifies server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
override void OnPreRender (EventArgs e)
 Raises the System::Web::UI::Control::PreRender event.
override void Render (HtmlTextWriter writer)
 Renders the control.
virtual AutoCompleteSuggestion[] OnAutoCompletion (AutoCompleteEventArgs e)
 Raises the Wilco::Web::UI::WebControls::SmartTextBox::AutoCompletion event.

Properties

bool EnableAutoComplete
 Gets or sets whether auto-completion is enabled.
string ResultCssClass
 Gets or sets the CSS class used for the suggested results.
string ResultRowCssClass
 Gets or sets the CSS class used for a row in the suggested results.
string SelectedResultRowCssClass
 Gets or sets the CSS class used for a selected row in the suggested results.
bool EncodeSuggestions
 Gets or sets whether the suggestions should be encoded.
override string ID
 Gets or sets the ID of the textbox.

Events

event AutoCompleteEventHandler AutoCompletion
 Occurs when auto completion is being performed.

Detailed Description

Represents a textbox with an auto-completion ability.


Member Function Documentation

virtual AutoCompleteSuggestion [] OnAutoCompletion AutoCompleteEventArgs  e  )  [protected, virtual]
 

Raises the Wilco::Web::UI::WebControls::SmartTextBox::AutoCompletion event.

Parameters:
e 
Returns:
An array of suggestions, or null if no event handler was specified.

override void OnPreRender EventArgs  e  )  [protected]
 

Raises the System::Web::UI::Control::PreRender event.

Parameters:
e 

void RaiseCallbackEvent string  eventArgument  ) 
 

Executes the logic for the current callback.

Parameters:
eventArgument 

override void Render HtmlTextWriter  writer  )  [protected]
 

Renders the control.

Parameters:
writer 

Property Documentation

bool EnableAutoComplete [get, set]
 

Gets or sets whether auto-completion is enabled.

bool EncodeSuggestions [get, set]
 

Gets or sets whether the suggestions should be encoded.

override string ID [get, set]
 

Gets or sets the ID of the textbox.

string ResultCssClass [get, set]
 

Gets or sets the CSS class used for the suggested results.

string ResultRowCssClass [get, set]
 

Gets or sets the CSS class used for a row in the suggested results.

string SelectedResultRowCssClass [get, set]
 

Gets or sets the CSS class used for a selected row in the suggested results.


Event Documentation

event AutoCompleteEventHandler AutoCompletion
 

Occurs when auto completion is being performed.


The documentation for this class was generated from the following file:
  • SmartTextBox.cs
© FoodCandy, 2006-2007, All Rights Reserved | FoodCandy | Sun Oct 7 10:48:54 2007 | Doxygen 1.4.6-NO