Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 872029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:43:30+00:00 2026-05-15T10:43:30+00:00

I’m using the ReportViewer control in a WinForms app. How do I change the

  • 0

I’m using the ReportViewer control in a WinForms app. How do I change the “NULL” checkbox text to anything else? (just right of ‘Begin Date’ in the below picture)

alt text http://img269.imageshack.us/img269/1774/dropdowninssrspagerequi.png

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:43:30+00:00Added an answer on May 15, 2026 at 10:43 am

    Here’s the answer, and it’s a bit ugly, but hopefully this will save you some typing if you ever have to do it yourself. Implement the IReportViewerMessages interface like so:

    public class CustomReportViewerMessages : IReportViewerMessages
    {
        public string NullCheckBoxText { get { return "All"; } }
        public string NullCheckBoxToolTip { get { return "All"; } }
    
        public string DocumentMapButtonToolTip { get { return "DocumentMapButtonToolTip"; } }
        public string ParameterAreaButtonToolTip { get { return "ParameterAreaButtonToolTip"; } }
        public string FirstPageButtonToolTip { get { return "FirstPageButtonToolTip"; } }
        public string PreviousPageButtonToolTip { get { return "PreviousPageButtonToolTip"; } }
        public string CurrentPageTextBoxToolTip { get { return "CurrentPageTextBoxToolTip"; } }
        public string PageOf { get { return "PageOf"; } }
        public string NextPageButtonToolTip { get { return "NextPageButtonToolTip"; } }
        public string LastPageButtonToolTip { get { return "LastPageButtonToolTip"; } }
        public string BackButtonToolTip { get { return "BackButtonToolTip"; } }
        public string RefreshButtonToolTip { get { return "RefreshButtonToolTip"; } }
        public string PrintButtonToolTip { get { return "PrintButtonToolTip"; } }
        public string ExportButtonToolTip { get { return "ExportButtonToolTip"; } }
        public string ZoomControlToolTip { get { return "ZoomControlToolTip"; } }
        public string SearchTextBoxToolTip { get { return "SearchTextBoxToolTip"; } }
        public string FindButtonToolTip { get { return "FindButtonToolTip"; } }
        public string FindNextButtonToolTip { get { return "FindNextButtonToolTip"; } }
        public string ZoomToPageWidth { get { return "ZoomToPageWidth"; } }
        public string ZoomToWholePage { get { return "ZoomToWholePage"; } }
        public string FindButtonText { get { return "FindButtonText"; } }
        public string FindNextButtonText { get { return "FindNextButtonText"; } }
        public string ViewReportButtonText { get { return "ViewReportButtonText"; } }
        public string ProgressText { get { return "ProgressText"; } }
        public string TextNotFound { get { return "TextNotFound"; } }
        public string NoMoreMatches { get { return "NoMoreMatches"; } }
        public string ChangeCredentialsText { get { return "ChangeCredentialsText"; } }
        public string NullValueText { get { return "NullValueText"; } }
        public string TrueValueText { get { return "TrueValueText"; } }
        public string FalseValueText { get { return "FalseValueText"; } }
        public string SelectAValue { get { return "SelectAValue"; } }
        public string UserNamePrompt { get { return "UserNamePrompt"; } }
        public string PasswordPrompt { get { return "PasswordPrompt"; } }
        public string SelectAll { get { return "SelectAll"; } }
        public string PrintLayoutButtonToolTip { get { return "PrintLayoutButtonToolTip"; } }
        public string PageSetupButtonToolTip { get { return "PageSetupButtonToolTip"; } }
        public string TotalPagesToolTip { get { return "TotalPagesToolTip"; } }
        public string StopButtonToolTip { get { return "StopButtonToolTip"; } }
        public string DocumentMapMenuItemText { get { return "DocumentMapMenuItemText"; } }
        public string BackMenuItemText { get { return "BackMenuItemText"; } }
        public string RefreshMenuItemText { get { return "RefreshMenuItemText"; } }
        public string PrintMenuItemText { get { return "PrintMenuItemText"; } }
        public string PrintLayoutMenuItemText { get { return "PrintLayoutMenuItemText"; } }
        public string PageSetupMenuItemText { get { return "PageSetupMenuItemText"; } }
        public string ExportMenuItemText { get { return "ExportMenuItemText"; } }
        public string StopMenuItemText { get { return "StopMenuItemText"; } }
        public string ZoomMenuItemText { get { return "ZoomMenuItemText"; } }
        public string ViewReportButtonToolTip { get { return "ViewReportButtonToolTip"; } }
    }
    

    Then, use an instance of that class right before you RefreshReport:

                    reportViewer.Messages = new CustomReportViewerMessages();
                    reportViewer.RefreshReport();
    

    And that’ll do it. Notice I’ve left almost all the properties as meaningless strings, except the two (at top) that I care about.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 462k
  • Answers 462k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer So based on what you have said, I am going… May 16, 2026 at 12:30 am
  • Editorial Team
    Editorial Team added an answer You can use the following to clear all the elements.… May 16, 2026 at 12:30 am
  • Editorial Team
    Editorial Team added an answer Yes, you have to convert it back. An autoproperty can't… May 16, 2026 at 12:30 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.