This is a migrated thread and some comments may be shown as answers.

Problem clicking on a checkbox

1 Answer 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hugo
Top achievements
Rank 1
Hugo asked on 06 Nov 2012, 02:21 PM
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

1 Answer, 1 is accepted

Sort by
0
Hugo
Top achievements
Rank 1
answered on 06 Nov 2012, 06:29 PM
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.
Tags
General Discussions
Asked by
Hugo
Top achievements
Rank 1
Answers by
Hugo
Top achievements
Rank 1
Share this question
or