Link to home
Start Free TrialLog in
Avatar of Denis Orozco
Denis OrozcoFlag for United States of America

asked on

Select a RadGrid Row

I'm trying to select a RadGrid Row and do something with it but selecting is a nightmare not sure why but I think someone here can relate with my frustration. 

I'm assigning the datasource dynamically which works. but when it is presented on client side i need to allow the user to select the row and be able to do something no on Javascript but Server side code. 

Here is the code for the aspx Radgrid

<div id="Gridview">
                                        <telerik:RadGrid RenderMode="Lightweight" EnableAriaSupport="True" ID="RadGrid1" runat="server" HorizontalAlign="Center" AutoGenerateColumns="False" AllowMultiRowSelection="True" ShowFooter="True" ClientSettings-EnableRowHoverStyle="True" ItemStyle-HorizontalAlign="Center" MasterTableView-HorizontalAlign="Center">
                                            <GroupingSettings CaseSensitive="false" />
                                            <AlternatingItemStyle HorizontalAlign="Center" />

<MasterTableView> ... </MasterTableView>

 <ClientSettings EnableRowHoverStyle="true" EnablePostBackOnRowClick="true">
                                                <Selecting AllowRowSelect="True" />
                                                <Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />
                                                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                                            <ItemStyle HorizontalAlign="Center" />
                                            <filtermenu rendermode="Lightweight">
                                            <headercontextmenu rendermode="Lightweight">

Open in new window

I have nothing yet for the code


Avatar of Noah
Flag of Singapore image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Denis Orozco


i thought about this and that's how it normally happen but when the grid is displayed i cant seems to be able to select a row. 

Do verify that the RadGrid has the AllowMultiRowSelection property set to true if you want to select multiple rows. If you only want to select a single row, set AllowMultiRowSelection to false.

Well the problem was with some Ajax panel it seems like I have multiple Ajax panels and they were conflicting