Hi, I have the following WebDropDown on my page:
<ig:WebDropDown ID="ddlParticipant" runat="server" Width="125px" EnablePaging="True" EnableMultipleSelection="True" PageSize="20" DropDownContainerWidth="300px" DropDownContainerHeight="550px" EnableClosingDropDownOnSelect="False" onselectionchanged="ddlParticipant_SelectionChanged " onprerender="ddlParticipant_PreRender"> <DropDownItemBinding TextField="ParticipantID" ValueField="ParticipantID"></DropDownItemBinding> <ClientEvents /> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "ParticipantID").ToString() + " - " + DataBinder.Eval(Container.DataItem, "Name").ToString() %> </ItemTemplate > <AjaxIndicator AltText="Async post" ImageUrl="~/images/ajax-loader.gif" /> <Button ImageUrl="/ig_res/Default/images/igsch_xpblueup.gif" /> <AutoPostBackFlags SelectionChanged="Async" /> </ig:WebDropDown>
The problem I am having is that sometimes (randomly) the drop down will not drop down. I click on the drop down button and nothing happens. How do I fix this? Any help would be appreciated. I'm using Infragistics 9.2 Version 2014 and IE 7.
Thanks,
Jeff
Hi,
What code do you have in the PrePrender event handler? Also is your control in some kind of container ?
I would suggest a couple of things:
1) you may try changing AutoPostBackFlags to "On" for SelectionChanged, and try placing the control in an updatePanel, to avoid the full postback, this could help.
2) you may try playing with the EnableDropDownAsChild property setting it to either true or false - it plays a role depending on what kind of container you have placed the control.
Hope it helps. Please let me know if it works. I would also suggest to have the latest service release installed if the above doesn't help, just in case.
Thank you,
Angel
Hi Angel,
Thanks for the tips. The control already is in an update panel, and the autopostbackflags is already set for Selection Changes. I changed EnableDropDownAsChild from true to false. I also did have some code in the control's prerender event handler (I had code to check selections that were already checked on another page of the drop down). I moved that to the page's prerender event handler. None of this worked. I still get the random problem where the control doesn't drop down.
also, if it helps, I have the control inside a web UserControl.
is there anythign else I can try?