This question is locked. New answers and comments are not allowed.
Hi,
I am getting the following error in the RadDigram --> RadGeometryButton -->Autofit .
Thanks,
Muralee.
I am getting the following error in the RadDigram --> RadGeometryButton -->Autofit .
Thanks,
Muralee.
5 Answers, 1 is accepted
0
Hi Muralee,
Miro Miroslavov
the Telerik team
Can you elaborate more on how do you get this design-time error? Is it the samples solution part of the distribution or this is part of your project? Do you have any problems with the run-time?
Thank you.
Miro Miroslavov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Muralee
Top achievements
Rank 1
answered on 27 Jun 2012, 02:59 PM
Hi Miroslavov,
It was in the sample solution provided. I use the same code from DiagramToolBox project. Most of the other part of the code work fine in the Run-time. Accept for the Auto-fit Button.
Thank you,
Muralee.
It was in the sample solution provided. I use the same code from DiagramToolBox project. Most of the other part of the code work fine in the Run-time. Accept for the Auto-fit Button.
Thank you,
Muralee.
0
Hello Muralee,
Miro Miroslavov
the Telerik team
I noticed that the command name is misspelled - it should be DiagramCommands.AutoFit (not Autofit).
Pleas let us know if this fix the issue.
Miro Miroslavov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Muralee
Top achievements
Rank 1
answered on 02 Jul 2012, 01:44 PM
Hi Miroslavov,
But the Tag is having the Command="telerik:DiagramCommands.Autofit"
Thanks,
Muralee.
But the Tag is having the Command="telerik:DiagramCommands.Autofit"
Thanks,
Muralee.
0
Hi Muralee,
The Command property is the important tag. The Tooltip is only for help to the users and you can write anything there. All the best,
Miro Miroslavov
the Telerik team
Originally the example code is as follows:
<
telerik:RadGeometryButton
Height
=
"22"
Width
=
"22"
Command
=
"telerik:DiagramCommands.AutoFit"
ToolTipService.ToolTip
=
"Autofit"
CommandTarget
=
"{Binding ElementName=diagram}"
Margin
=
"1"
VerticalAlignment
=
"Top"
HorizontalAlignment
=
"Left"
Style
=
"{StaticResource autoFitButtonStyle}"
/>
The Command property is the important tag. The Tooltip is only for help to the users and you can write anything there. All the best,
Miro Miroslavov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>