I am using ajax toolkit -> Dropdown extender and have a gridview inside a dropdown list..
it is working quite well except for one massive problem.
Each time i do something(click on a control inside the gridview the dropdown closes) i have to open it again to do the next thing.
For example:
Found here: http://www.dotnetcurry.com/ShowArticle.aspx?ID=167
You can open the drop down through javascript. Presumably when the user interacts with your control, as partial post back occurs through the update panel? If so, you might use this code in the PageLoad javascript event.
<body>
<form id="form1" runat="server">
<script type="text/javascript">
function pageLoad()
{
var d = $get('TextBox1');
d.click();
}
</script>
... ScriptManager and other Controls come here
</body>
</html>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With