[CLOSED] ImageCommandColumn confirm message in mvc

  1. #1

    [CLOSED] ImageCommandColumn confirm message in mvc

    Html.X().ImageCommandColumn()
                        .Width(30)
                        
                        .Commands(
                            Html.X().ImageCommand()
                                .Icon(Icon.Bin)
                                .ToolTip(t =>
                                {
                                    t.Text = "Delete plant";
                                     
                                })
                                .CommandName("delete")
                                
                        )
                        .Listeners(l =>
                        {
                           
                            l.Command.Handler = "this.up('gridpanel').store.removeAt(recordIndex);";
     
                        })
    how can I add a confirmation message in this ImageCommandColumn, before delete the record the message will show.please suggest some client side example.
    Last edited by Daniil; Jul 23, 2014 at 12:57 PM. Reason: [CLOSED]
  2. #2
    Hi @matrixwebtech,

    Please use a MessageBox's confirm function.
    http://docs.sencha.com/extjs/4.2.1/#...method-confirm
    Last edited by Daniil; Jul 23, 2014 at 12:57 PM.

Similar Threads

  1. [CLOSED] confirm message in codebehind?
    By hdsoso in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 27, 2013, 12:00 PM
  2. confirm message box problem
    By mehmood in forum 1.x Help
    Replies: 6
    Last Post: Jun 21, 2012, 1:47 PM
  3. Confirm message with wait not working
    By Mr.Techno in forum 1.x Help
    Replies: 1
    Last Post: Aug 08, 2011, 6:13 PM
  4. Confirm message handler
    By norphos in forum 1.x Help
    Replies: 1
    Last Post: May 18, 2011, 6:51 AM

Tags for this Thread

Posting Permissions