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
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.
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.