Hi,
I have a grid which has an edit form template and on the template is a linkbutton which opens a RadWindow as a customer lookup. I can easily return the customer name and address picked by the user from this lookup window to the calling form using ClientCallbackFunction and I want to use the returned data to perform a client-side update a couple of label controls in the calling grid's editform. The trouble is, I cannot find the label controls.
I have tried using the following principle:
<script ...>
function callBack(args)
{
var labelToUpdate = $find("%<=lblCustomerName.clientID%>")
}
</script>
but of course I get a compile-time error stating the lblCustomerName does not exists. (lblCustomerName is a label in the editform template.)
How can I find the label control in the grid's editform so I can change the label's value from the ClientCallbackFunction?
The page is Ajax-ified using a RadAjaxManager.
Thanks,
Jonathan