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 8:58 PM.

Similar Threads

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

Posting Permissions