Last Updated: 18 Sep 2023 11:57 by ADMIN
Created on: 14 Sep 2023 08:18
Category: ListBox
Type: Bug Report
Using Custom Skin in RadGrid when FilterType="HeaderContext" throws error

Setting EnableEmbeddedSkins="false" in RadGrid when FilterType="HeaderContext" is not applied to the ListBox (filterCheckList) hence the following error is thrown:

Telerik.Web.UI.RadGrid+RadListBoxShared with ID='filterCheckList' was unable to find an embedded skin with the name 'MY_THEME'   


1 comment
Posted on: 18 Sep 2023 11:57

A temporary workaround is to disable the Embedded skins for the ListBox Control manually in the code-behind:

protected void Page_PreRender(object sender, EventArgs e)
    var lb = RadGrid1.FindControl("filterCheckList") as RadListBox;
    if (lb != null)
        lb.EnableEmbeddedSkins = false;

Kind regards,
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources