asp.net ajax toolkit combobox dosen't work in hidden div
- by sam
i have a combobox inside a hidden div which i use css display = none to make it invisible, but when i make the div visible by setting display = block, the combobox just show the input and its button and ul list all have css as display = 'none', visibility ='hidden', i can tell it is done by combobox inbuild javascript because i tried to use javascript to set the css manually with no luck. It is a bug of combobox, urgent help needed, i spent a week to solve this, and our team put a lot trust on the toolkit ,please help me on this all javascript gurus , thanks.
Admin please let my code sample be visible , thanks a lot.
below is the code to reproduce the bug, run it you cant see the dropdown:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %
a
d
f
click me
<script type="text/javascript">
function show() {
var d = $get('d');
d.style.display = 'block';
}
</script>