This question is locked. New answers and comments are not allowed.
When I set ajax editing in grid with Double column, numeric text box shown, but not worked properly: Increase/Decrease button not increase/ decrease value. Field allow to enter alphabetical symbol, and so on.
Is any workaround?
Can i catch event, when edit button pressed, and set other jquery plugins for editing feilds?
5 Answers, 1 is accepted
0
Hello Igor,
The problem is caused of missing telerik.textbox.js file. When the numerictextbox is placed in edit template, its scripts will not be output. You need to register them manually.
For more information you can review this help topic:
http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-required-javascript-files.html
Also I will suggest you check and these links:
http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-grid-display-and-editor-templates.html#EditorTemplates
http://demos.telerik.com/aspnet-mvc/grid/displayandedittemplates
Kind regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
The problem is caused of missing telerik.textbox.js file. When the numerictextbox is placed in edit template, its scripts will not be output. You need to register them manually.
For more information you can review this help topic:
http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-required-javascript-files.html
Also I will suggest you check and these links:
http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-grid-display-and-editor-templates.html#EditorTemplates
http://demos.telerik.com/aspnet-mvc/grid/displayandedittemplates
Kind regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Igor
Top achievements
Rank 1
answered on 14 Apr 2010, 05:41 AM
I'm don't quite catch, where i must register scripts. Insert to the end of EditorTemplate nothing change.
My Editor Template
| <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Double>" %> |
| <%= Html.Telerik().NumericTextBox() |
| .Name(ViewData.TemplateInfo.HtmlFieldPrefix) |
| .Value(Model) |
| %> |
| <% Html.Telerik().ScriptRegistrar().DefaultGroup(group => group |
| .Add("jquery-1.4.2.min.js") |
| .Add("telerik.common.min.js") |
| .Add("telerik.textbox.min.js") |
| ); |
| %> |
0
Hello Igor,
Depending on the given information, I will ask you to send us a working test project, which reproduces the depicted issue.
Regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Depending on the given information, I will ask you to send us a working test project, which reproduces the depicted issue.
Regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Igor
Top achievements
Rank 1
answered on 14 Apr 2010, 11:53 AM
I create support ticket with project. Ticket ID is: 299790
Thank You.
0
Grant Chapman
Top achievements
Rank 1
answered on 25 Jun 2010, 09:21 AM
Georgi,
It seems that when you load the grid via AJAX databinding, enable AJAX editing and then have an EditorTemplate for Int's as NumericTextBox then the NumericTextBox does not work as it should, the spinners do not work and you can enter any characters into the NumericTextBox .
Similarly I tried loading a tab via AJAX and that tab only had a NumericTextBox on it and the NumericTextBox was broken in the same way.
Is there a work around to this?
Regards,
Grant Chapman