Kendo MVC Grid Issue while reloading

2 posts, 0 answers
  1. Krutik
    Krutik avatar
    1 posts
    Member since:
    May 2016

    Posted 06 Apr 2017 Link to this post


    I am encountering strange issue in kendo mvc grid. My kendo mvc grid supports two feature one is saving state which save the state of filter/column order in my local database and other one is to upload pdf files using link button in the row.

    Now say I loaded my kendo mvc grid with some records and applied a date range filter on it and save the state of it. Now when i load that saved state and try to upload record I encounter following error on reloading grid after successful upload. Please check attached screenshot for more details :

    Following are the details Uncaught Error: Cannot call method 'value' of kendoDropDownList before it is initialized at HTMLSelectElement.<anonymous> ( at Function.each ( at M.fn.init.each ( at M.fn.init.e.fn.(anonymous function) [as kendoDropDownList] ( at init.refresh ( at init.d ( at init.trigger ( at init._process ( at init.success ( at success (

  2. Tsvetina
    Tsvetina avatar
    2481 posts

    Posted 10 Apr 2017 Link to this post

    Hello Krutik,

    You say that your Grid reloads after uploading the PDF file. Is there a reason why you need the Grid to reload again? If I understand correctly, there are no changes to the Grid itself when a PDF upload happens.
    Also, about the DropDownList error, can you provide more details on where you have a DropDownList in the Grid - do you have any custom DropDownLists that you added as templates? 
    Can you show us the logic that reloads the Grid on PDF upload and any initialization code for custom DropDownLists in your Grid?
    In the meantime, make sure that you don't have any custom code that might be running while the Grid is reloading, or before its column menu is initialized.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top