Hello...
I have a Grid whose columns contains controls, for example, a RadMasketTextBox control. I implemented the TextChanged of that control to set the value of a hidden field to "true".
The problem is that I want to read that hidden field from a JavaScript. Is it possible to do it? I tried with RadAjaxManager, with this settings:
When the JavaScript function executed the following command:
always "false" is returned, even when I modify the hidden value from a Grid event in codebehind.
Any help will be appreciated
Thanks
Jaime
I have a Grid whose columns contains controls, for example, a RadMasketTextBox control. I implemented the TextChanged of that control to set the value of a hidden field to "true".
The problem is that I want to read that hidden field from a JavaScript. Is it possible to do it? I tried with RadAjaxManager, with this settings:
<
rad:RadAjaxManager
ID
=
"ajaxManager"
runat
=
"server"
>
<
AjaxSettings
>
<
rad:AjaxSetting
AjaxControlID
=
"gdvPeriodos"
>
<
UpdatedControls
>
<
rad:AjaxUpdatedControl
ControlID
=
"gdvPeriodos"
/>
<
rad:AjaxUpdatedControl
ControlID
=
"hidModificado"
/>
</
UpdatedControls
>
</
rad:AjaxSetting
>
</
AjaxSettings
>
</
rad:RadAjaxManager
>
<
asp:HiddenField
ID
=
"hidModificado"
Value
=
"false"
runat
=
"server"
/>
When the JavaScript function executed the following command:
var
serverModifiedFlag = eval(document.getElementById(
'hidModificado'
).value);
Any help will be appreciated
Thanks
Jaime