S
Stu Carter
Hi,
I have an aspx page where some controls are initially disabled by the
code-behind 'Page_Load' event. I want these controls to be dynamically
enabled when the user checks a checkbox. Because I don't want a post-back,
I added some javascript to do this
However, using client-side JS, I cannot enable any controls that have been
disabled by server-side code. If the control is initially enabled, I can
disable/enable it client-side.
I'm using the following JS:
document.getElementById("Recursive_chk").disabled = false;
Is this a known problem, or am I doing something wrong?
Thanks,
Stuart
Env: Windows 2003, VS. Net 2003, 1.1 Framework, IE 6+
I have an aspx page where some controls are initially disabled by the
code-behind 'Page_Load' event. I want these controls to be dynamically
enabled when the user checks a checkbox. Because I don't want a post-back,
I added some javascript to do this
However, using client-side JS, I cannot enable any controls that have been
disabled by server-side code. If the control is initially enabled, I can
disable/enable it client-side.
I'm using the following JS:
document.getElementById("Recursive_chk").disabled = false;
Is this a known problem, or am I doing something wrong?
Thanks,
Stuart
Env: Windows 2003, VS. Net 2003, 1.1 Framework, IE 6+