Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

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)

Posted

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.

Never trouble another for what you can do for yourself.
Posted

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.

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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...