Welcome Guest Search | Active Topics | Sign In | Register

Getting problem to fire the Server Side event on click of Row in the Grid Options
kapil
Posted: Wednesday, May 5, 2010 2:22:38 PM
Rank: Newbie
Groups: Member

Joined: 2/19/2010
Posts: 6
Hi,

I am using VB.NET for EO Objects :-

I want to fire the server side event when user clicks on any Row of the grid :-

Here is my code that I am using :-

Code in the aspx file :-

<eo:Grid ID="GDl" runat="server" BorderColor="#828790" BorderWidth="0px" ClientSideOnContextMenu="ShowContextMenuReplace" ColumnHeaderAscImage="00050204" ColumnHeaderDescImage="00050205" EnableKeyboardNavigation="True" EnableTheming="True" Font-Names="Tahoma" Font-Size="10pt" GridLineColor="240, 240, 240" GridLines="Both" Height="200px" IsCallbackByMe="False" ItemHeight="22" KeyField="APPRAISAL_ID" OnItemChanged="GD_ItemChanged" ScrollBars="Both">


Code in the .VB File to call the event on click of any Row in the Grid :-

Protected Sub GD_ItemChanged(ByVal sender As System.Object, ByVal e As EO.Web.GridItemEventArgs)

My question is I want to fire the server side event on click of item on the Grid.

I will be waiting for your response...

Thanks,
Kapil Sharma,
Flairsoft LLC
eo_support
Posted: Wednesday, May 5, 2010 3:08:46 PM
Rank: Administration
Groups: Administration

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

Please see here for how to fire server event on click of the item:

http://demo.essentialobjects.com/Default.aspx?path=Grid\_i1\_i13

I do not believe you can do that while working with ItemChanged event at the same time though. If you post back the page as soon as user click an item, user will never have any chance to change anything, thus there will be no ItemChanged event.

Thanks


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.