Add a point with information

2 posts, 0 answers
  1. Antonio
    Antonio avatar
    1 posts
    Member since:
    Oct 2011

    Posted 14 Oct 2011 Link to this post

    Hi Telerik Team,
    I have to create a map with dots loaded dynamically from wcf service and click to create awindow with a datagrid loaded from wcf service.
    the thing that I can not understand is how to save the id of the station at the point on the mapand then load the datagrid dynamically.

    The solution may be to create a control with properties to be saved?

    How can I catch the click and then derive the id?

    Do you have any specific example to help me understand?

    Thanks in advance
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 19 Oct 2011 Link to this post

    Hello Antonio,

    I have attached a sample solution. It uses MVVM to show points. The template of point uses the MouseLeftButtonDown event to show a message box with id of the clicked point. I hope this gets you started properly.

    Greetings,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top