This question is locked. New answers and comments are not allowed.
I have a bunch of NumbericTextBoxes in a partial view, which work fine on initial page load.
However, when I submit the form they are in via Ajax (jQuery ajaxForm plugin) and reload the partial view, the textboxes are returned as plain textboxes. Typically, I need to re-process any client side initiation at the end of every ajax request, but I cannot find the correct javascript method to turn the Telerik NumericTextboxes back into the advanced form.
My Partial View looks like this:
And my page is using the following logic to submit the form via ajax
The problem is that the snippet is returning the HTML elements (the currency <input> fields) but not executing the jQuery init logic to enhance their functionality with currency logic.
Please let me know if any additional details will help.
Thanks,
Matt
However, when I submit the form they are in via Ajax (jQuery ajaxForm plugin) and reload the partial view, the textboxes are returned as plain textboxes. Typically, I need to re-process any client side initiation at the end of every ajax request, but I cannot find the correct javascript method to turn the Telerik NumericTextboxes back into the advanced form.
My Partial View looks like this:
| <%= Html.Telerik().CurrencyTextBox() |
| .Name(ViewData.TemplateInfo.HtmlFieldPrefix) |
| .MinValue(0) |
| .MaxValue(10000000) |
| .Value(Model) |
| %> |
And my page is using the following logic to submit the form via ajax
| $('#communityFinancialDetailsForm').ajaxForm({ |
| success: function (html) { |
| $('#communityFinancialDetailsForm').html(html); |
| } |
| }); |
The problem is that the snippet is returning the HTML elements (the currency <input> fields) but not executing the jQuery init logic to enhance their functionality with currency logic.
Please let me know if any additional details will help.
Thanks,
Matt