Tuesday, March 20, 2012
Removing text box in exported RTF
but the words are gettings scrambled and misaligned so I use Rtf which is fine but I noticed every word is enclosed in a text box, it makes it hard to edit the words. How can I remove those boxes? ThanksThat is only pointing the field area
Why do you want to edit the exported data?
Monday, March 12, 2012
Removing Rich Text formatting from a field
I had a similiar problem and found this link helpful:
http://www.4guysfromrolla.com/webtech/042501-1.shtml
I just took the function provided in the above link and placed it in the Code section of my report. It may need some tweaking depending on your specific needs but hopefully it will help.
|||place this code in your Code section:
function StripRTF(ByVal rtf as String) as String
rtb.Rtf = rtf
return rtb.Text
end function
Add a reference to the System.Windows.Forms namespace and create a class instance of System.Windows.Forms.RichTextBox with an instance name of rtb
|||Hi,
Code Snippet
function StripRTF(ByVal rtf as String) as Stringrtb.Rtf = rtf
return rtb.Text
end function
I've similar problem and the above function works in Report Designer. However, when it is deployed in ReportServer, it didn't work at all.
Is there something we need to do in the Report Server?
For your info, both Report Designer and Report Server sits in different machine.
Please help.
Regards
Kamal
|||I am having the same issue. The code works fine in report designer, but out on the report server I get "#Error" in place of what is supposed to be the parsed text.Ideas?
Thanks in advance
Removing Rich Text formatting from a field
I had a similiar problem and found this link helpful:
http://www.4guysfromrolla.com/webtech/042501-1.shtml
I just took the function provided in the above link and placed it in the Code section of my report. It may need some tweaking depending on your specific needs but hopefully it will help.
|||place this code in your Code section:
function StripRTF(ByVal rtf as String) as String
rtb.Rtf = rtf
return rtb.Text
end function
Add a reference to the System.Windows.Forms namespace and create a class instance of System.Windows.Forms.RichTextBox with an instance name of rtb
|||
Hi,
Code Snippet
function StripRTF(ByVal rtf as String) as Stringrtb.Rtf = rtf
return rtb.Text
end function
I've similar problem and the above function works in Report Designer. However, when it is deployed in ReportServer, it didn't work at all.
Is there something we need to do in the Report Server?
For your info, both Report Designer and Report Server sits in different machine.
Please help.
Regards
Kamal