Drag Tooltip the Namespace of the ViewModel

3 posts, 0 answers
  1. Saw Lwin
    Saw Lwin avatar
    4 posts
    Member since:
    Apr 2014

    Posted 09 Apr 2014 Link to this post

    Hi Telerik Support,

    Currently, I am facing an issue with DragTooltip in RadTreeView. I am currently implementing drag and drop in RadTreeView object using DragDropManager. I am using the databinding to construct the hierarchy. I noted that DragTooltip supposed to display text of the dragover treeview item. However, in my project, DragTooltip is displayed the namespace of the viewmodel which (i.e WpfApplication2.DataItem) instead of the text displayed in treeviewitem (i.e Item2).

    Can anyone advice me how to solve the above mentioned issue.


    With Best Regards,
  2. Martin Ivanov
    Martin Ivanov avatar
    1442 posts

    Posted 11 Apr 2014 Link to this post


    Can you send me a sample project or a code snippet which demonstrates your implementation. More specifically how you set the DragVisual of the drag event arguments. This will allow me to test it and investigate further the issue.

    Thank you in advance for the cooperation.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Saw Lwin
    Saw Lwin avatar
    4 posts
    Member since:
    Apr 2014

    Posted 13 Apr 2014 Link to this post

    Hi Martin,

    I have solved the issue by myself. It is because, The treeviewitem doesn't understand the data model which I binded to. So I override the ToString method of my data model to return the desire property value. So during drag, the dragtooltip display the correct value.

    Thanks for your response.

    With Best Regards,
    Saw Lwin Oo
Back to Top