The 'No Data' message comes from the localizer. At this point, the only way to change it is to override the resource for it.
Since this may seem to you like a lot of effort, I created a Feature Request for adding an easier way to override the No Data message and added your vote for it.
Until this feature is implemented, here is the workaround:
If you already have localization in your project, just set "DropDownList_NoData" key to an empty string in your resources.
If you don't have localization, here are the steps you should do:
1. Create a class for your localizer:
publicclassSampleResxLocalizer : ITelerikStringLocalizer
{
publicstringthis[string name]
{
get
{
return GetStringFromResource(name);
}
}
publicstringGetStringFromResource(string key)
{
// this will override only DropDownList_NoData message and it will return other messages as they areif (key == nameof(Messages.DropDownList_NoData))
{
returnstring.Empty;
}
return Messages.ResourceManager.GetString(key, Messages.Culture); ;
}
}
2. Override the existing Localizer. This step should be done when configuring your services after calling "AddTelerikBlazor()":
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.