DialogService provides a typed Open #1630

Closed
opened 2026-01-29 17:56:28 +00:00 by claunia · 2 comments
Owner

Originally created by @happtim on GitHub (Feb 20, 2025).

Is your feature request related to a problem? Please describe.

DialogService provides a typed Open, which is an extension of the existing generic methods.

Describe the solution you'd like

Add similar methods

        public virtual void Open(string title, Type dialogType,Dictionary<string, object> parameters = null, DialogOptions options = null) where T : ComponentBase
        {
            OpenDialog(title,dialogType, parameters, options);
        }
Originally created by @happtim on GitHub (Feb 20, 2025). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can request your feature via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. --> **Is your feature request related to a problem? Please describe.** DialogService provides a typed Open, which is an extension of the existing generic methods. **Describe the solution you'd like** Add similar methods ``` public virtual void Open(string title, Type dialogType,Dictionary<string, object> parameters = null, DialogOptions options = null) where T : ComponentBase { OpenDialog(title,dialogType, parameters, options); } ```
Author
Owner

@enchev commented on GitHub (Feb 26, 2025):

Hey @happtim, we accept pull requests!

@enchev commented on GitHub (Feb 26, 2025): Hey @happtim, we accept pull requests!
Author
Owner

@happtim commented on GitHub (Mar 1, 2025):

Thank you for your attention. In the future, I will provide PRs for simple modifications.

@happtim commented on GitHub (Mar 1, 2025): Thank you for your attention. In the future, I will provide PRs for simple modifications.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1630