How to add Image in table cell

2 posts, 1 answers
  1. Sandeep
    Sandeep avatar
    10 posts
    Member since:
    Nov 2014

    Posted 01 Dec 2014 Link to this post

    Hi,

    I was trying to to add an image in a table cell but not able to do so by using following code.

    imageCell.Blocks.AddBlock().InsertImage(stream);

    I am missing something here.

    Regards,
    Sandeep
  2. Answer
    Tanya
    Admin
    Tanya avatar
    405 posts

    Posted 01 Dec 2014 Link to this post

    Hello Sandeep,

    The piece of code you sent to us should be working. Please verify that the stream path is correct and the problem is not in it.

    You can find attached a sample project demonstrating how this can be achieved. The sample creates a table, containing only one cell with image inside it.

    I hope this helps.
     
    Regards,
    Tanya
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top