I couldn't get the above code to work. Even I tried with some other scenarios with button control like below
function(s, e) {
var lblSignin=document.getElementById('lblSignin');
lblSignin.style.backgroundColor = "#FF6600";
}
Here I want to change the background color of the label lblSignin on a button click event. But I end up with below error on click event:
" 0x800a138f - JavaScript runtime error: Unable to get property 'style' of undefined or null reference "
Please help me fix this issue....!!!!
FYI I am using DevExpress controls.
Thanks in advancex