[CLOSED] Trigger with Grid Panel Show Mask Problem

  1. #1

    [CLOSED] Trigger with Grid Panel Show Mask Problem

    In my project, i am having a trigger field.Tn that field,on blur event , i will call one function.
    In that function i will Bind one Grid named as "GrdPnl1".I have to show the mask to my page upto the Grid Load will Finish.
    I am using this below code to show the mask.


    
    
    txtPackingListNumber.AjaxEvents.Blur.EventMask.ShowMask = true;
     txtPackingListNumber.AjaxEvents.Blur.EventMask.Msg = "Loading...";

    But the Mask Loaded is completed first and after few seconds only grid data is showing .
    I want to show the mask upto the Grid Load completed.


    Is there any Time functions or any other function to Show the mask some more time?


    
    
     <ext:TriggerField ID="txtPackingListNumber" runat="server" Width="150">
      <Triggers>
    	<ext:FieldTrigger Icon="Search" />
     </Triggers>
     <AjaxEvents>
                 <Blur OnEvent="GetContractNumberUsingPL" ShowWarningOnFailure="false" Timeout="240000">
                 </Blur>
     </AjaxEvents>
                    <Listeners>
                 		<TriggerClick Handler="top.window_popup_open(10,'PopupPackingList.aspx',680,470,PopUpTitle)" />
                       </Listeners>
    </ext:TriggerField>
  2. #2

    RE: [CLOSED] Trigger with Grid Panel Show Mask Problem

    Hi,

    Try the following
    - remove standard Blur ajax event mask (ShowMask="false")
    - add the following Before handler for the Blur ajax event
    Before="Coolite.Ext.Mask.show({msg:'Loading...'});"
    - on the server side after the grid rebinding call
    Coolite.Ext.Web.Mask.Instance.Hide();

Similar Threads

  1. Replies: 1
    Last Post: Aug 12, 2012, 7:32 AM
  2. [CLOSED] How to show mask on ajax update panel update
    By egvt in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 18, 2012, 9:36 PM
  3. [CLOSED] Trigger Field Control in Grid Panel Editor
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 29, 2011, 12:45 PM
  4. Replies: 0
    Last Post: Mar 03, 2011, 1:08 PM
  5. Replies: 8
    Last Post: May 17, 2010, 11:11 AM

Posting Permissions