Help formating the text in a LinkButton
Posted on 2008-09-29
In Code Behind, I must concatenate two different texts in a linkButton that resides in a GridView (<ItemTemplate>)
The trick is that the I need a newspaper-column effect. For example
First column can have up to 6 chars
Second column is a number that can have up to 5 digits
My problem is that 2, 3, 4 or 5 spaces are represented as only ONE space in the GridView in runtime. Thus, the results display as
I wanted to display these values in two different columns and let the browser align these column automaticaly, but per my architect demands, we need to concatenate them as one column.
Thanks for your help.