No Show All Results

4 posts, 0 answers
  1. Jack
    Jack avatar
    128 posts
    Member since:
    May 2003

    Posted 18 Mar Link to this post

     

    Sorry I can't find the answer - it must be really simple.

    How can I disable (not show) the 'Show All Results' link that appears at the bottom of the search list?

    Cheers,

    J

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 23 Mar Link to this post

    Hello Jon,

    The "Show All Results" button will show up if you are setting the SearchBox' MaxResultCount property. If you don't want the button to be displayed you should not set this property. This way the number of items shown in the control's dropdown will not be limited.

    Regards,
    Ivan Danchev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jack
    Jack avatar
    128 posts
    Member since:
    May 2003

    Posted 23 Mar in reply to Ivan Danchev Link to this post

    Thanks Ivan,

    I should have explained what I was really trying to do!

    Which is to only show 1 record at a time - so I set MaxResult = 1

    I don't want the user to see all the records (in one go).

    Hope this makes sense.

    J

  5. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 24 Mar Link to this post

    Hello Jon,

    With MaxResultCount set there is no other SearchBox property that would prevent the "Show All Results" button from showing, but you can hide it with CSS:
    .rsbShowAll {
        display: none;
    }


    Regards,
    Ivan Danchev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top