Paul Linton
Top achievements
Rank 1
Paul Linton
asked on 18 Aug 2011, 01:14 PM
My first report with a parameter worked just fine. When I changed the parameter to be multivalue the dropdown box in the parameter area changed to have white text (in the single select case the text is black). Unfortunately, the background has stayed white and so I have white text on a white background.
How do I control the color of the font used in a multi-select dropdown list in the parameter area?
How do I control the color of the font used in a multi-select dropdown list in the parameter area?
5 Answers, 1 is accepted
0
Paul Linton
Top achievements
Rank 1
answered on 18 Aug 2011, 01:17 PM
By the way. I added the theme selector from the CSharp.SilverlightDemo.MainPage example. I can change the theme of the report jus fine but it doesn't make any difference to the styling of the parameter dropdown box. Should it?
0
Hi Paul,
There must be something else going wrong with your app, as we have a demo report with multivalue parameter that works just fine independently of the theme.
If you have other Silverlight controls, please remove them and try to isolate the issue as much as possible.
Best wishes,
Steve
the Telerik team
There must be something else going wrong with your app, as we have a demo report with multivalue parameter that works just fine independently of the theme.
If you have other Silverlight controls, please remove them and try to isolate the issue as much as possible.
Best wishes,
Steve
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Paul Linton
Top achievements
Rank 1
answered on 18 Aug 2011, 10:30 PM
Yes, I have run the demo which uses multi-value succeessfully. I assume that the parameter dropdown box is being altered by a Style setting (is this a correct assumption?). But which one? When I try to use Expression Blend to style the report as per the documentation I get a 'Value cannot be null. Parameter name: defaultStyleKey' error, which prevents me from trying any styling changes (I think this is a known Telerik bug from another forum post that I read but the bug tracking system seemed to have a bug which prevented me accessing it, I was getting a 'server has a problem' message.
I don't know where to begin. Should I be making changes on the client side, in the report project, or the web project? What sort of changes would I make? Should I be adding styles, removing styles? I can't see a single object which has any influence over the style of parameter controls. Is there any documentation on how to change the appearance of controls in the parameter area? I have found a single reference.
I know that I have to debug but where do I even start looking? Any hints or tips on how to take the next step would be appreciated.
I don't know where to begin. Should I be making changes on the client side, in the report project, or the web project? What sort of changes would I make? Should I be adding styles, removing styles? I can't see a single object which has any influence over the style of parameter controls. Is there any documentation on how to change the appearance of controls in the parameter area? I have found a single reference.
I know that I have to debug but where do I even start looking? Any hints or tips on how to take the next step would be appreciated.
0
Paul Linton
Top achievements
Rank 1
answered on 21 Aug 2011, 06:40 AM
For anyone who finds this post when trying to figure out how to style the multiselect list box in the parameter area the answer is that each of the items in the multi-select combobox is a checkbox. So, creating a <style TargetType="CheckBox"> let's you control the appearance of each of the items in the drop down portion of the combobox.
0
Hello Paul,
While you are correct that you can control its appearance by manually defining a style, the problem you initially contacted us about is not expected i.e. the multivalue parameter editor should display correctly without need to manually define styles in order to be readable. So if you have the time and believe this is a bug in the Silverlight viewer, we would appreciate if you open a support ticket and either attach a sample project that shows the problem or provide us with steps how to reproduce it using the demo Silverlight project we install with the product.
Regards,
Steve
the Telerik team
While you are correct that you can control its appearance by manually defining a style, the problem you initially contacted us about is not expected i.e. the multivalue parameter editor should display correctly without need to manually define styles in order to be readable. So if you have the time and believe this is a bug in the Silverlight viewer, we would appreciate if you open a support ticket and either attach a sample project that shows the problem or provide us with steps how to reproduce it using the demo Silverlight project we install with the product.
Regards,
Steve
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>