Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
WebDropDown + hidden div + Chrome = lots of broken controls
posted

I have a web page with a WebDropDown on top, and a checkbox later on that if checked/unchecked displays/hides a div.  In the div is an ajax popupextender that shows a table when you click on a button, and some textboxes with ajax watermarkextenders. 

This is fine in IE and Firefox, but in Chrome the watermarks never display, and when I start clicking around, the WebDropDown loses its dropdown, the checkbox no longer makes my div show/hide, and the table doesn't show up at all.

If I make the div always visible, everything works, but that's not really an option.

I'm attaching a demo site (excluding the ig_res and bin folder that were too big for the size limits)

WebDropDownTest.zip
Parents
No Data
Reply
  • 335
    Verified Answer
    posted

    I finally figured out that if I change Div1.Visible = ShowButton.Checked to

    if (ShowButton.Checked)
        Div1.Style["visibility"] = "visible";
    else
        Div1.Style["visibility"] = "hidden";

    everything works.

Children
No Data