I have a number of Dropdowns in a Splitter Pane. Some of them are dynamically populated with enough items to require a scrollbar when the DropDown is opened. I can select any item that is visible when the dropdown first opens. However, any attempt to scroll to an item and select it fails. As the cursor moves from the scrollbar to the dropdown area it returns to the top of the list of items. There are no client side events bound to the control.
Any idea what is causing this and how to fix it?
Hi,
I am just checking if you still have issue with WebDropDown, if yes can you please provide more info so we can investigate it furthered?
Hi sportfish1850,
I tested your sample under Chrome, Firefox and IE9 but I could not reproduce the behavior you have described. Can you please specify the exact steps to reproduce the issue.
Thank you.
Attached is a VS2010 project with an example of the problem. I excluded ig_res (Default and Pear) and ig_ui from the zip file to meet you site's file size restrictions.
It appears the issue is related to some of the styles defined in the stylesheets that are used in the layout to accommodate headers and footers. I use a master page for the header and footer in my solution, but when I created this test page, I could get the bug with or without using a master page. However, when I am not using my styles to place elements on the page, the bug does not show up.
Could you please provide me with a small isolated sample, reproducing the issue, in order to be able to investigate this further.
OK. I figured it out.
In my Page_Load handler I have the following code:
protected void Page_Load(object sender, EventArgs e)
{
...
if (!IsPostBack)
VSplitter.Height = new Unit(100, UnitType.Percentage); VSplitter.Width = new Unit(100, UnitType.Percentage);
}
Trying to set the WebSplitter's Height and Width seems to cause the WebDropDown to behave strangely when the number of items in the DropDown are enough to require a scrollbar. Using 12.1 2048