Hello,
In my code I set the SelectionDisplayLabel property of a Summary operand to a custom string, but the dropdown list with operands, displays the default label for this kind of operand.
This is the code that i am using.
Dim sop As New SumSummaryOperandsop.FormatString = "{0:#,##0.00}"sop.SelectionDisplayLabel = "My Label"sop.RowDisplayLabel = sop.SelectionDisplayLabelXamWebGrid1.Columns("Total").SummaryColumnSettings.SummaryOperands.Add(sop)
Any Help would be appreciated!
Thanks
Stavros
Any suggestion Please ?
Hi Stavros,
I tried to reproduce your issue but without success. I copied your code and it's working fine for me. Could you attach a sample application that reproduces the issue ?
Regards,
I did not mentioned that the custom label is in Greek - "Αθροισμα".
I Work in Silverlight 4 and .Net Framework 4.0.
Hi Georgi,
I found what was going wrong.
This is my Xaml.
<Grid x:Name="LayoutRoot" Background="White"><ig:XamWebGrid Name="XamWebGrid1" AutoGenerateColumns="False"><ig:XamWebGrid.Columns><ig:TextColumn Key="ItemId" /><ig:TextColumn Key="Title" /><ig:TextColumn Key="Total" /></ig:XamWebGrid.Columns></ig:XamWebGrid></Grid>
In my code behind, I was applying the SummaryOpend to the column, before I set the ItemsSource Property of the Grid.
Obviously when I was setting the ItemsSource Property, the summaryOperand was overridden by the default operand.
The problem solved.
Thanks for your Help
Stavros Valsamis