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

[Solved] Vertical bars appearing in GridViewDataColumn as of Q2 SP2

2 Answers 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike
Top achievements
Rank 1
Mike asked on 29 Sep 2010, 06:17 AM
I have just installed the Q2 Sp2 release and now some of my columns have "Vertical Bars" at the start and the end of the field (see screenshot). These did not appear before the update. There is nothing special about the markup for the column. The only thing I can think of is that the column is nchar(10) in the database and is space filled but I am flabergastered as to how the Grid would no this or even care.

The code for the Gridview is very simple.

<telerik:RadGridView Grid.Row="1"
                             Margin="0,0,0,5"
                             AutoGenerateColumns="False"
                             ItemsSource="{Binding ElementName=jobDomainDataSource, Path=Data}"
                             Name="jobDataGrid"
                             RowDetailsVisibilityMode="VisibleWhenSelected"
                             SelectionMode="Extended"
                             IsReadOnly="True"
                             IsBusy="{Binding ElementName=jobDomainDataSource, Path=IsBusy}"
                             AutoExpandGroups="True"
                             >
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn UniqueName="job_codeColumn" DataMemberBinding="{Binding Path=job_code}" Header="Job Code" Width="SizeToHeader" />
        <telerik:GridViewDataColumn UniqueName="descriptionColumn" DataMemberBinding="{Binding Path=description}" Header="Description" Width="2*" />
        <telerik:GridViewDataColumn UniqueName="division_no_Column" DataMemberBinding="{Binding Division.division_number}" Header="Div No" Width="SizeToHeader"/>
        <telerik:GridViewDataColumn UniqueName="division_Column" DataMemberBinding="{Binding Division.description}" Header="Division" Width="*"/>
        <telerik:GridViewDataColumn UniqueName="order_codeColumn" DataMemberBinding="{Binding Path=order_code}" Header="Order Code" Width="SizeToHeader" />
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

If someone could look at rectifying this it would be greatly appreciated.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Sep 2010, 07:48 AM
Hi,

 This looks like a part of the cell data symbol - definitely not part of the grid UI. Can you send us an example where this can be reproduced?

All the best,
Vlad
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
Mike
Top achievements
Rank 1
answered on 29 Sep 2010, 04:16 PM
Ahh, found it. For some reason the RIA Services Metadata object had the attribute:

            [DisplayFormat(DataFormatString="|{0,10}|")]

I have no idea why it was there in the first place, however it never had any bearing on previous releases. Odd...

Anyway, sorry to have wasted your time.

Tags
GridView
Asked by
Mike
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mike
Top achievements
Rank 1
Share this question
or