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

Dynamic Images to a table Row

2 Answers 414 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sandhiya
Top achievements
Rank 1
Sandhiya asked on 02 Nov 2011, 04:41 PM
Hello,
We are having a bit of a trouble in adding Dynamic images to each Row of the table or Grid in Telerik Reporting. Can you please share with us any examples? Also we would like to hide or show the image based on the conditional formatting? Any help would be much appreciated.

Thanks
Sandhiya

2 Answers, 1 is accepted

Sort by
0
Charlie
Top achievements
Rank 2
answered on 27 Jun 2012, 06:15 PM
I am in the middle of implementing a similar feature myself.  Did you successfully determine a solution?
c
0
Chris Gillies
Top achievements
Rank 1
answered on 02 Jul 2012, 02:03 PM
Depending on what you call dynamic you can:
  • bind a picturebox to a database field
  • set the image in ItemDataBinding
  • create user function returning the image and use it as expression in binding for the value property of the picturebox

http://demos.telerik.com/reporting/list-bound-report/demo.aspx - nice example of binding list of images to a picturebox. The shape items that show the colors available are conditionally hidden.

Cheers

Tags
General Discussions
Asked by
Sandhiya
Top achievements
Rank 1
Answers by
Charlie
Top achievements
Rank 2
Chris Gillies
Top achievements
Rank 1
Share this question
or