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

Problems with setting the width on a gridviewcolumn on a specific computer

2 Answers 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Helge
Top achievements
Rank 1
Helge asked on 10 Feb 2015, 12:05 PM
We have a problem with our software on one of our customers computers. When we use the following code:
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Width="0.9*" HeaderCellStyle="{StaticResource GridViewHeaderCellStyle}" DataMemberBinding="{Binding Name}" Header="{Binding Path=AppString.Name, Source={StaticResource ResourceWrapper}}" />
</telerik:RadGridView.Columns>
We get the following error message in the error handler:

[Parser_CreateFromValue_CannotConvertInitializationText]
Argumenter: 0.9*;Telerik.Windows.Controls.GridViewLength

Anyone knows why this is happening, and only on certain computers (discovered on PC so far)?

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 12 Feb 2015, 11:37 AM
Hello Helge,

Would it be possible to provide us with more detailed information about which version of Silverlight your client is using and which version of our binaries have you referenced in your project? Is it the latest version (2014 Q3)?

Best Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Helge
Top achievements
Rank 1
answered on 12 Feb 2015, 11:52 AM
I have just solved this 10 minutes ago. This problem occured when the culture setting on the computer didn't match the format settings (that was overrided by the user). In this case the cutlure was set to English (US) while all formatting was changed to Norwegian style. One important difference between English and Norwegian cultures is the numeric format. 1,234.56 (en-US) is 1 234,56 in (nb-NO). We set the current culture in our application based on which user is logged in, so we have to research this problem some more to avoid this error in the future. But, for now the case is solved.
Tags
GridView
Asked by
Helge
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Helge
Top achievements
Rank 1
Share this question
or