This question is locked. New answers and comments are not allowed.
If RadSlider is using for CellEditTemplate of RadGridView it's causes an exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: dp
See the following code:
System.ArgumentNullException: Value cannot be null.
Parameter name: dp
See the following code:
<
Grid:RadGridView
AutoGenerateColumns
=
"False"
AlternateRowBackground
=
"LightGray"
CanUserDeleteRows
=
"False"
CanUserInsertRows
=
"False"
ShowGroupPanel
=
"False"
DataLoadMode
=
"Asynchronous"
RowEditEnded
=
"decisionGrid_RowEditEnded"
AlternationCount
=
"2"
ColumnWidth
=
"*"
>
<
Grid:RadGridView.Columns
>
<
Grid:GridViewDataColumn
IsReadOnly
=
"True"
Background
=
"Black"
Width
=
"80"
Header
=
"Well"
/>
<
Grid:GridViewDataColumn
IsReadOnly
=
"True"
IsGroupable
=
"False"
Header
=
"Current Choke"
/>
<
Grid:GridViewDataColumn
IsReadOnly
=
"True"
IsGroupable
=
"False"
Header
=
"Ideal Choke"
/>
<
Grid:GridViewDataColumn
IsReadOnly
=
"False"
IsGroupable
=
"False"
Header
=
"New Choke"
>
<
Grid:GridViewDataColumn.CellEditTemplate
>
<
DataTemplate
>
<
Controls:RadSlider
Maximum
=
"100"
Minimum
=
"0"
Value
=
"{Binding NewChoke, Mode=TwoWay,UpdateSourceTrigger=Explicit}"
/>
</
DataTemplate
>
</
Grid:GridViewDataColumn.CellEditTemplate
>
</
Grid:GridViewDataColumn
>
</
Grid:RadGridView.Columns
>
</
Grid:RadGridView
>