Welcome Guest Search | Active Topics | Sign In | Register

Cancel edit in grid with fullrowmode=false Options
Philipp Jenni
Posted: Monday, October 3, 2011 3:47:41 PM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2007
Posts: 98
Hi,

Its possible, that i can cancel edit mode on client in grid by javascript. I have a dialog with a grid in there content. The dialog has also a save and an abort button. The grid has follow tag:
Code: HTML/ASPX
<eo:Grid ID="gridEditHallen" runat="server" BorderColor="#828790" BorderWidth="1px"
            ColumnHeaderAscImage="00050204" ColumnHeaderDescImage="00050205" ColumnHeaderDividerImage="00050203"
            ColumnHeaderHeight="24" FixedColumnCount="1" Font-Bold="False" Font-Italic="False"
            Font-Names="Tahoma" Font-Overline="False" Font-Size="8.75pt" Font-Strikeout="False"
            Font-Underline="False" FullRowMode="False" GridLineColor="240, 240, 240" GridLines="Both"
            Height="370px" ItemHeight="19" KeyField="id" Width="490px" AllowNewItem="True"
            OnItemAdded="gridEditHallen_ItemAdded" OnItemChanged="gridEditHallen_ItemChanged"
            OnItemDeleted="gridEditHallen_ItemDeleted">

Is there a javascript command to cancel the OnItemAdded, OnItemChanged and OnItemDeleted event on the server when the user closed the dialog by the x or the abort button?
eo_support
Posted: Monday, October 3, 2011 8:20:54 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

No. You can program whatever logic to skip your code inside those event handler; but those event will always be fired.

Thanks
Philipp Jenni
Posted: Tuesday, October 4, 2011 2:33:22 PM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2007
Posts: 98
Hi,

I have not seen the ItemsAdded, ItemsChanged and ItemDeleted Property. This is the solution for my problem. Thanks for your help...

Kind regards.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.