ASP.NET AJAX Control Toolkit Demos v17.1.1.0

CascadingDropDown Sample
Ajax Control Toolkit
CascadingDropDown Demonstration
Make
Model
Color

[No response provided yet]
CascadingDropDown Description
CascadingDropDown is an ASP.NET AJAX extender that can be attached to an ASP.NET DropDownList control to get automatic population of a set of DropDownList controls. Each time selection of one DropDownList control changes, CascadingDropDown makes a call to a specified web service to retrieve the list of values for the next DropDownList in the set.
CascadingDropDown Properties
Properties
  • Category - A category of this DropDownList (used when communicating with the helper web service).
  • ContextKey - User/page specific context provided to an optional overload of the web method described by ServiceMethod/ServicePath. If the context key is used, it should have the same signature with an additional parameter named contextKey of the sting type.
  • EmptyText - Optional text for an option displayed when the list is empty.
  • EmptyValue - An optional value for an option displayed when the list is empty.
  • EnableAtLoading - Determines wether or not to disable the DropDownList control when it is waiting for data from the service, so on loading a user can use the keyboard to navigate to the drop-down control.
  • LoadingText - Optional text displayed by DropDownList when it is loading its data.
  • ParentControlID - An optional ID of the parent DropDownList (on which the content of this control is based).
  • PromptText - Optional text displayed by DropDownList a user has not yet touched. If omitted, the first dropdown item is selected.
  • PromptValue - An optional value for an option displayed by DropDownList showing PromptText.
  • SelectedValue - A selected value of the dropdown.
  • ServiceMethod - The name of a web service method.
  • ServicePath - A path to the helper web service.
  • UseContextKey - Determines whether or not the ContextKey property should be used. It will be automatically enabled if the ContextKey property is ever set (either on the client or server side). If the context key is used, it should have the same signature with an additional parameter named contextKey of the string type.
  • UseHttpGet - Determines whether or not to use the HTTP GET method for requesting data.

Methods
  • ParseKnownCategoryValuesString(knownCategoryValues) - A helper method to parse the private storage format used to communicate with known category/value pairs.
  • QuerySimpleCascadingDropDownDocument(document, documentHierarchy, knownCategoryValuesDictionary, category) - A helper method to provide simple implementation of a method to query a data set and return relevant dropdown content.
  • QuerySimpleCascadingDropDownDocument(document, documentHierarchy, knownCategoryValuesDictionary, category, inputValidationRegex) - A helper method to provide simple implementation of a method to query a data set and return relevant dropdown content.
Copyright © 2012-2017 CodePlex Foundation. All Rights Reserved.