Prompt with combobox

2 posts, 0 answers
  1. Mikel
    Mikel avatar
    21 posts
    Member since:
    Feb 2014

    Posted 18 Mar Link to this post

    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! 

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 21 Mar Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top