How do I best display CheckBoxes in SQL Server Reporting Services?

前端 未结 8 466
北荒
北荒 2021-02-01 15:37

One of the many quirks of Reporting Services we\'ve run across is the complete and utter lack of a CheckBox control or even something remotely similar.

We have a form th

8条回答
  •  醉话见心
    2021-02-01 16:10

    This is building on Dragos Durlut's answer. I don't have a high enough reputation to comment but I can answer...

    I needed a checkbox as part of text that is passed as a parameter. The parameter contains HTML and is used in a placeholder set up just like Dragos suggests: HTML - Interpret HTML tags as styles.

    Instead of having to switch between the HTML and the strings, you can use the HTML Escape Codes (& + # + CharCode + ; --> ¨)

    ="¨ Empty checkbox"

    Since mine is a parameter, it just pass in the string:

    ¨ Empty checkbox

    If you need the checkbox selected, you would pass in either ý or þ instead:

    ý filled with an x
    þ filled with a checkmark

提交回复
热议问题