Rich Text from variable URL ?

Stimulsoft Reports.NET discussion
Post Reply
Claude
Posts: 3
Joined: Tue Oct 04, 2016 7:22 am

Rich Text from variable URL ?

Post by Claude »

Hi.

Is it a way to have a variable URL for a Rich Text control ?
Variable URL which could be evaluated on 'report load' by example.
Or with a report variable / database variable ?
A field in a table with a full filename path to a RTF file.

Thanks.

Claude
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Rich Text from variable URL ?

Post by HighAley »

Hello, Claude.

You could use the URL tab in the Rich Text editor to set the path to the Rich Text.

Thank you.
Claude
Posts: 3
Joined: Tue Oct 04, 2016 7:22 am

Re: Rich Text from variable URL ?

Post by Claude »

Yes, of course.
But the URL is fixed for the report.

If possible I'd like to compose a new path (via code or via a variable) and set the URL of the Rich Text with this new path.

Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Rich Text from variable URL ?

Post by HighAley »

Hello.

You could use the variables and any other code in the URL for the Rich Text.
Just put it in the curly brackets {...}.

Thank you.
Claude
Posts: 3
Joined: Tue Oct 04, 2016 7:22 am

Re: Rich Text from variable URL ?

Post by Claude »

Hello.

So simple !! :)
I did'nt think it could works because this doen't works with subreports.

But for RTF it works perfect.

Thank you for your help.

Claude
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Rich Text from variable URL ?

Post by Alex K. »

Hello

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply