Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
Append image to Grid
posted

Quick question, how do I append a cell on the top of my Grid with Image in it? 

I have a grid that is exported to Excel and now it requires the company logo on the top of the page; position A1,1A

From what I can see, the grid position starts at Band[0] as the top label. How do I append a cell on top of it and insert an image? I tried to add a new column, and insert a new row to it but this just added a new column at the end and the image is not showing. 

string _logoPath = Server.MapPath("~/include/images") + "/myLogo.jpg";

 UltraGridRow ImageRow = new UltraGridRow();
                ImageRow.Style.BackgroundImage = _logoPath;
                myGrid.GridMain.Rows.Add(ImageRow, true, true);

Any pointer is appreciated. Thanks in advance.

Parents
No Data
Reply
  • 29417
    Offline posted

    Hello InfraUser ,

     

    I’m just following up to see if you’ve been able to resolve your issue. If you have any questions or concerns or if you need further assistance please let me know.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://ko.infragistics.com/support

     

Children
No Data