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

Bindings - Size of a picture box

6 Answers 303 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 02 Oct 2017, 11:20 PM

Hi.

May I ask somebody to let me know how should be entered a size of a picture box in bindings? Where I can find your manual with real examples? Your online manual is just idea how it should work.

Size = "2.5in", "1in"  

Or 

'2.5in', '1in'

Or 

2.5in, 1in

none of the above are working. 

Thank you,

 

6 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 05 Oct 2017, 10:33 AM
Hello Nick,

Binding to the Size property requires you to create a new Size object. This is possible via a user function in expression, but needlessly complex.

There is an easier way of binding directly to the Width and Height properties of the Size object:

Bindings:

Width = '1in'
Height = '2.5in'


Regards,
Nasko
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Nick
Top achievements
Rank 1
answered on 05 Oct 2017, 05:39 PM

Hi Nasko,

Thank you. I will try. May I ask you on my second question - Where I can find your manual with real examples? Your online manual is just idea how it should work.

Thank you,

Nick

0
Nasko
Telerik team
answered on 09 Oct 2017, 10:44 AM
Hello Nick,

Our online demos aside, we provide online help and also local examples which are installed by the Telerik Reporting installation wizard if configured. You can find these examples in the Telerik Reporting folder on your machine (default is C:\Program Files (x86)\Progress\Telerik Reporting <version>\Examples).

Regards,
Nasko
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Nick
Top achievements
Rank 1
answered on 10 Oct 2017, 09:37 PM

Hi Nasko,

Tested your solution - There is an easier way of binding directly to the Width and Height properties of the Size object:
 Bindings:
Width = '1in'
Height = '2.5in'

As soon as inserting a picture box into a text box, immediately, Telerik converts the text box to the picture box, occupies the whole text box, and see my old text box as a picture box. I set With and Height of the picture box (under Bindings), however; I thought that it will not work and it, actually, does not work.

Is there a way to locate/place a picture box inside of a text box where I would like?

Thank you.

0
Nasko
Telerik team
answered on 13 Oct 2017, 10:49 AM
Hello Nick,

It is not possible to nest a report item inside a TextBox, because the TextBox is not a container item. Nesting report items is done using Panel containers.

Regards,
Nasko
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Nick
Top achievements
Rank 1
answered on 13 Oct 2017, 08:09 PM

Hi Nasko,

 

Thank you. Yes, a panel is working just fine.

Thanks,

Nick

Tags
Report Designer (standalone)
Asked by
Nick
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Nick
Top achievements
Rank 1
Share this question
or