no blinking linkage drop-down list control

Source: Internet
Author: User

This item has many names, links, associations, no refreshing, and no flashes... In short, it is necessary to change the value of another drop-down list with a script when the selection of a dropdownlist is changed. The current screen does not need to be submitted, so there is no flickering effect.

The solution here is to dynamically load the script:
<SCRIPT id = "ABC"/>
<Select onchange = "ABC. src = 'listdata. aspx? Xx = YY ">

In listdata. aspx? In xx = YY, JS scripts are dynamically returned based on parameters to update the specified drop-down list.

Httphandler is used to provide data, and the drop-down list data is provided by registering events in global.
To call WebService, you can call it here.

1. This control inherits dropdownlist and can be used to adjust attributes and events during design.
2. Passive dropdownlist persistence after PostBack

Add custom controls in the toolbox.
For the first time I wrote the webform Control, please provide more suggestions.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.