0
J'ai un contrôle CascadingDropDown dans ma page. Je veux faire des actions jquery quand la liste déroulante est remplie. selon le documentation, il y a un événement appelé (peuplé) à cet effet. Je ajouté que le code dans ma page:ajaxcontroltoolkit Méthode d'appel CascadingDropDown lorsque le contrôle est rempli
function raise_populated() {
alert()
}
et voici comment j'utiliser le menu déroulant
<asp:DropDownList ID="listcat" runat="server" required></asp:DropDownList>
<ajaxToolkit:CascadingDropDown ID="cdlisteCategorie" TargetControlID="listcat" PromptText='Catégories'
ServicePath="../Webservice/CategorieService.asmx" ServiceMethod="GetCategories" Category="IDCATS" runat="server" LoadingText="Chargement..."></ajaxToolkit:CascadingDropDown>
le raise_populated
jamais les feux.