Using Ext.Msg.Alert in Asp.net

Posted by Nguyen Son on Stack Overflow See other posts from Stack Overflow or by Nguyen Son
Published on 2009-09-09T03:01:31Z Indexed on 2010/05/23 14:00 UTC
Read the original article Hit count: 302

Filed under:
Ext.onReady(function(){  
    if (Ext.get('ctl00_ContentBody_txtCM').dom.value == "") 
   { 
      Ext.MessageBox.alert("Status", "You have input CM!", function()
       {  
             Ext.get('ctl00_ContentBody_txtCM').focus();                 

        }     
        );             
   }

when submit button,it postback server before.Please help me.I using asp.net

Thanks

© Stack Overflow or respective owner

Related posts about extjs