How to navigate all items in radgrid

3 posts, 0 answers
  1. Amitkumar
    Amitkumar avatar
    66 posts
    Member since:
    Aug 2009

    Posted 15 Dec 2009 Link to this post

    hi all,

    How to navigate all items in radgrid, even if i am using paging, following code navigate only first page(i.e. size of page is 10) items only,

    foreach (GridDataItem item in rgEventResult.Items)
                            {
                                CheckBox chkSelected = item["SelectColumn"].Controls[0] as CheckBox;
                              
                                if (chkSelected != null && chkSelected.Checked)
                                {
                                   
                                }
                            }

    Thanks & Regards
    Dharmesh



  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 15 Dec 2009 Link to this post

    Hi Dharmesh,

    You can set the AllowPaging property to False and then loop through each items and perform the operations. After that set the AllowPaging to True then rebind the grid.

    Hope this helps,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Amitkumar
    Amitkumar avatar
    66 posts
    Member since:
    Aug 2009

    Posted 15 Dec 2009 Link to this post

    Hello Shinu,

    You are right, but i check and uncheck some of the rows or items that state I will lose, if AllowPaging true or false then rebind, right? if any other idea please reply me.


    Thanks & Regards
    Amit
Back to Top