Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

syncfusion-aspnetcore-multiselect同步融合 aspnetcore 多选

Agent Skill

syncfusion-aspnetcore-multiselect 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

218

周安装

9

GitHub Stars

公开资料未说明

下载量

71
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-aspnetcore-multiselect(同步融合 aspnetcore 多选)
来源仓库:https://github.com/syncfusion/aspnetcore-ui-components-skills
仓库路径:skills/syncfusion-aspnetcore-multiselect
安装命令:
npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-multiselect
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-multiselect

简介

同步融合 ASP.NET Core 多选组件,支持复杂条件组合筛选。

  • 适用于高级查询、多维分析、个性化配置等复杂选择场景。
  • 通过 GitHub 安装并构建动态筛选逻辑,支持保存常用组合。
  • 使用前应验证筛选规则语法安全性,防止表达式注入攻击。
  • 大量选项组合时应考虑缓存机制减少重复计算开销。syncfusion-aspnetcore-multiselect 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Implementing MultiSelect in ASP.NET Core

The MultiSelect is an advanced dropdown component that enables users to select multiple values from a predefined list with features like filtering, templates, checkboxes, grouping, and full accessibility support. This skill guides you through implementing MultiSelect in ASP.NET Core applications using Syncfusion's tag helper syntax.

When to Use This Skill

Use this skill when you need to:

  • Create dropdown fields where users can select multiple options
  • Add search/filter functionality to large option lists
  • Display selected items as chips with remove capability
  • Implement checkboxes for clear multi-selection UI
  • Bind to local arrays or remote data sources
  • Customize list item appearance with templates
  • Group related options by category
  • Ensure WCAG 2.2 accessibility compliance
  • Handle complex selection scenarios (cascading, custom values)

Key Features

FeatureUse Case
Multiple SelectionSelect multiple values from dropdown list
Filtering & SearchSearch through large lists efficiently
CheckboxesVisual indication of multi-select with checkbox mode
Data BindingLocal arrays or remote data sources
TemplatesCustomize item appearance and selected value display
GroupingOrganize options into logical categories
SortingAlphabetically sort options (ascending/descending)
Chip DisplayShow selected items as removable chips
Custom ValuesAllow users to add custom selection values
Virtual ScrollingEfficiently handle 1000+ item lists
CascadingLink multiple MultiSelect components
WCAG ComplianceBuilt-in accessibility for screen readers, keyboard nav
EventsRespond to selection changes, opens, closes

Documentation Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Prerequisites and system requirements
  • Installing Syncfusion.EJ2.AspNet.Core NuGet package
  • Configuring TagHelper in _ViewImports.cshtml
  • Adding stylesheets and script resources via CDN
  • Registering the script manager
  • Creating your first MultiSelect
  • Running and testing the application

Tag Helper Syntax

📄 Read: references/tag-helper-syntax.md

  • MultiSelect tag helper structure and properties
  • Essential properties (Placeholder, Value, Readonly, Disabled)
  • Data source binding basics
  • Event binding in tag helpers
  • CSS class customization
  • Best practices and common patterns

Data Binding

📄 Read: references/data-binding.md

  • Binding to local array of strings
  • Binding to array of objects
  • Complex object binding with nested fields
  • Remote data sources with DataManager
  • Field mapping (text, value, groupBy)
  • Dynamic data loading and refresh patterns

Filtering and Search

📄 Read: references/filtering-and-search.md

  • Built-in search box functionality
  • Filter type options (contains, startswith, endswith)
  • Custom filter logic with server-side filtering
  • Filter templates for advanced search UI
  • NoRecordsTemplate handling
  • Search performance optimization

Templates and Customization

📄 Read: references/templates-and-customization.md

  • Item template customization
  • Value template (selected items display)
  • Header and footer templates
  • Group header templates
  • Icon integration in items
  • CSS styling and class customization

Advanced Features

📄 Read: references/advanced-features.md

  • Checkbox mode for enhanced multi-selection UI
  • Grouping items by category
  • Sorting options (ascending/descending)
  • Custom value support (create new values)
  • Chip customization and removal
  • Virtual scrolling for large datasets
  • Cascading MultiSelect patterns

Accessibility

📄 Read: references/accessibility.md

  • WCAG 2.2 Level AA compliance
  • Keyboard navigation (Arrow keys, Tab, Enter, Escape)
  • ARIA attributes and roles
  • Screen reader support
  • Focus management best practices
  • Testing accessibility with tools

Quick Start Example

Here's a minimal MultiSelect implementation:

<!-- _ViewImports.cshtml -->
@addTagHelper *, Syncfusion.EJ2

<!-- View file -->
<ejs-multiselect id="multiselect"
    dataSource="ViewBag.DataSource"
    fields-text="Name"
    fields-value="Id"
    placeholder="Select options">
</ejs-multiselect>
// Controller
public IActionResult Index()
{
    List<SelectData> data = new List<SelectData>
    {
        new SelectData { Id = "1", Name = "Option 1" },
        new SelectData { Id = "2", Name = "Option 2" },
        new SelectData { Id = "3", Name = "Option 3" }
    };
    ViewBag.DataSource = data;
    return View();
}

Common Patterns

Pattern 1: Simple String Array

Select from a list of string values:

<ejs-multiselect id="skills"
    dataSource="ViewBag.SkillsList"
    placeholder="Select skills">
</ejs-multiselect>

Pattern 2: Object Array with Custom Display

<ejs-multiselect id="products"
    dataSource="ViewBag.ProductList"
    fields-text="ProductName"
    fields-value="ProductId"
    placeholder="Select products">
</ejs-multiselect>

Pattern 3: With Checkboxes

<ejs-multiselect id="languages"
    dataSource="ViewBag.LanguageList"
    fields-text="Language"
    fields-value="LanguageCode"
    mode="CheckBox"
    placeholder="Select languages">
</ejs-multiselect>

Pattern 4: Filtered Selection

<ejs-multiselect id="countries"
    dataSource="ViewBag.CountryList"
    fields-text="CountryName"
    fields-value="CountryCode"
    allowFiltering="true"
    filterType="Contains"
    placeholder="Search and select countries">
</ejs-multiselect>

Key Properties Reference

PropertyTypeDescription
dataSourceArrayList of data items
fields-textstringField name for display text
fields-valuestringField name for data value
placeholderstringHint text when empty
valuestring[]Initially selected values
allowFilteringbooleanEnable search/filter box
filterTypestringFilter type (StartsWith, Contains, EndsWith)
modestringSelection mode (Default, CheckBox, Delimiter)
readonlybooleanPrevent editing
disabledbooleanDisable the control
showSelectAllbooleanShow select all checkbox
maximumSelectionLengthnumberMax selectable items
delayUpdateOnstringEvent to trigger updates
fields-groupBystringGroup items by field

Common Use Cases

Use Case 1: Role Selection in Admin Panel

Users select multiple roles to assign to administrators:

  • Display all available roles
  • Filter as user types
  • Show selections as chips
  • Validate selection count

Use Case 2: Product Category Filter

E-commerce site filtering products by multiple categories:

  • Group categories by parent
  • Show item count per category
  • Virtual scroll for 1000+ items
  • Remember selections

Use Case 3: Team Member Assignment

Assign multiple team members to projects:

  • Search by name
  • Show department grouping
  • Display avatar in selection chips
  • Prevent self-assignment

Use Case 4: Tag Selection

Blog/content tagging with MultiSelect:

  • Allow custom tag creation
  • Show tag count/popularity
  • Group by category
  • Auto-complete suggestions

Best Practices

  1. Always provide clear labels - Label the MultiSelect with associated <label> element
  2. Set reasonable default selections - Pre-select logical defaults when appropriate
  3. Use filtering for large lists - Enable filtering when >10 items
  4. Validate on server - Never trust client-side validation alone
  5. Handle empty state - Provide clear message when no items selected
  6. Group related items - Use groupBy for lists >20 items
  7. Limit selection count - Use maximumSelectionLength to prevent abuse
  8. Test keyboard navigation - Ensure all features accessible via keyboard
  9. Provide accessible labels - Use proper ARIA attributes
  10. Monitor performance - Virtual scroll for 1000+ items

Next Steps

  1. Start with Getting Started - Follow setup instructions
  2. Implement a simple example - Create basic MultiSelect binding
  3. Add filtering - Enable search functionality
  4. Customize templates - Enhance appearance with templates
  5. Handle selection events - Respond to user selections
  6. Test accessibility - Verify keyboard and screen reader support

Ready to learn? Start with Getting Started

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.65%
按下载量换算25

Claude

30.65%
按下载量换算22

Cursor

20.97%
按下载量换算15

Gemini CLI

8.87%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills