Turn off row selection for RadGrid

4 posts, 0 answers
  1. Stacy
    Stacy avatar
    116 posts
    Member since:
    Dec 2010

    Posted 06 Dec 2012 Link to this post

    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?
  2. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 11 Dec 2012 Link to this post

    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.
  3. ndang
    ndang avatar
    1 posts
    Member since:
    Nov 2014

    Posted 16 Oct 2015 in reply to Stacy Link to this post

    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>

  4. Kiran
    Kiran  avatar
    24 posts
    Member since:
    Oct 2018

    Posted 24 Jan in reply to ndang Link to this post

    This helped. Thank you.
Back to Top