PDA

View Full Version : [CLOSED] ShowMask



elke.schreiber
May 02, 2013, 1:09 PM
Hi,

I have a user control with a button on my page. The button fires a directevent.
How can I make a "ShowMask" during the event.

My code looks like this:


<ext:Button ID="ButtonSave" runat="server" Text="Save" Icon="Disk" ToolTip="<%$ Resources:CUSTRocheImport, TooltipSave %>">
<DirectEvents>
<Click OnEvent="cmdSave">
<ext:EventMask ShowMask="true" />
</Click>
</DirectEvents>


<DirectMethod()>
Public Sub cmdSave(ByVal sender As Object, ByVal e As DirectEventArgs)

Thanks for help

Daniil
May 02, 2013, 2:00 PM
Hi @elke.schreiber,

Welcome to the Ext.NET forums!

Please replace:

<ext:EventMask ShowMask="true" />
with

<EventMask ShowMask="true" />

elke.schreiber
May 03, 2013, 7:12 AM
Hi,

I have a user control with a button on my page. The button fires a directevent.
How can I make a "ShowMask" during the event.

My code looks like this:


<ext:Button ID="ButtonSave" runat="server" Text="Save" Icon="Disk" ToolTip="<%$ Resources:CUSTRocheImport, TooltipSave %>">
<DirectEvents>
<Click OnEvent="cmdSave">
<ext:EventMask ShowMask="true" />
</Click>
</DirectEvents>


<DirectMethod()>
Public Sub cmdSave(ByVal sender As Object, ByVal e As DirectEventArgs)








Thanks for help



so easy, thanks