Message Icons for Message Box from code behind and in Java script

  1. #1

    Message Icons for Message Box from code behind and in Java script

    Is it possible to add required icon for message box from code behind

    X.MessageBox.Alert("Click", chk).Show(); for this I have to add an ICON

    In the script

    <script type="text/javascript">
             var onBeforeSubmit = function (radioGroup) {
                 if (Ext.isEmptyObj(radioGroup.getValue())) {
                     Ext.Msg.alert("Error", "Select an item.");  // Here I would like to add an ICON
                     return false;
                 }
             };
       </script>
  2. #2
    Hi,

    The alert method doesn't provide such functionality. Please use the show one:
    http://docs.sencha.com/ext-js/4-0/#!...ox-method-show

Similar Threads

  1. Replies: 6
    Last Post: Nov 15, 2011, 2:02 AM
  2. Replies: 3
    Last Post: Aug 18, 2010, 9:34 PM
  3. [CLOSED] [1.0] Java Script broken under IE
    By tdracz in forum 1.x Premium Help
    Replies: 2
    Last Post: May 06, 2010, 4:46 PM
  4. Using Message box in code behind
    By chriskellerx10 in forum 1.x Help
    Replies: 4
    Last Post: Feb 10, 2010, 12:59 PM
  5. Replies: 1
    Last Post: Sep 14, 2009, 6:10 AM

Tags for this Thread

Posting Permissions