Bindings - Size of a picture box

7 posts, 0 answers
  1. Nick
    Nick avatar
    10 posts
    Member since:
    Jun 2017

    Posted 02 Oct Link to this post

    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,

     

  2. Nasko
    Admin
    Nasko avatar
    940 posts

    Posted 05 Oct Link to this post

    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
  3. Nick
    Nick avatar
    10 posts
    Member since:
    Jun 2017

    Posted 05 Oct in reply to Nasko Link to this post

    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

  4. Nasko
    Admin
    Nasko avatar
    940 posts

    Posted 09 Oct Link to this post

    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
  5. Nick
    Nick avatar
    10 posts
    Member since:
    Jun 2017

    Posted 10 Oct in reply to Nasko Link to this post

    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.

  6. Nasko
    Admin
    Nasko avatar
    940 posts

    Posted 4 days and 1 hour ago Link to this post

    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
  7. Nick
    Nick avatar
    10 posts
    Member since:
    Jun 2017

    Posted 3 days and 15 hours ago in reply to Nasko Link to this post

    Hi Nasko,

     

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

    Thanks,

    Nick

Back to Top