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
|
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\_i13I 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
|