mike55 Posted August 17, 2007 Posted August 17, 2007 I have a dropdown list in a view belonging to a multiview control. This control is then inside an ajax update panel. My problem is that the the drop down won't call the method that handles the selected index change when the dropdown item selected is changed: <asp:DropDownList ID="ddGroups" runat="server" AutoPostBack="True"> </asp:DropDownList> 'Based on the group selected, get all the members assigned to that group. Protected Sub ddGroups_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddGroups.SelectedIndexChanged LoadGroupMembers() End Sub Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
MrPaul Posted August 17, 2007 Posted August 17, 2007 Two ideas Two things I'd try. Firstly, try declaratively setting the OnSelectedIndexChanged property in the DropDownList: <asp:DropDownList ID="ddGroups" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddGroups_SelectedIndexChanged" > </asp:DropDownList> Secondly, test that other controls in the View are firing events correctly - test a Button for example. Quote Never trouble another for what you can do for yourself.
amir100 Posted August 20, 2007 Posted August 20, 2007 Re: Two ideas I'd try the second suggestion first. Then I move on to the first suggestion. :) Quote Amir Syafrudin
mike55 Posted August 20, 2007 Author Posted August 20, 2007 Re: Two ideas I tried both suggestions however was unable to get anywhere. What I eventually did was to create a new page from scratch and added the controls as I needed them. This worked. The only thing that I can think of was that an infragistics control that I was using was somehow conflicting with the agile controls. Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.