Initially, I have a hidden login form in one div that becomes visible when the "Login" button is clicked. This login form is located on the Master Page and includes client-side HTML5 validations for email addresses and passwords.
In a child page with an AJAX update panel, there is a "Add to Cart" button. However, due to the validation in the master page's login form, I am unable to perform a postback when clicking on the "Add to Cart" button.
To address this issue, I attempted to disable all text boxes in the login form (located on the master page) upon page load:
ScriptManager.RegisterStartupScript(this,this.GetType(), "Javascript2", "javascript:DisablePopUpTxt();", true);
However, the above code did not work, causing me to be unable to initiate any postbacks on the child pages. Any assistance would be greatly appreciated.
Thank you in advance.