Virtualization is not working for RadMultiSelect

1 Answer 32 Views
MultiSelect
chandi
Top achievements
Rank 1
chandi asked on 26 Jan 2022, 11:54 AM

Hi,

My main thread is  "Check All" feature is not working as expected with Load On Demand

As there is limitation on LoadOnDemand feature in RadComboBox control, as a workaround I used RadMultiSelect with Virtualization.

But when I add the below line it showing console error.

<VirtualSettings ItemHeight="26" ValueMapper="valueMapper" />

As you requested in main thread I am attaching current implementation to investigate the problem. 

Attaching relevant files for your reference since full project can't upload due to max size exceed.

Highly appreciate your quick response.

Thanks

Chandi

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Attila Antal
Telerik team
answered on 27 Jan 2022, 04:25 PM

Hello Chandi,

The error message seen in the screenshot is caused by the missing Scripts.

RadMultiSelect is a Wrapper for the Kendo UI MultiSelect. This is a jQuery widget, therefore, it will require jQuery loaded on the page.

Try including the following Scripts which will setup the jQuery references for the MultiSelect:

<%--<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />--%>

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    <Scripts>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
    </Scripts>
</telerik:RadScriptManager>

 

For more information about jQuery, you can check out the Using jQuery article:

 

Once you resolve this issue, you can proceed and finish configuring the WebService.

 

Please let me know if you have any questions.

 

Regards,
Attila Antal
Progress Telerik

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

chandi
Top achievements
Rank 1
commented on 28 Jan 2022, 02:59 AM

Hi Attila,

Thank you very much for your response.

Yes, it worked fine after added jQuery references.

Thanks again :)

Best Regards,

Chandi

Tags
MultiSelect
Asked by
chandi
Top achievements
Rank 1
Answers by
Attila Antal
Telerik team
Share this question
or