[CLOSED] Displaying mask on load on specific target in client side

  1. #1

    [CLOSED] Displaying mask on load on specific target in client side

    Hi,

    I've trying to display mask on tab when I changing tabs:
    <TabChange Handler="if(tab.items.getCount()>0) { return false; } else { Ext.net.Mask.show({ msg : 'loading...', target: tab.id });"/>
    how to tell explicitly to mask load was showed only on tab content which was activated( 'target: tab.id' doesn't work)?;>

    I'm aware about hide this mask after some circumstances.

    Thanks,
    ViDom
    Last edited by Daniil; Dec 19, 2012 at 2:06 PM. Reason: [CLOSED]
  2. #2
    Hi @ViDom,

    Please use "el" instead of "target". Also you can use just "tab" instead of "tab.id".
    <TabChange Handler="Ext.net.Mask.show({ el: tab.id });" />
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @ViDom,

    Please use "el" instead of "target". Also you can use just "tab" instead of "tab.id".
    <TabChange Handler="Ext.net.Mask.show({ el: tab.id });" />
    That was what I looking for :)
    Thanks @Daniil ones again :)

    I've read sencha documention but must overlook this property:(
  4. #4
    Don't worry, you didn't overlook it. Just this class - Ext.net.Mask - is defined in Ext.NET.
  5. #5
    Quote Originally Posted by Daniil View Post
    Don't worry, you didn't overlook it. Just this class - Ext.net.Mask - is defined in Ext.NET.
    Oh I see will try to remember to search in source code of Ext.Net as well in future :)

Similar Threads

  1. [CLOSED] Load UserControls (.asmx) on the client side - mvc app
    By ontiv in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 13, 2012, 10:31 AM
  2. Replies: 1
    Last Post: Nov 13, 2012, 9:44 AM
  3. Replies: 0
    Last Post: May 01, 2012, 9:43 AM
  4. Replies: 13
    Last Post: Feb 29, 2012, 8:41 AM
  5. Replies: 0
    Last Post: Sep 17, 2009, 8:04 AM

Tags for this Thread

Posting Permissions