This is a migrated thread and some comments may be shown as answers.

Problem About space Missing

4 Answers 120 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 27 Apr 2010, 10:52 AM
Hi
我先用中文講一次我的問題好了,雖然我不知道是否有人能夠回答就是了
我的情形是:我將Telerik 所建立的報表建為一個dll供外部程式使用
他能正常接收資料,不論給他的是Text、DataTable,
但是,有一個小問題存在
如果我的datatable中只有一個Column CmtText,裡面有兩筆資料如下
| CmtText
1 | 123456 |
2 |     123456 |
第一筆不包含空白,但第二筆的開頭包含了幾個空白字串("    123456")
但是我將這個data table傳入Telerik Report 的某張報表中顯示時
過程中程式卻將我的空白字串給篩掉了,如果我有辦法保留他嗎?

my problem is
i construct a telerik report with one report1.vb to a dll,it is make for extend program to open report
it can work, no meter i give it datatable or pure text.
But! there has a little problem
if my table with one column
and this column like this:
| CmtText
1 | 123456 |
2 |     123456 |

when the report opened,my second record's space are missing!!
Can u Tell me Why?
Or don't understand what i talk about? - -"

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 28 Apr 2010, 04:30 PM
Hello dgnzj chou,

Unfortunately the provided information is insufficient for us to determine what is the problem you have reported. We would appreciate if you elaborate on your scenario and/or provide us with screenshots or sample report that shows the problem.

Regards,
Steve
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
John
Top achievements
Rank 1
answered on 29 Apr 2010, 12:56 PM
Hi~
The problem is solve.
it is because i read a string '  Reading Text Sample' from SQLServer.
And send it to a HtmlTextBox in Telerik Report
But When i View this Report
my text become to 'Reading Text Sample'
it just like i send Trim("  Reading Text Sample")....and the space is been replace.
Anyway....
i use &nsbp; to solve my problem..


0
Anders
Top achievements
Rank 1
answered on 29 Dec 2010, 10:51 AM
Hi John:

how do you setting the culture for reporting then show Chineses Taiwan correct?
I got a problem that show the text with messy .

0
John
Top achievements
Rank 1
answered on 29 Dec 2010, 03:30 PM
Hi Anders

hmm... in fact, one point you have to care about that is use " right font type" .
like Arial Unicode MS, KAIU.TTF(???) will work correctly.

If you keep default font type. Chinese will be MINGLIU.TTC(????) and english or number will be Arial at report.
And if you use MINGLIU font type in your report, although it can preview at ReportViewer, but it will error when you try to export pdf.

if you need more information and you can read chinese, you can email me. :)


Regards

John
Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
Steve
Telerik team
John
Top achievements
Rank 1
Anders
Top achievements
Rank 1
Share this question
or