Last post Apr 09, 2012 08:11 AM by Ashutosh Pathak
Apr 03, 2012 02:56 PM|MyronCope|LINK
using .net 2005 report project.
I have constant text in a textbox on a Sql Server report and I would to underline only one part of the text (not all of it). when I Select the 2 words that I want to underline and then click the underline icon it underlines all text in the textbox but I
only want to underline 2 words.
I only want to underline this
but when I do that in the textbox of the report it underlines all the text in the textbox
how to do this?
Apr 03, 2012 03:20 PM|mikeprince.az|LINK
take a span for requred text only :
I only want to <span style="text-decoration:underline">underline this</span>
Apr 03, 2012 04:29 PM|MyronCope|LINK
thanks for the feedback.
am i supposed to see that change when I preview the report?
when I run the report in preview mode I see the "<span.....</span" text, not the desired effect
Apr 03, 2012 11:53 PM|Ashutosh Pathak|LINK
just select the text how much you want to underline inside textbox, do not select Textbox completely. just press CTRL+U.
i think it will work
Apr 04, 2012 08:42 AM|MyronCope|LINK
I tried CTRL + U and that does not work.
Apr 04, 2012 08:53 AM|MyronCope|LINK
the best workaround that I can figure out is to put a Line underneath the text. the problem that I'm having after that however is when I put a line in the textbox all sections before the line do not appear when I run the report which is very confusing to
Apr 04, 2012 11:20 AM|MyronCope|LINK
you know what, let me take back what I said about putting a line object underneath, that will not really work in regards to display. I think that we are going to drop this idea.
I've read online about putting the underlined text in a separate textbox, so yes this means putting 2 or 3 textboxes where normally there was one, very ugly solutions but the only thing that I can think of for 2005.
Apr 04, 2012 12:14 PM|Ashutosh Pathak|LINK
can you please have a look at below link, i've created the same thing you want, you can make a portion in a textbox as BOLD Italic or underline, you need not to make it for complete textbox, have a look at report project below:
Apr 06, 2012 04:15 PM|MyronCope|LINK
thanks for the project, I will try to look at it next week at work when I have the time to do so.
Apr 06, 2012 04:16 PM|MyronCope|LINK
is this a 2005 report?
Apr 09, 2012 08:11 AM|Ashutosh Pathak|LINK
dear i have SSRS 2008, but if you have issues opening the solution, just create a project in SSRS 2005 and add the rdl file of my solution to your project to run.