Open Closed

cascading drop downs #3680


User avatar
1
mel@quadsoftpa.com created
  • **ABP Framework version:**6rc3
  • UI type:Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): MVC

I need to support cascading drop downs (select). I can easily do this with Telerik Blazor, but I'd like to stay as close as possible with the suite generated code.

if I stick with the default binding, the only way I could think of getting a message back from the createDto to load the municipalities was an event. none of this seems like a very good idea, that's why I'm posting here. Should I change my bindings on the select or do you have a better scenario to get municipalities to load when County is changed. the images should give you a better understanding. Thank you

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    mel@quadsoftpa.com created

    I should mention that the scenario does work up until CommunitiesAppService is alwasy null

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    There is no need to use EventBus, it will increase your code complexity.

    See the document: https://blazorise.com/docs/components/select

    Select component has a SelectedValueChanged event, and you can use it.

    .

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.