Telerik Forums
UI for WPF Forum
1 answer
120 views
hey guys,

I have an issue with binding ... You might be able to help me with.

Currently we have a RadComboBox :

<telerikControls:RadComboBox Name="uiActionerNamesComboBox" IsEditable="True"
IsReadOnly="False" Margin="0,0,3,0" ItemsSource="{Binding AllAgilityJobDocs}" SelectedValue="{Binding SelectedActioner, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnTargetUpdated=True}"
KeyUp="uiActionerNamesComboBox_KeyUp"  telerikControls:TextSearch.TextPath="Title" HorizontalAlignment="Stretch" EmptyText="{Binding ThisActioner.Position, Converter={StaticResource EmptyActionerTextConverter}}">

So, we have AllAgilityJobDocs which are a list of SimpleAgility Items... These items are populated and then we have the SelectedActioner Value which will be a value on this list...

However i think at the moment its not setting the combo box correctly upon loading our control, this DOES work correctly when saving etc. but its just the inital load that is causing issue...
Konstantina
Telerik team
 answered on 26 Apr 2011
7 answers
135 views
I have a mystery.
When I add a TextBox to TileViewItem i can not insert any characters from the keyboard.
I can only delete characters by Bksp key and insert characters by Ctrl-V.
What is wrong?
I am testing the trial version.

Thanks Josef.

Maya
Telerik team
 answered on 26 Apr 2011
6 answers
177 views
Hi,

I am exporting RadGridView data to excell.

I wanted to know, how to export data of aggregate function in excell sheet.

My XAML page is:

<telerik:GridViewDataColumn Header="Investment Category Name" DataMemberBinding="{Binding InvestmentCategoryName}" IsVisible="False"   />
                <telerik:GridViewDataColumn Header="Asset Class Name" DataMemberBinding="{Binding AssetClassName}"  IsVisible="False"  />
                <telerik:GridViewDataColumn Header="Sbu" DataMemberBinding="{Binding SbuName}" Width="125" TextWrapping="Wrap"/>
                <telerik:GridViewDataColumn Header="Total Value" DataMemberBinding="{Binding TotalValue, StringFormat={}{0:c}}" HeaderTextAlignment="Right" TextAlignment="Right" Width="90" TextWrapping="Wrap">
                    <telerik:GridViewDataColumn.AggregateFunctions>
                        <telerik:SumFunction Caption="Total :" ResultFormatString="{}{0:c}" />
                    </telerik:GridViewDataColumn.AggregateFunctions>
                </telerik:GridViewDataColumn>
                <telerik:GridViewDataColumn Header="Target Min" DataMemberBinding="{Binding TargetMin, StringFormat={}{0:n2}}"  HeaderTextAlignment="Right" TextAlignment="Right" Width="90" TextWrapping="Wrap"/>
                <telerik:GridViewDataColumn Header="Target Max" DataMemberBinding="{Binding TargetMax, StringFormat={}{0:n2}}"  HeaderTextAlignment="Right" TextAlignment="Right" Width="90" TextWrapping="Wrap"/>
                <telerik:GridViewDataColumn Header="Target Total" DataMemberBinding="{Binding TargetTotal, StringFormat={}{0:n2}}"  HeaderTextAlignment="Right" TextAlignment="Right" Width="90" TextWrapping="Wrap"/>
                <telerik:GridViewDataColumn Header="Total Actual" DataMemberBinding="{Binding TotalActual, StringFormat={}{0:n2}}"  HeaderTextAlignment="Right" TextAlignment="Right" Width="90" TextWrapping="Wrap"/>
                <telerik:GridViewDataColumn Header="Variance" DataMemberBinding="{Binding Variance, StringFormat={}{0:n2}}"  HeaderTextAlignment="Right" TextAlignment="Right" Width="90" TextWrapping="Wrap">


Please, let me know any quick solution to this.

Regards,
Hirak
hirak
Top achievements
Rank 1
 answered on 26 Apr 2011
1 answer
408 views
Hello,
I've googled a bit around but was not able to find an answer.... do WPF enabled GPU acceleration for normal UI Controls as GridViews? or just for multimedia usercontrols? Thanks

Paolo
Milan
Telerik team
 answered on 26 Apr 2011
1 answer
79 views
Hello,

my ItemsSouce is a Dictonary (Dictionary<DateTime, Dictionary<Enum, long>).

With this i want display data by a StackedBar100. My DateTime should be the XCategory and the nested Dictionary the stacked values. My ItemsSource is binded via MVVM.

How can i bind this?

Thanks in advance

Ralf
Vladimir Milev
Telerik team
 answered on 25 Apr 2011
10 answers
104 views
Hi all,

My client requirement is make filter behavior as in winForm( there is one row under column header. there is one textbox and filter button in each column row)  for some RadGridView in WPF app. Need still use wpf's RadGridview not host winForm's RadGridview.
 
If there is a property to set or I should custom RadGridView ? How do I implement it?  Thanks


Good luck
zacky
Vanya Pavlova
Telerik team
 answered on 25 Apr 2011
1 answer
58 views
I have a sparkline bound to an observable collection created from entity framework data

Y values used are a nullable double.

All works fine until a bound value is changed.

If value is say 12.5 and set to 14.7, works ok, spakline is updated
however
If value is changed from 12.5 to null and exception is thown - stack trace below

   at Telerik.Windows.Controls.Sparklines.DataPointsCollectionView.OnItemPropertyChanged(Object sender, PropertyChangedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\DataVisualization\Sparklines\Data\DataPointsCollectionView.cs:line 251
   at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
   at System.Data.Objects.DataClasses.StructuralObject.OnPropertyChanged(String property)
   at System.Data.Objects.DataClasses.EntityObject.ReportPropertyChanged(String property)
   at RatifTest2.Data.SampleData.set_NO(Nullable`1 value) in C:\DEV\AQ Modernisation\RatifTest2\RatifTest2\Data\RatModel.Designer.cs:line 220

If the sparkline is taken out of the equation and the data bound to say a RadGridView, setting value to null is handled correctly
Vladimir Milev
Telerik team
 answered on 25 Apr 2011
1 answer
110 views
How to add icon in dropdown menu?
Konstantina
Telerik team
 answered on 25 Apr 2011
4 answers
81 views
Hi,
From your WPF Demo \ "Data Virtualization\ First Look"  (2011 - Q1 ),
I think there is bug behavior with the VirtualQueryableCollectionView if i try to filter with more than one field it's give me wrong result,
or if I apply filter in one field then cancel it and apply filter again with other field it's give me the first result.

any help?

Best regards,



mod
Top achievements
Rank 1
 answered on 23 Apr 2011
6 answers
211 views
I have RadGrid into RadExpander and grid's scrollbars don't work. I see them, but they are not active.
Here is my code, please tell me where my mistake is?
<telerik:RadExpander ExpandDirection="Left"   IsExpanded="True" HorizontalAlignment="Stretch" Name="radExpanderMainPosition">
 <telerik:RadGridView   Name="radGridPoisition_MainTable"   HorizontalAlignment="Stretch" CanUserFreezeColumns="False"   CanUserReorderColumns="False" ShowGroupFooters="False" ShowColumnFooters="False" ShowInsertRow="False" 
ScrollViewer.HorizontalScrollBarVisibility="Visible" 
ScrollViewer.VerticalScrollBarVisibility="Visible"  ScrollViewer.CanContentScroll="True" ></telerik:RadGridView>
</telerik:RadExpander>
Alena
Top achievements
Rank 1
 answered on 23 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?