This is a migrated thread and some comments may be shown as answers.
No Show All Results
3 Answers 7 Views
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 19 Mar 2016, 04:26 AM

 

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

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 23 Mar 2016, 11:13 AM
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.
0
Jon
Top achievements
Rank 1
answered on 23 Mar 2016, 11:29 AM

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

0
Ivan Danchev
Telerik team
answered on 24 Mar 2016, 03:31 PM
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.
Asked by
Jon
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Jon
Top achievements
Rank 1
Share this question
or