2010.1.309.35 : I have an asp:Label that should be updated with a server-side calculation when the user changes the value in a RadNumericTextBox. I can't get Ajax to do the update.
The page structure is as follows:
I'm trying to get the RadAjaxManagerProxy to flag the label for update in response to a change in the textbox, and when configuring the proxy it all looks OK. But the resulting markup only ajaxifies the TabStrip and RadMultiPage - it does not define the textbox as a change source:
OK, since the textbox is a component in the tree under the other panels, I can understand if it doesn't want to redundantly ajaxify the textbox too. But the server function occurs and the label is not updated afterward. So what else do I need to do?
Thanks!
The page structure is as follows:
- UserControl > Div > Div > Table > TR >TD > Label "Balance"
- UserControl > Div > RadTabStrip > Tabs > Tab
- UserControl > Div > RadMultiPage > RadPageView > asp:Panel > Div > Table > TR > TD > RadNumericTextBox "Qty".
| <telerik:RadNumericTextBox ID="Qty" Width="80px" runat="server" Type="Number" |
| NumberFormat-DecimalDigits="0" |
| OnTextChanged="Qty_TextChanged" CausesValidation="True" AutoPostBack="true" > |
| <NumberFormat DecimalDigits="0" /> |
| </telerik:RadNumericTextBox> |
I'm trying to get the RadAjaxManagerProxy to flag the label for update in response to a change in the textbox, and when configuring the proxy it all looks OK. But the resulting markup only ajaxifies the TabStrip and RadMultiPage - it does not define the textbox as a change source:
| <telerik:RadAjaxManagerProxy ID="RAMP1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadTabStrip1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="Balance" /> |
| <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" /> |
| <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="RadMultiPage1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="Balance" /> |
| <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManagerProxy> |
OK, since the textbox is a component in the tree under the other panels, I can understand if it doesn't want to redundantly ajaxify the textbox too. But the server function occurs and the label is not updated afterward. So what else do I need to do?
Thanks!