MetaTags once again

Stimulsoft Reports.NET discussion
Post Reply
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

MetaTags once again

Post by dikan »

Ok. I can save MetaTags into my reports. That is no problem. But how on earth I can change value for saved MetaTag or even delete MetaTag that already saved in report.
I found that if I try to save same MetaTag I have two MetaTags with same description in report file.

Example:


Owner,Djordje_x0020_Radovanovic
Owner,Djordje_x0020_Radovanovic_x0020_Bugica



Any clue?

Best regards,

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

MetaTags once again

Post by HighAley »

Hello.
dikan wrote:Ok. I can save MetaTags into my reports. That is no problem. But how on earth I can change value for saved MetaTag or even delete MetaTag that already saved in report.
I found that if I try to save same MetaTag I have two MetaTags with same description in report file.
Please, try to use next code:

Code: Select all

rep.MetaTags.Add(new StiMetaTag("Name1", "Value1"));         //add MetaTag
rep.MetaTags["Name1"] = new StiMetaTag("Name1", "Value2");   //change MetaTag
rep.MetaTags.Remove(rep.MetaTags["Name1"]);                  //remove MetaTag
Thank you.
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

MetaTags once again

Post by dikan »

Thanks. Unfortunately I did not find that in documentation.

Best regards,

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

MetaTags once again

Post by HighAley »

Hello.
dikan wrote:Thanks. Unfortunately I did not find that in documentation.
We update our documentation constantly. Sorry, that this information wasn't in our documentation.
As I understand now all works right?

Thank you.
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

MetaTags once again

Post by dikan »

Sure it works.

Your support is excellent.

Best regards,

Djordje
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

MetaTags once again

Post by Andrew »

Hello,

We are happy to help you.

Thank you.
Post Reply