This is a migrated thread and some comments may be shown as answers.

Change event in Modal Editor template

2 Answers 115 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
fernando ramirez
Top achievements
Rank 1
fernando ramirez asked on 30 Jun 2014, 10:04 PM
I have a grid with a Modal popup editor in place. Window opens correctly but when I add a numerictextbox widget with an Event code in place it doesn't open the popup window it displays the content at the bottom of the grid. (see attachment...) If I remove the Events code then the popup window displays correctly. I tried with Kendo sample code and the same happens.
   
@(Html.Kendo().NumericTextBoxFor<Decimal>(m => m.qto_subtotal)
            .Spinners(false)
            .Decimals(2)
            .Events(events => events.Change("qto_total_calc")
            )
        )

Any ideas,

Regards

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 02 Jul 2014, 04:45 PM
Hi,

The problem could be caused by not including the "qto_total_calc" function before the NumericTextBox. The popup content is added dynamically to the page and so the handlers should be specified before the control so that they are available when the widget is being initialized.

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
fernando ramirez
Top achievements
Rank 1
answered on 02 Jul 2014, 09:48 PM
Daniel,
Thank you for your prompt response.
No success. I even tried copy/paste the sample shipped with Kendo UI numeric textbox 
When the Event is included in a numerictexbox inside a  popup window called from a grid the error shows up.
I'm evaluating Kendo UI wrappers for ASP.NET. My feeling is that the product is not fully tested, completed and the documentation is not presented in a concise manner. I have spend enough time on simple widgets setup and is frustating. I guess will have to look into some other product as I cannot afford to waste a full day on widgets troubleshooting.
Regards,

F.r.
Tags
NumericTextBox
Asked by
fernando ramirez
Top achievements
Rank 1
Answers by
Daniel
Telerik team
fernando ramirez
Top achievements
Rank 1
Share this question
or