- Oct 27, 2002
- 397
- 0
- 0
I'm running ASP.NET 2.0 web application. I have 2 text boxes, A and B. A is enabled and the B is disabled. B's value is set by the following working javascript to equal 100-A's value:
document.getElementById("B").value = 100-ValueOfA;
I'm unable to use the code behind to grab this value after a postback, and I'm curious as to why not. The textboxes are within the ASP.NET 2.0 Wizard control, which renames the clientside ID's. However, other text boxes I'm able to get the value for that are also in the wizard.
I'm also using an AJAX panel to capture postback.
document.getElementById("B").value = 100-ValueOfA;
I'm unable to use the code behind to grab this value after a postback, and I'm curious as to why not. The textboxes are within the ASP.NET 2.0 Wizard control, which renames the clientside ID's. However, other text boxes I'm able to get the value for that are also in the wizard.
I'm also using an AJAX panel to capture postback.
