Telerik Forums
UI for WPF Forum
1 answer
73 views
I have a column of a datagrid called "product" that can include only two values: "new" or "old".

How can I implement a function that count only the rows where product is "new"?

Please help me!

Thanks
Stefan Dobrev
Telerik team
 answered on 08 Dec 2009
1 answer
102 views
Hello,

we are using a RadTreeView with Columns and we see a very strange behaviour. 
Some of the items of the tree view are initially expande by setting IsExpanded to true in their Constructor (we use a TreeViewModel). When a values of the properties binded to the treeView changes, it works fine for all items, except for the  ones that were initially expanded. No data update is performed. It seems as if the bindings were lost.
If we remove the IsExpanded in the constructor, the binding seems to be ok, but we need to expand some of the items initially.

What can we do?

Best regards,
Jerma
Kiril Stanoev
Telerik team
 answered on 08 Dec 2009
1 answer
81 views
Hi,

Our application has a Telerik Tree and Grid. We allow drag and drop between the Tree and Grid and within the tree. When we drag and drop into the tree and node over which it moves gets auto expanded. How can we prevent this?

We saw a solution for a similar problem on the ASP .NET forum.
http://www.telerik.com/community/forums/aspnet-ajax/treeview/prevent-auto-expand-of-nodes-during-drag-and-drop.aspx


Is there one for WPF?

Thanks,
-Sunandini
Kiril Stanoev
Telerik team
 answered on 08 Dec 2009
3 answers
125 views
The documentation shipped with the RadControls for WPF Q3 2009, shows an image depicting the Group Aggregates right aligned.

ms-help://telerik.windows.controls/telerik.windows.controls.gridview/gridview-grouping-aggregates.html

No where in the documentation can I find how this is accomplised.
Could this be clarified?  If this can be done, how?
Pavel Pavlov
Telerik team
 answered on 07 Dec 2009
2 answers
122 views
How do I hide the negative values line (the y-axis zero) introduced with the Q3.2009 version?

Thanks
Greg
Gregory Greg
Top achievements
Rank 1
 answered on 07 Dec 2009
1 answer
81 views
Hello,

I'm working on styling the RadGridView items to go with our color theme. I'm having trouble finding the right item to style the popup for the filter. I'm looking to change the popup corner radius, background, foreground and scroll bars. I tried using the FilterControl template. it worked but the combobox's and DistinctValuesList aren't populated with anything. Not sure what I'm doing wrong.

Thanks much
~Boots
Kalin Milanov
Telerik team
 answered on 07 Dec 2009
1 answer
223 views
Hello,
I am using Telerik RadControlls for WPF Q3 2009.

I have RadNumericUpDown defined in xaml as follows:

<Telerik:RadNumericUpDown Height="25" Width="100" CustomUnit="kg" Minimum="0" Maximum="250" ValueFormat="Numeric" NullValue="N/A" IsInteger="True"  Value="{Binding Path=Weight, Mode=TwoWay}"/>

I am binding the value to property on my ViewModel class. The property is of ?float type. It returns float or null. When it returns float number, the NumericUpDown works fine. But when the property returns null, the NumericUpDown displays "0 kg" instead of "N/A". It is impornant for my application to distinguish between 0 and null, but the NumericUpDown seems to fail at this.

Is this bug or am I missing something?

Thanks
Lukas
Konstantina
Telerik team
 answered on 07 Dec 2009
19 answers
1.3K+ views
Hi @ All

I'm wondering if it is possible to set the rowstyle in a RadGridView according the containing data item. I was trying something like this:

<UserControl.Resources> 
    <Style TargetType="{x:Type telerik:GridViewRow}"
        <Setter Property="Background" Value="#00FF00"/> 
        <Style.Triggers> 
            <DataTrigger Binding="{Binding RelativeSource={RelativeSource DataContext},  
                Path=HighlightRow}" Value="True"
                <DataTrigger.Setters> 
                    <Setter Property="Foreground" Value="#FF0000"/> 
                    <Setter Property="FontSize" Value="14"/>  
                </DataTrigger.Setters> 
            </DataTrigger> 
        </Style.Triggers> 
    </Style> 
</UserControl.Resources> 

but that does actually not succeed! I already found out, that the DataSource property of the GridViewRow does not contain the single row data, but the whole DataGrid data.
so, what would be the best was to do that?

Regards
Simon
Rossen Hristov
Telerik team
 answered on 07 Dec 2009
3 answers
115 views
In a radGridView I have few readonly fields and some editable fields when we select grid and press tab ,it pu focus on readonly columns also.But I want to disable this behaviour that not to put focus on readonly tabs instead focus on editable tabs.
Rossen Hristov
Telerik team
 answered on 07 Dec 2009
3 answers
137 views
Hi,

I have a RadNumericUpDown control on which I set the Width to 70, but then the text disappears. If the Width is 80, the text is visible properly.
Pana
Telerik team
 answered on 07 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?