Hi,
I have a FormTemplate that I use to update my RadGrid. In there I have link to call RadWindow populated with RadGrid from where I return selected item's dataKeyValue. Upon return from the RadGrid I would like to update FormTemplate's TextBox with the return result.
The following code does not do the trick. The TextBox1 is not accessible.
Error 4 The name 'TextBox1' does not exist in the current context
How can I get access to FormTemplate's TextBox in Javascript?
Thank you,
Pawel Mozdzen
I have a FormTemplate that I use to update my RadGrid. In there I have link to call RadWindow populated with RadGrid from where I return selected item's dataKeyValue. Upon return from the RadGrid I would like to update FormTemplate's TextBox with the return result.
The following code does not do the trick. The TextBox1 is not accessible.
| function onClose(window, result) |
| { |
| $get("<%= TextBox1.ClientID %>").text = result; |
| } |
How can I get access to FormTemplate's TextBox in Javascript?
Thank you,
Pawel Mozdzen