Posted 20 March 2024, 8:26 am EST
Hello, i have the same problem, but i’am migrating from AR8 to AR18. In AR8, works fine richTextBox1.ReplaceField(“name”, “John Doe”) but with AR18 does not.
I have to replace the code with <<richTextBox1.RTF = richTextBox1.RTF.Replace(“[!name]”, “John Doe”)>>
Hope you can help, because the project is with many many RTF fields.
//
// richTextBox1
//
this.richTextBox1.AutoReplaceFields = true;
this.richTextBox1.Font = new GrapeCity.ActiveReports.Document.Drawing.Font("Arial", 10F);
this.richTextBox1.Height = 1.371F;
this.richTextBox1.Left = 0.086F;
this.richTextBox1.Name = "rtfParrafo1";
this.richTextBox1.RTF = resources.GetString("richTextBox1.RTF");
this.richTextBox1.Top = 6.468F;
this.richTextBox1.Width = 7.480556F;
Thank you in advance