Grid button to open popup qs....

3 posts, 0 answers
  1. Terry
    Terry avatar
    20 posts
    Member since:
    May 2017

    Posted 14 Jun Link to this post

    I'm looking to open a popup from a button on a grid row.

    The purpose is not really to edit the row data but rather to take the row id (in this case company id) and load a modal with some dropdowns (for selecting/assigning users) and assign those to the company id passed into the modal view.

    Is this kind of thing possible? If so, how might I go about starting to implement it?

    Can I do it by opening a popup that contains a partialview?

    Thanks.

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2069 posts

    Posted 16 Jun Link to this post

    Hello Terry,

    For achieving the desired result you could use a custom command as in the following online demo, where a Window widget is opened when the custom command is clicked:
    In the demo you will see how you could get reference to the dataItem within the event from which you can retrieve the id value. 

    As for loading a View in the Window, you could refer to the following examples:
    Hope this helps.


    Regards,
    Konstantin Dikov
    Progress Telerik
    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.
  3. Terry
    Terry avatar
    20 posts
    Member since:
    May 2017

    Posted 16 Jun in reply to Konstantin Dikov Link to this post

    Hi,

    Thanks for reply.

    I managed to achieve this myself using kendo window for the modal. All works well except for one issue - which Ive raised as a question here : Modal overlay issue

    Basically when clicking the x to close the modal, the overlay remains so the parent is inaccessible.

    Any ideas on a solution for that?

    Thanks.

Back to Top