Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxComboBox with Large Data Source - How to show information to end-user when no results are found

$
0
0

The Combo Box - Filtering a Large Data Source demo illustrates how to filter ASPxComboBox that contains a lot of records. However, when no result is found, ASPxComboBox does not show any information about it. You can change this behavior by showing an additional popup when no results are found. For this, handle the ASPxComboBox' client-side EndCallback event and show ASPxPopupControl when the combo box has no records:

[JScript]
function OnEndCallback(s, e){...if(s.GetItemCount() == 0){ popup.Show();}}

Viewing all articles
Browse latest Browse all 7205

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>