I'm having an issue getting a RadProgressBar to databind in a DataTemplate of a GridViewData Column. Here is my code:
<
telerik:RadGridView
Name
=
"radGridView1"
Canvas.Left
=
"48"
Canvas.Top
=
"48"
telerik:StyleManager.Theme
=
"Transparent"
ShowGroupPanel
=
"False"
AutoGenerateColumns
=
"False"
ItemsSource
=
"{Binding}"
IsFilteringAllowed
=
"False"
CanUserSelect
=
"False"
RowIndicatorVisibility
=
"Collapsed"
RowStyle
=
"{DynamicResource GridViewRowStyle1}"
HeaderRowStyle
=
"{DynamicResource GridViewHeaderRowStyle1}"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Width
=
"300"
DataMemberBinding
=
"{Binding Path=TSE, Converter={StaticResource TSEconverter}}"
Header
=
"TSE"
CellStyle
=
"{StaticResource GridViewCellStyle1}"
HeaderCellStyle
=
"{StaticResource GridViewHeaderCellStyle1}"
/>
<
telerik:GridViewDataColumn
Width
=
"100"
DataMemberBinding
=
"{Binding Path=My_Count}"
Header
=
"Count"
CellStyle
=
"{StaticResource GridViewCellStyle1}"
HeaderCellStyle
=
"{StaticResource GridViewHeaderCellStyle1}"
TextAlignment
=
"Center"
HeaderTextAlignment
=
"Center"
/>
<
telerik:GridViewDataColumn
Width
=
"150"
DataMemberBinding
=
"{Binding Path=My_Percent_Double, Mode=OneWay}"
Header
=
"Status"
CellStyle
=
"{StaticResource GridViewCellStyle1}"
HeaderCellStyle
=
"{StaticResource GridViewHeaderCellStyle1}"
TextAlignment
=
"Center"
HeaderTextAlignment
=
"Center"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
telerik:RadProgressBar
Name
=
"PercentBar"
Orientation
=
"Horizontal"
Margin
=
"0"
Height
=
"24"
Style
=
"{StaticResource statusBar}"
Value
=
"{Binding Path=My_Percent_Double, Mode=OneWay}"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
Width
=
"100"
DataMemberBinding
=
"{Binding Path=My_Status}"
Header
=
"2pd"
CellStyle
=
"{StaticResource GridViewCellStyle1}"
HeaderCellStyle
=
"{StaticResource GridViewHeaderCellStyle1}"
TextAlignment
=
"Center"
HeaderTextAlignment
=
"Center"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
I can see the progress bar on project run, but no values are present (zero bars). What am I doing wrong?