Displaying Object Attributes in a Modal View

4 posts, 0 answers
  1. Michael
    Michael avatar
    3 posts
    Member since:
    Mar 2013

    Posted 28 Apr 2013 Link to this post

    Hello,
    I am attempting to have a listview that when a list item is licked, a modal window pops up with more of the objects details inside. 
    Currently, I have a onclick function that successfully accesses the correct object. My question however is, how do I access the object then inside the modal view?

    Here is a JSFiddle with a snippet of my code

    I have found this question previously, however it has provided me with little guidance on what the solution actually was. 
  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 29 Apr 2013 Link to this post

    Hello Michael,

    You can pass the opening target (so that it is accessible in the modalview open event) as a parameter to the open method

    Regards,
    Petyo
    the Telerik team
    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. Michael
    Michael avatar
    3 posts
    Member since:
    Mar 2013

    Posted 29 Apr 2013 Link to this post

    Hey, 
    Thanks for the reply,
    Are you please able to provide an example of how you would do this and reference the object attributes in this case? as the documentation is kind of confusing sorry. 
  5. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 01 May 2013 Link to this post

    Hi Michael,

    If I understood your requirements correctly, the following example should give you the necessary directions.

    Greetings,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready