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;
}
}
}
Please guide Me. Thanks in Advance.
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;
}
}
}
Please guide Me. Thanks in Advance.