Changing the AJAX Controlkit Advanced Toolkit Extension

I am using an example on the AJAX website for DropDownExtender. I want the target control (label) to always have a DropDown image, not just when I hover over it.

Is there any way to do this?

+3
source share
1 answer

This can be done using the following script tag:


<script>
    function pageLoad()
    {
        $find('TextBox1_DropDownExtender')._dropWrapperHoverBehavior_onhover();
        $find('TextBox1_DropDownExtender').unhover = VisibleMe;
    }  

    function VisibleMe()
    {
        $find('TextBox1_DropDownExtender')._dropWrapperHoverBehavior_onhover();
    }
</script>

I found this and some other tips in this net curry example .

This works, but I would also like to write a new control based on a drop down extender providing a property to set what you want to turn on or off.

AJAX , .

+4

Source: https://habr.com/ru/post/1696783/


All Articles