eo_support wrote:Hi,
The Grid only triggers the event. If you click an item, it will trigger ClientSideOnItemClick event. The context menu triggers event on the ContextMenu control. It has nothing to do with the Grid.
If you see any event is wrongly triggered (which is unlikely), please create a test page and clearly explain which event you are expecting and why you believe the Grid is not triggering it correctly.
Once it enters your code, you will need to debug it yourself.
Thanks!
Hi I have structure Like this
<eo:CallbackPanel runat="server" ID="CallbackPanelSelectedRow" AutoDisableContents="True"
BorderWidth="0" GroupName="XYZ" ClientSideOnError="CBP_error_handler">
<eo:Grid runat="server" ID="GridLandOwners" BorderColor="#828790" BorderWidth="0px"
GridLines="Both" FixedColumnCount="0" ColumnHeaderDescImage="00050205" GridLineColor="240, 240, 240"
ColumnHeaderAscImage="00050204" ColumnHeaderHeight="20" Font-Size="10pt" Font-Names="Tahoma"
EnableTheming="true" EnableKeyboardNavigation="True" Height="150" ScrollBars="both"
FullRowMode="true" AllowColumnReorder="False" ItemHeight="22" IsCallbackByMe="False"
ClientSideOnItemSelected="Selectgridrows" RunningMode="client" ColumnHeaderDividerImage="00050103"
ClientSideOnContextMenu="ShowContextMenuLO">
<Columns>
<eo:RowNumberColumn AllowResize="False" AllowSort="True" HeaderText="" Width="20"
DataField="">
</eo:RowNumberColumn>
<eo:StaticColumn AllowResize="False" AllowSort="True" HeaderText="ID" Width="0" DataField="ID">
</eo:StaticColumn>
<eo:StaticColumn AllowResize="False" AllowSort="True" HeaderText="RECORD TYPE" Width="0"
DataField="Record_Type">
</eo:StaticColumn>
-
-
-
-
-
</eo:Grid>
</eo:CallbackPanel>
function Selectgridrows(e,grid,item,cell)
{
eo_Callback('CallbackPanelSelectedRow', "View Contact" );
}
Function ForContextMenu()
{
Code to show context Menu
_____
____
}
NRD Software Engineer