message comes twice at datagrid

  1. #1

    message comes twice at datagrid

    this.message = "Designation cannot be blank.";
    if i use this code at Store1_BeforeRecordInserted then this message comes twice.

    if i block the following code then it comes once, nut not in message box format.

    
                <CommitFailed Handler="Ext.Msg.alert('Designation Information - Commit failed', 'Reason: ' + msg)" />
                <SaveException Handler="Ext.Msg.alert('Designation Information - Save failed', e.message || e)" />

    HELP.
  2. #2

    RE: message comes twice at datagrid



    Hi

    There's a property on the store, set it to false and you'll be fine

    store.ShowWarningOnFailure = false;
    hth


  3. #3

    RE: message comes twice at datagrid

    Thanks peter.

    It works.


Similar Threads

  1. Replies: 1
    Last Post: Mar 10, 2012, 3:58 PM
  2. Replies: 6
    Last Post: Nov 15, 2011, 2:02 AM
  3. Replies: 3
    Last Post: Aug 18, 2010, 9:34 PM
  4. datagrid
    By grajaneesh in forum 1.x Help
    Replies: 1
    Last Post: Jul 12, 2010, 6:50 PM
  5. [CLOSED] Editable datagrid
    By Hari_CSC in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 28, 2010, 3:46 AM

Posting Permissions