hi
ClientEvents-OnRequestStart and ClientEvents-OnResponseEnd is not working if the controls that i am calling is inside the panel that is disabled and i cannot postback the page using my submit button
For example
ClientEvents-OnRequestStart="ClearNameMsg" ClientEvents-OnResponseEnd="RadManagerResponseEnd"
function ClearNameMsg() {
document.getElementById("<%=CustomDomainTxt.ClientID %>").disabled = true;
document.getElementById("<%=SubDomainTxt.ClientID %>").disabled = true;
}
function RadManagerResponseEnd() {
document.getElementById("<%=CustomDomainTxt.ClientID %>").disabled = false;
document.getElementById("<%=SubDomainTxt.ClientID %>").disabled = false;
}
one of the two textboxes are inside a panel that is disabled. when i click the button submit. I cannot proceed. when i commented out this
document.getElementById("<%=CustomDomainTxt.ClientID %>").disabled = false;
document.getElementById("<%=SubDomainTxt.ClientID %>").disabled = false;
document.getElementById("<%=CustomDomainTxt.ClientID %>").disabled = true;
document.getElementById("<%=SubDomainTxt.ClientID %>").disabled = true;
Everything is working fine again. any help
ClientEvents-OnRequestStart and ClientEvents-OnResponseEnd is not working if the controls that i am calling is inside the panel that is disabled and i cannot postback the page using my submit button
For example
ClientEvents-OnRequestStart="ClearNameMsg" ClientEvents-OnResponseEnd="RadManagerResponseEnd"
function ClearNameMsg() {
document.getElementById("<%=CustomDomainTxt.ClientID %>").disabled = true;
document.getElementById("<%=SubDomainTxt.ClientID %>").disabled = true;
}
function RadManagerResponseEnd() {
document.getElementById("<%=CustomDomainTxt.ClientID %>").disabled = false;
document.getElementById("<%=SubDomainTxt.ClientID %>").disabled = false;
}
one of the two textboxes are inside a panel that is disabled. when i click the button submit. I cannot proceed. when i commented out this
document.getElementById("<%=CustomDomainTxt.ClientID %>").disabled = false;
document.getElementById("<%=SubDomainTxt.ClientID %>").disabled = false;
document.getElementById("<%=CustomDomainTxt.ClientID %>").disabled = true;
document.getElementById("<%=SubDomainTxt.ClientID %>").disabled = true;
Everything is working fine again. any help