Hi,
If I run the jscript function [Disable] on a button click, it works perfect, but, when this function is called by the window.onload, I get a error. The error ocorre because $find doesn't return a valid object, instead, it return a null. Why this happen? There is a way to work around it?
If I run the jscript function [Disable] on a button click, it works perfect, but, when this function is called by the window.onload, I get a error. The error ocorre because $find doesn't return a valid object, instead, it return a null. Why this happen? There is a way to work around it?
window.onload =
function
()
{
Disable();
}
function
Disable()
{
var
txt = $find(
"RadTextBox1"
);
txt.disable();
}