toolbox populating shapes

4 posts, 0 answers
  1. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 18 Apr 2012 Link to this post

    Hello,
    A couple of questions.
    1. I have Diagramshapes inside wrappanel>Listbox>PanelgroupItem>PanelGroup>DockingPanel>etc
    I hope you get the idea. It works ok,, but I tried to apply drag and drop from the listbox to Diagram control. No luck.
    2. I went to plan "b" I'm using the toolbox from the diagram.Features .dll.. it Poplates the amount of items, but no shapes are visible? any thoughts?
    <toolkit:ToolboxItem>
                                        <StackPanel>
                                            <telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=RectangleShape}" Padding="5" Height="40" Width="40" Background="Black" BorderBrush="AntiqueWhite"/>
                                            <TextBlock Text="4 Inch Deep" Margin="2" Width="70" Height="22" FontSize="10" />
                                        </StackPanel>
                                    </toolkit:ToolboxItem>

    Not enough material to read up on to figure this out.
    Since drag n drop is big part of populating the Diagram control.. It should be included in the online docs???

    Thank you
    Rick
  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 19 Apr 2012 Link to this post

    Hello Rick,

     The diagram control has built-in support for handling dropped data of type SerializationInfo. If you want to drop a shape to the diagram, you would have to set the payload (the Data) of the drag-drop to an instance of SerialziationInfo, which is returned by the Serialize() method of the RadDiagramShape. For Q2 2012, we are planning to extend the number of supported drop data formats.

    Kind regards,
    Alex Fidanov
    the Telerik team

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

  3. DevCraft banner
  4. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 19 Apr 2012 Link to this post

    Alex,
    Thank you for your response.

    Please share any links/blogs etc.
    So I can read up on this and how it is achieved.

    Regards,
    Rick
  5. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 21 Apr 2012 Link to this post

    Hello Rick,

     We are going to upload the new help articles in our online help in the diagram section with the Q2 2012 release.

    Kind regards,
    Alex Fidanov
    the Telerik team

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

Back to Top