Problem clicking on a checkbox

2 posts, 0 answers
  1. Hugo
    Hugo avatar
    5 posts
    Member since:
    Oct 2012

    Posted 06 Nov 2012 Link to this post

    Hi,

    I've been having a problem clicking on a checkbox, the checkbox starts by being disabled, when you press the edit button it becames enabled, but either creating and element or creating a HtmlInputCheckBox and trying to click or check doesn't work.

    Both controls are inside an update panel, and the control always remains with the disabled attribute in either Element/HtmlInputCheckBox.

    I have tried the Refresh() and myManager.ActiveBrowser.RefreshDomTree() but without success.

    Any ideas?

    Thanks in advance,
    Hugo
  2. Hugo
    Hugo avatar
    5 posts
    Member since:
    Oct 2012

    Posted 06 Nov 2012 Link to this post

    Solved, it seems that it was too fast executing, and the control was still not enabled.

    Still, I was hoping that it would wait for the postback and then create the element, I played around with the delay and timeouts in the settings until I got it working.

    Don't know if it's the best way.
Back to Top