This is a migrated thread and some comments may be shown as answers.

Turn off row selection for RadGrid

3 Answers 860 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stacy
Top achievements
Rank 1
Stacy asked on 06 Dec 2012, 08:22 PM
I want row selection for my grid to be turned off.  Everytime a row is clicked, it triggers a post.  I don't want this.  So i tried using many things i've found on the internet forums and none work for me.

<Grid ClientSettings-Selecting-AllowRowSelect="false" doesnt work.
<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" EnablePostBackOnRowClick="false" Selecting-AllowRowSelect="false">
Doesn't work.
<Selecting AllowRowSelect="false" />
doesnt work.
Why isn't there an easy option for this?  Can you give me a solution that works?

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 11 Dec 2012, 12:06 PM
Hi Stacy,

I was not able to reproduce your issue. I prepared a small sample and attached it to this forum post. Give it a try and let me know how it differs from your real setup.

Kind regards,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
ndang
Top achievements
Rank 1
answered on 16 Oct 2015, 02:16 PM

It easy guys,  work with my code after add EnablePostBackOnRowClick="false" , here part of the script :

<ClientSettings EnableRowHoverStyle="true"  EnablePostBackOnRowClick="false">
                                        <Resizing AllowColumnResize="false" />
                                        <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="240px"/>
                                         <Selecting  AllowRowSelect="true" />
                                    </ClientSettings>

0
Kiran
Top achievements
Rank 1
answered on 24 Jan 2019, 06:26 PM
This helped. Thank you.
Tags
Grid
Asked by
Stacy
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
ndang
Top achievements
Rank 1
Kiran
Top achievements
Rank 1
Share this question
or