This is a migrated thread and some comments may be shown as answers.

Radiobuttons in form

1 Answer 167 Views
Form
This is a migrated thread and some comments may be shown as answers.
Edwin
Top achievements
Rank 1
Edwin asked on 24 Jun 2020, 09:51 AM

Currently i can't find an option for radiobuttons like the one for other editors : 

 

i.e. :     .Editor(e =>
                    {
                        e.NumericTextBox();
                    });
            });

 

What is the best way to add radiobuttons in the form since the form component doesn't seem supporting the radiobutton standard?

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 29 Jun 2020, 08:28 AM

Hello Edwin,

The currently available options for editors include the following widgets:

DropDown widgets - "AutoComplete", "DropDownList", "ComboBox", "MultiSelect", "DropDownTree", "MultiColumnComboBox"
DatePicker widgets - "DateInput", "DatePicker", "DateTimePicker", "TimePicker"
Input widgets - "NumericTextBox", "MaskedTextBox", "Switch", "Rating", "Slider", "ColorPicker"
Editor widget - "Editor"

To use a RadioButton you can define a Custom Editor as demonstrated in this section of the documentation:

https://docs.telerik.com/aspnet-core/html-helpers/layout/form/items#custom-editor

In addition to the above, as this is a valuable Feature Request, that would improve the UI for ASP.NET Form I have logged a Feature Request on your behalf:

https://feedback.telerik.com/aspnet-core-ui/1473848-integrate-radiobutton-radiogroup-in-the-form

We will monitor the community interest in such a feature and consider its implementation in a future release based on the interest shown and our priority queue.

Finally as a token of gratitude for helping us improve our product I have updated your Telerik points.

Regards,
Aleksandar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Form
Asked by
Edwin
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Share this question
or