Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Docs & Resources
Productivity and Design Tools
Hi Team,
How to show a pre-selected item in FileManager Blazor when the page loads
I have tried using two-way selection but it does not work.
I got the selection example in the Telerik documentation and modified it slightly to preselect the first item:
protected override async Task OnInitializedAsync() { FileManagerData = await GetFlatFileEntries(); SelectedItems = new List<FlatFileEntry> { FileManagerData.First() }; }
This works as expected. You can see the working example here: https://blazorrepl.telerik.com/wJuyOXYs16IkHPua03
Regards,
Anislav Atanasov