Single select on a Gridview

4 posts, 0 answers
  1. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 30 Mar 2011 Link to this post

    Good Day

    i have a gridview and in that gridview i have a checkbox field. in a grid i always a single record being checked. so that means if a checkbox is selected in other record, there shouldnt be anyrecord has a checkbox selected.

    Thanks
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 30 Mar 2011 Link to this post

    Hi Vuyiswa,

     

    Since the SelectionMode property of RadGridView is set to Single, you will be able to select only a single row at a time. You may use the built-in GridViewSelectColumn to achieve the desired result. 


    If you need any further information please let us know.


    Kind regards,
    Vanya Pavlova
    the Telerik team
  3. DevCraft banner
  4. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 30 Mar 2011 Link to this post

    Thank you Vanya for your reply

    The Checkbox i have there i bind it from an object with a Boolean value. So if the checkbox is unchecked, i will need to collect that value when i do the updates. can GridViewSelectColumn


    <
    telerik:GridViewSelectColumn>


    be binded ?

    Thanks
  5. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 31 Mar 2011 Link to this post

    Hello Vuyiswa,

     

    Please take a look at the following forum thread.

    Best wishes,
    Vanya Pavlova
    the Telerik team
Back to Top