Change event in Modal Editor template

3 posts, 0 answers
  1. fernando ramirez
    fernando ramirez avatar
    3 posts
    Member since:
    Oct 2003

    Posted 30 Jun 2014 Link to this post

    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. Daniel
    Admin
    Daniel avatar
    2118 posts

    Posted 02 Jul 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. fernando ramirez
    fernando ramirez avatar
    3 posts
    Member since:
    Oct 2003

    Posted 02 Jul 2014 in reply to Daniel Link to this post

    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.
Back to Top