This question is locked. New answers and comments are not allowed.
Hello ,
I am using MVVM to bind the nested telerik gridview. Parent gridview contains order number while the child grid contains the order articles.Child grid contains Description , Qty , Price per Qty. This price per qty can be changed at run time so i have put it CellEdit Template of the columns which looks like following.
<telerikGridView:GridViewDataColumn Header="Price per amount" MinWidth="100" DataMemberBinding="{Binding Price}"
TextAlignment="Center">
<telerikGridView:GridViewDataColumn.CellTemplate>
<DataTemplate>
<TextBox Name="txtPricePerAmount" Text="{Binding Price}"></TextBox>
</DataTemplate>
</telerikGridView:GridViewDataColumn.CellTemplate>
<telerikGridView:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<TextBox Name="txtPricePerAmount" Text="{Binding Price,Mode=TwoWay}"></TextBox>
</DataTemplate>
</telerikGridView:GridViewDataColumn.CellEditTemplate>
</telerikGridView:GridViewDataColumn>
Now i want to fourth column which multiply price per qty and Qty .I tried to find the solution with the help of IMultiValueConverter but i could not succeed.
Please help me to find the solution.Thanks in advance
I am using MVVM to bind the nested telerik gridview. Parent gridview contains order number while the child grid contains the order articles.Child grid contains Description , Qty , Price per Qty. This price per qty can be changed at run time so i have put it CellEdit Template of the columns which looks like following.
<telerikGridView:GridViewDataColumn Header="Price per amount" MinWidth="100" DataMemberBinding="{Binding Price}"
TextAlignment="Center">
<telerikGridView:GridViewDataColumn.CellTemplate>
<DataTemplate>
<TextBox Name="txtPricePerAmount" Text="{Binding Price}"></TextBox>
</DataTemplate>
</telerikGridView:GridViewDataColumn.CellTemplate>
<telerikGridView:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<TextBox Name="txtPricePerAmount" Text="{Binding Price,Mode=TwoWay}"></TextBox>
</DataTemplate>
</telerikGridView:GridViewDataColumn.CellEditTemplate>
</telerikGridView:GridViewDataColumn>
Now i want to fourth column which multiply price per qty and Qty .I tried to find the solution with the help of IMultiValueConverter but i could not succeed.
Please help me to find the solution.Thanks in advance