Hi,
I have some problems with a script, look, i have an UltraWebGrid and I want it to give me a variable when i choose a row, that's ok, the problem is that I have an input buttom disabled and a label, I want the buttom to become enable and I want the text of the lable to change to the variable I get from the row, all of that when I choose a row...well, the error I get is "Error: 'text' is null or not an object", here is the code:
<script type="text/javascript" language="javascript">
//Script que saca el valor del idusuario seleccionando una celda del UWG
function igUWGusuario(gridName, cellId, BtnModificar, LblUsuario) {
var UsrActual = igtbl_getCellById(cellId).Row.getCellFromKey('idusuario').getValue();
alert('probando que traigamos usr' + UsrActual);
alert('probando el lable' + LblUsuario.text);
BtnModificar.disabled = "";
LblUsuario.text = UsrActual;
};
</script>
I know you can help me guys :) Thanks