5 Answers, 1 is accepted
The "null" text of the checkbox can only be modified through the control template of the Silverlight report viewer. In order to learn how to modify the template please check the Creating Style in Expression Blend help article. Also you can find general information on changing templated controls in the Styling a control that supports templates MSDN article.
Please have in mind that this will change the text of all parameters which have AllowNull property set to true.
Hope this helps.
IvanY
the Telerik team
Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.
Can we hide this chec kbox which is displaying with the Null Text?
If you're using the Silverlight or WPF report viewer, then yes, you can modify their template in any way you find feasible. If you're using ASP.NET or Windows Forms viewers, then you would have to create your own UI, as the built-in cannot be customized.
Kind regards,
Steve
the Telerik team
HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
Thanks for the reply.
Can you provide me some example link to hide only the Checkbox with the Null Text displaying right side of the Combox box.
I want to hide only that Checkbox not the checkbox of Combox List Item.
I tried to apply Style rule from Silverlight page. I do not have to Id of Checkbox with Null text so it is applying on the all checkbox including the items of Combobox.
For example.
<Style TargetType="CheckBox">
<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock Text="All" />
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
Attached the image how the Report parameter is looking after applied above style in the silverlight page.
Please let me know your feedback.
Thanks
You would have to extract the template of the Silverlight viewer and make the modifications directly in the template, for more info refer to:
Regards,
Steve
the Telerik team
HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!