Show X.MessageBox without any focus on buttons

  1. #1

    Show X.MessageBox without any focus on buttons

    How to show X.MessageBox without any focus on buttons, now by default focus placed on "Yes" button?

    Below code from aspx behind file, I'm using ext.net 2.0 version. Methods like App.direct.DoYes() also placed in code behind file.

    X.MessageBox.Confirm("Message", "Are you sure?", new MessageBoxButtonsConfig{
        Yes = new MessageBoxButtonConfig
        {
            Handler = "App.direct.DoYes()",
            Text = "Да"
        },
        No = new MessageBoxButtonConfig
        {
            Handler = "App.direct.DoNo()",
            Text = "Нет"
        }
    }).Show();
    Last edited by geoffrey.mcgill; Oct 31, 2018 at 7:58 PM.

Similar Threads

  1. [CLOSED] MessageBox with Dialog buttons, wait for answer
    By atroul in forum 4.x Legacy Premium Help
    Replies: 2
    Last Post: May 12, 2017, 9:55 PM
  2. [CLOSED] MessageBox doesn't show
    By ingbabic in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: Jan 15, 2016, 8:59 PM
  3. [CLOSED] ValidateEdit After MessageBox with focus
    By osef in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 12, 2014, 4:58 PM
  4. Replies: 13
    Last Post: Feb 05, 2014, 2:59 AM
  5. Replies: 5
    Last Post: Apr 28, 2012, 7:42 AM

Posting Permissions