Click or drag to resize
KaxComboBoxOnClientDropDownClosing Property
The client-side event that is fired before the dropdown of the combobox is closed.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public string OnClientDropDownClosing { get; set; }

Property Value

Type: String
Remarks
The event handler receives two parameter: the instance of the combobox client-side object and event args. The event can be cancelled - simply set args.set_cancel to true args.set_cancel(true); from the event handler and the combobox dropdown will not be closed.
Examples
[New Example]
<script language="javascript">                

function HandleClose(sender, args) 
{ 
    if (someCondition) 
    { 
        args.set_cancel(true);    
    } 
    else 
    { 
        alert("Closing combobox with " + sender.get_items().get_count() + " items"); 
    } 
} 

</script> 


<kettic:kaxcombobox  
      id="KaxComboBox1"  
      Runat="server"  
      OnClientDropDownClosing="HandleClose"> 
</kettic:kaxcombobox>
See Also