Delete One Row in Gridview

2 posts, 0 answers
  1. reza
    reza avatar
    1 posts
    Member since:
    Apr 2014

    Posted 08 May 2015 Link to this post


    I Have RadGrid and want Delete One Row in ItemDataBound..... 

    means , when ItemDataBound appaly i want  check some Item and then delete one row .... 

     protected void gvShow_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
            if (e.Item is GridDataItem)
                GridDataItem dataitem = (GridDataItem)e.Item;
                 if ( check one EstateMent)

    Do Some things


                    here I want Delete Current Row 

  2. Eyup
    Eyup avatar
    3892 posts

    Posted 13 May 2015 Link to this post

    Hello Reza,

    You can use the e.Item.Display = false; approach in order to hide the item.
    Hope this helps.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top