BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
protected override Rectangle OnLayout(int rowIndex, int colIndex, GridStyleInfo style, Rectangle innerBounds, Rectangle[] buttonsBounds) { Rectangle rect1 = innerBounds; rect1 = new Rectangle(rect1.Right - 81, rect1.Bottom - 20, 40, 20); buttonsBounds[0] = rect1; rect1 = new Rectangle(rect1.Right + 1, rect1.Top, 40, 20); buttonsBounds[1] = rect1; return innerBounds; }2) You are using a GridDataBoundGrid. You cannot set cell specific properties like BackgroundImage using an indexer on a GridDataBoundGrid. http://www.syncfusion.com/Support/article.aspx?id=560 If you want to use a GridDataBoundGrid and have a style property like BackgroundImage vary cell to cell in the same column, then you will have to provide these values in either a Model.QueryCellInfo event or a PrepareViewStyleInfo event. You cannot set them with indexers.
>protected override Rectangle OnLayout(int rowIndex, int colIndex, GridStyleInfo style, Rectangle innerBounds, Rectangle[] buttonsBounds) >{ > Rectangle rect1 = innerBounds; > rect1 = new Rectangle(rect1.Right - 81, rect1.Bottom - 20, 40, 20); > buttonsBounds[0] = rect1; > rect1 = new Rectangle(rect1.Right + 1, rect1.Top, 40, 20); > buttonsBounds[1] = rect1; > return innerBounds; >} >> >2) You are using a GridDataBoundGrid. You cannot set cell specific properties like BackgroundImage using an indexer on a GridDataBoundGrid. http://www.syncfusion.com/Support/article.aspx?id=560 > >If you want to use a GridDataBoundGrid and have a style property like BackgroundImage vary cell to cell in the same column, then you will have to provide these values in either a Model.QueryCellInfo event or a PrepareViewStyleInfo event. You cannot set them with indexers. The Current Problem is in executing AddDelete_5027.zip