Hello,
Using RadControls for ASP.NET v2011.2.712.35
I have a RadGrid with client-side row click event defined as follows:
My Javascript is:
When I click on a row in the RadGrid, the OP_RadGrid_RowSelected() event fires just fine.
However, when I click on the image in the GridImateColumn, the OP_RadGrid_RowSelected() event DOES NOT fire.
How can I make the OP_RadGrid_RowSelected() fire when I click on the Image?
Thanks,
Randall Price
Senior Developer
Virginia Tech
Using RadControls for ASP.NET v2011.2.712.35
I have a RadGrid with client-side row click event defined as follows:
<telerik:RadGrid runat="server" ID="RadGrid_Combo" ... > <ClientSettings EnableRowHoverStyle="true"> <ClientEvents OnGridCreated="OP_RadGrid_GridCreated" OnRowSelected="OP_RadGrid_RowSelected" OnRowDeselected="OP_RadGrid_RowDeselected" /> <MasterTableView TableLayout="Fixed"> <Columns> <telerik:GridImageColumn UniqueName="ImageUrl" DataAlternateTextField="ObjectType" DataAlternateTextFormatString="{0} Object" DataImageUrlFields="ImageUrl" DataType="System.String" HeaderText="Type" ImageAlign="Middle" ImageHeight="16px" ImageWidth="16px" > <HeaderStyle Width="25px" Wrap="false" /> </telerik:GridImageColumn> ... </telerik:RadGrid> My Javascript is:
<script type="text/javascript"> function OP_RadGrid_RowSelected(sender, args) { // do some stuff ... } </script> When I click on a row in the RadGrid, the OP_RadGrid_RowSelected() event fires just fine.
However, when I click on the image in the GridImateColumn, the OP_RadGrid_RowSelected() event DOES NOT fire.
How can I make the OP_RadGrid_RowSelected() fire when I click on the Image?
Thanks,
Randall Price
Senior Developer
Virginia Tech
