Blog Detail

Listsearch extender and onchange event

27 Oct 10
admin
No Comments

When we use list searchextender and onchange event js function in a dropdownlist the js function will fire twice.

Solution:

Add follwing code to the page load

UserDropDown.Attributes.Add(“onpropertychange”, @”if ( event.propertyName == ‘selectedIndex’ ) jsfunction();”);

Leave A Comment