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

Prompt with combobox

1 Answer 298 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mikel
Top achievements
Rank 1
Mikel asked on 18 Mar 2016, 09:33 AM

Hello,

There easy/fast way to develop Prompt window with combobox and disabled Accept button until there is selected value in combo? Need returned OK/cancel and selected value. Is that  possible? something like:

DialogResult dialog_result;
ComboboxDialog cbd = new ComboboxDialog();
dialog_result=  cbd.ShowDialog();
 
if (dialog_result == DialogResult.Ok)
{
    cbd.SelectedValue...
}

 

Thanks! 

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 21 Mar 2016, 02:15 PM
Hello Mike,

The easiest approach we can suggest is to use one of our predefined dialogs - RadPrompt and change its Template through the ContainerStyle property of the DialogParameters. You can check the following topics for more details on the approach:
Predefined Dialogs
Styling the Predefined Dialogs

I hope this will help get started.

Regards,
Yana
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Window
Asked by
Mikel
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or