Hi:
I am using template for RadComboBox with height = 20, and then I've setted 12 items to RadComboBox. When combo is displayed, it´s not drawing well, it seems to be cutted.
I am using 20091208 binaries. I don´t know if there´s an issue with my template or it's because with my template, items locate in a smaller space and 12 items can´t be drawn well...
I attach sample at this url(I can't submit a support ticket): RadComboBug?
I hope you can help me.
Celeste.
I am using template for RadComboBox with height = 20, and then I've setted 12 items to RadComboBox. When combo is displayed, it´s not drawing well, it seems to be cutted.
I am using 20091208 binaries. I don´t know if there´s an issue with my template or it's because with my template, items locate in a smaller space and 12 items can´t be drawn well...
I attach sample at this url(I can't submit a support ticket): RadComboBug?
I hope you can help me.
Celeste.
5 Answers, 1 is accepted
0
Hi Celeste,
RadComboBox has MinHeight=22 set in its default template. To workaround the problem you need to set both Height and MinHeight to the value you need.
You cannot submit support tickets because your trial period has expired. If you have purchased RadControls from another account, you will need to ask the owner of the account to make you a licensed developer:
http://www.telerik.com/account/licensed-developers.aspx
Greetings,
Valeri Hristov
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.
RadComboBox has MinHeight=22 set in its default template. To workaround the problem you need to set both Height and MinHeight to the value you need.
You cannot submit support tickets because your trial period has expired. If you have purchased RadControls from another account, you will need to ask the owner of the account to make you a licensed developer:
http://www.telerik.com/account/licensed-developers.aspx
Greetings,
Valeri Hristov
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
Celeste
Top achievements
Rank 1
answered on 26 Jan 2010, 04:54 PM
Yes, in project I've sent, you can see that I have set height and minheight to 20.
That´s not the issue, if it was, it should seen always wrong. In this case, it happens when combo has 12 items.
I hope you have seen image I've sent you.
I will open a support ticket to attach my project.
Thanks.
Celeste.
That´s not the issue, if it was, it should seen always wrong. In this case, it happens when combo has 12 items.
I hope you have seen image I've sent you.
I will open a support ticket to attach my project.
Thanks.
Celeste.
0
Hello Celeste,
The Firewall prevented me from downloading your project the first time. But now I managed to get and run it.
First I would like to strongly recommend to avoid the usage of ImplicitStyleManager - at least because this class will not be supported in the future versions of Silverlight. Second, after removing the calls to ImplicitStyleManager and setting a style on RadComboBox, the problem disappeared. Please, find attached the modified sample project.
Greetings,
Valeri Hristov
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.
The Firewall prevented me from downloading your project the first time. But now I managed to get and run it.
First I would like to strongly recommend to avoid the usage of ImplicitStyleManager - at least because this class will not be supported in the future versions of Silverlight. Second, after removing the calls to ImplicitStyleManager and setting a style on RadComboBox, the problem disappeared. Please, find attached the modified sample project.
Greetings,
Valeri Hristov
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
Celeste
Top achievements
Rank 1
answered on 28 Jan 2010, 12:29 PM
Thanks Valery for your quick answer, it was very helpful.
But now I would like to know how can I apply a theme to my application without ISM?
Celeste.
But now I would like to know how can I apply a theme to my application without ISM?
Celeste.
0
Accepted
Hi Celeste,
Unfortunately there are no good options if you use Silverlight 3. I played a bit more with your project again and fortunately managed to fix the ScrollViewer problem by adding a x:Key="ScrollBarStyle" on the style for the ScrollBar. Then I replaced theming:ImplicitStyleManager.ApplyMode="Auto" attached property on the two ScrollBars inside the ScrollViewer template with Style="{StaticResource ScrollBarStyle}". Search for "VAL:" in BaseResources.xaml for my comments.
Sincerely yours,
Valeri Hristov
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.
Unfortunately there are no good options if you use Silverlight 3. I played a bit more with your project again and fortunately managed to fix the ScrollViewer problem by adding a x:Key="ScrollBarStyle" on the style for the ScrollBar. Then I replaced theming:ImplicitStyleManager.ApplyMode="Auto" attached property on the two ScrollBars inside the ScrollViewer template with Style="{StaticResource ScrollBarStyle}". Search for "VAL:" in BaseResources.xaml for my comments.
Sincerely yours,
Valeri Hristov
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.