alvin shih
Top achievements
Rank 1
alvin shih
asked on 23 Nov 2009, 12:56 PM
I have rad dock inside a Rad Window and seems its not liking it.
throwing NotSupportedException:Placing Docking control in a panel or control that measures it with infinite width or height is not supported
I have my window inistially maximized but once I remove the maximize it throws this error.
throwing NotSupportedException:Placing Docking control in a panel or control that measures it with infinite width or height is not supported
I have my window inistially maximized but once I remove the maximize it throws this error.
4 Answers, 1 is accepted
0
Hello Alvin,
You get this error, because the Docking control doesn't support to be measured with infinite size. You could fix this by setting Width and Height properties of the Docking control or the Width and Height properties of the RadWindow control.
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
alvin shih
Top achievements
Rank 1
answered on 24 Nov 2009, 02:06 AM
is there a way to not have fixed width and height?
because i want it to resize automatically when the rad window is resized
because i want it to resize automatically when the rad window is resized
0
Hi alvin shih,
There is a way - just put RadDocking in container that will not measure it with infinity size (like Grid panel with RowDefinition.Height=* or ColumnDefinition.Width=*
Let us know if you need more information.
All the best,
Hristo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
There is a way - just put RadDocking in container that will not measure it with infinity size (like Grid panel with RowDefinition.Height=* or ColumnDefinition.Width=*
Let us know if you need more information.
All the best,
Hristo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
alvin shih
Top achievements
Rank 1
answered on 25 Nov 2009, 02:28 AM
I just set the AllowUnsafeMode to true and everything works fine.