Is there a way to change the NULL text of a NULLABLE report parameter to a CUSTOM TEXT

故事扮演 提交于 2019-12-11 09:15:57

问题


Is there a way to change the NULL texts of a NULLABLE report parameter to CUSTOM TEXTS like is shown in folloing image .... ?

I have read this question https://stackoverflow.com/questions/17232432/ssrs-2005-how-to-change-the-label-of-the-null-checkbox-of-a-datepicker

And the proposed solution in this forum http://social.msdn.microsoft.com/Forums/sqlserver/en-US/879b0015-b053-40de-b97d-620fc283e542/how-to-change-null-label-of-the-checkbox-in-the-parameter-area

So I decided to create a Boolean Parameter called "Cualquier Hora Inicio" but is being rendered as two RADIO BUTTONS instead of ONE CHECKBOX (false = unchecked, true = checked)

If the NULL text cannot be changed please let me know how can I force the Boolean parameter to be render a a checkbox and also to be located to the right and at the same height as the Hora Inicio parameter where is supposed to be


回答1:


Yes, it is possible. You can create a custom assembly that overrides functionality of resources used by the ReportViewer control. You have to specify that your custom assembly be loaded instead of the default.

Here is an article about implementing the IResource interface.



来源:https://stackoverflow.com/questions/22919119/is-there-a-way-to-change-the-null-text-of-a-nullable-report-parameter-to-a-custo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!