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

RadGridView Cell Replicates in other Cells when Scrolling

2 Answers 95 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Simrun
Top achievements
Rank 1
Simrun asked on 20 Oct 2012, 12:00 PM
I was able to create Customcell element from the following post.
http://www.telerik.com/community/forums/winforms/gridview/show-mulitple-images-in-a-gridview-column.aspx

But when I perform scroll in Gridview, the same CustomCell with 3 Buttons replicate itself in other cells.
Here is my code for CreateCell Event.

private void gvProductDetail_CreateCell(object sender, GridViewCreateCellEventArgs e)
        {
            if (e.Column.GetType().Name == "GridViewCommandColumn")
            {
                GridViewCommandColumn dataColumn = e.Column as GridViewCommandColumn;


                if (e.Row is GridDataRowElement && dataColumn != null)
                {
                    CustomGridDataCell cell = new CustomGridDataCell(e.Column, e.Row);
                    e.CellElement = cell;
                }
            }
        }

Someone at telerik Please guide Me. I know it has something to do with Virtualize Cell format you guys are using but Can't figure out a way to solve the issue. Thanks in Advance.

2 Answers, 1 is accepted

Sort by
0
Simrun
Top achievements
Rank 1
answered on 23 Oct 2012, 04:46 AM
Will anyone from telerik care to reply ?
0
Svett
Telerik team
answered on 23 Oct 2012, 01:10 PM
Hello,

Your question has already been answered in the other thread you have opened. Please, see our answer there for more information.

We kindly ask you to use just one support channel to contact us. Posting the same questions more than once slows down our response time because we will need to review and address two or more tickets instead of one. Moreover, support threads are handled according to license and time of posting, so if it is an urgent issue, we suggest that you use a support ticket, which would be handled before a forum thread.

Thank you for your understanding.

Greetings,
Svett
the Telerik team
You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar to see first all the latest enhancements.
Tags
GridView
Asked by
Simrun
Top achievements
Rank 1
Answers by
Simrun
Top achievements
Rank 1
Svett
Telerik team
Share this question
or