Hi,
I have a Silverlight RadGridView controller with multiple GridViewDataColumns. When the user inserts a new row, some of the values get populated with defaults. The thing is, I want to override the default values with a blank string or the value of 0 for numeric fields. What's the best way to set default values for some of those columns?
I have a Silverlight RadGridView controller with multiple GridViewDataColumns. When the user inserts a new row, some of the values get populated with defaults. The thing is, I want to override the default values with a blank string or the value of 0 for numeric fields. What's the best way to set default values for some of those columns?
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Length, Mode=TwoWay}"
DataFormatString
=
"{}{0:f2}"
Header
=
"Length"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Width, Mode=TwoWay}"
DataFormatString
=
"{}{0:f2}"
Header
=
"Width"
/>