Telerik Forums
UI for WPF Forum
7 answers
901 views
Hello Telerik Team,

I want to expand / collapse all hierarchy levels of a RadTreeListView in C# code. 
I have multi level hierarchy items (generally 3-4 levels deep)

When I use
 
radTreeListView.ExpandAllHierarchyItems();
 
radTreeListView.CollapseAllHierarchyItems();

This only expands or collapses the first level hierarchy, the inner levels are left unchanged.

Any ideas on how to expand or collapse recursively all the way to the last level?

Thanks in Advance.
- Kumar
Vlad
Telerik team
 answered on 05 Mar 2012
4 answers
306 views
Hi,

I use the TileView to display content that can change dynamically. I would like the tiles to adjust to their new content whenever that happens.

Is this possible?

Regards,

Alex

Edit: I realized that the RowHeight property accepted the Auto value. Although my tiles now adjust their height to their content, for some reason a large blank space appears between my tiles (my column count is 1, thus I have 1 tile per row).
Alex
Top achievements
Rank 2
 answered on 05 Mar 2012
3 answers
274 views
Hi,

With the RadGridView, is it possible to move the positon of the "Click here to add new item" button, to the bottom? (the button that appears when you set

ShowInsertRow

 

 

="True"

Thanks

Chris

 

Calvin
Top achievements
Rank 2
 answered on 03 Mar 2012
2 answers
217 views
hi,
I have a question here. Bascially I have a tree list view, they reside in the same grid. This tree list view has three columns.
In my current code, I set each of them fixed width.
Now I want the first column occupies the largest width of the grid, and the other two have fixed size.

So I tried to set the first column size as "Auto", it's not working.
Then I tried to set the first colmn size as "3*", the other two are "*". Still not working.

Anyone knows the answer? Really appreciate it.

                    <Grid Grid.Row="1">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>

                        <!-- Telerik List -->
                        <telerik:RadTreeListView Grid.Column="0">
                            <telerik:RadTreeListView.ChildTableDefinitions>
                                <telerik:TreeListViewTableDefinition ItemsSource="{Binding Children}" />
                            </telerik:RadTreeListView.ChildTableDefinitions>
                            <telerik:RadTreeListView.Columns>
                                <telerik:GridViewDataColumn     Width="350">
                                    <telerik:GridViewDataColumn.CellTemplate>
                                        <DataTemplate>
            ...
                                        </DataTemplate>
                                    </telerik:GridViewDataColumn.CellTemplate>
                                </telerik:GridViewDataColumn>

                                <telerik:GridViewDataColumn      Width="160">
                                    <telerik:GridViewDataColumn.CellTemplate>
                                        <DataTemplate>
                  ...
                                        </DataTemplate>
                                    </telerik:GridViewDataColumn.CellTemplate>
                                </telerik:GridViewDataColumn>

                                <telerik:GridViewDataColumn      Width="160">
                                    <telerik:GridViewDataColumn.CellTemplate>
                                        <DataTemplate>
             ...
                                        </DataTemplate>
                                    </telerik:GridViewDataColumn.CellTemplate>
                                </telerik:GridViewDataColumn>
                            </telerik:RadTreeListView.Columns>
                        </telerik:RadTreeListView>
                    </Grid>

Thanks
Cynthia

Cynthia
Top achievements
Rank 1
 answered on 02 Mar 2012
20 answers
1.4K+ views
Hi Team,

    1). I want display Radgrid Header Column ToolTip. It is not displaying if  i give the value to ToolTip Property using xaml applications.

    2). I want to change the radgrid datacolumn border ro RedColor in error message( how Infopath forms will display when an error occurs) using xaml applications.

    Please help me.

   Thanks in Advance.

Regards,
Naveen Kumar.
Johnny
Top achievements
Rank 1
 answered on 02 Mar 2012
1 answer
80 views
I need to find a way to make the needle of a radial gauge pass over the numeric indicator, much as the needle of a car passes over the odometer.  Currently the needle is covered by the numeric indicator when it passes.  I am somewhat new to WPF and this may be something that is easy to do but I have not yet found out how to make this happen.  Any help would be greatly appreciated.

Thanks in advance,

James
James
Top achievements
Rank 1
 answered on 02 Mar 2012
1 answer
99 views
Hi

I have a sample solution, in which I've created a clean RadRibbonWindow that has a RadRibbonView, with a single Backstage item and a single RadRibbonTab. I've set the Backstage to be open on start.
When the window is maximised and the Backstage is open, I can not move my window by grabbing the Title bar with the mouse and dragging it around (it automatically maximises on the current screen). This only seems to be an issue in the latest Telerik control set (Version=2012.1.215.40).
If I revert to the previous versions of the Telerik dlls, ( Version=2011.3.1220.40) it works fine:

<Reference Include="Telerik.Windows.Controls, Version=2012.1.215.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.Navigation, Version=2012.1.215.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.RibbonView, Version=2012.1.215.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <!--<Reference Include="Telerik.Windows.Controls, Version=2011.3.1220.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.Navigation, Version=2011.3.1220.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.RibbonView, Version=2011.3.1220.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />-->

I have a clean sample solution to illustrate this issue. Please advise as to how I can upload this to an administrator.
Petar Mladenov
Telerik team
 answered on 02 Mar 2012
8 answers
422 views
Hi,

I have a TreeView in my WPF application. Items are allowed to be dragged within the same TreeView. However, while dragging the item, the TreeView does not automatically scroll vertically when mouse approaches top or bottom borders. 

I want a similar behavior like in Windows Explorer. When dragging a folder/file if the mouse approaches the border it performs automatic scroll. Otherwise it would be impossible to operate if you have large number of nodes in the tree.

Thank you,
Ruben.
Mike
Top achievements
Rank 1
 answered on 02 Mar 2012
3 answers
177 views
Sorry posted this twice!!
Hi,
I have a radtileview with a small number of tiles and I am attempting to loop through the tiles and maximse each one in turn form code behind. I get the  'Object reference not set to an instance of an object.' error when maximise is called. Can you put me right with this.
Regards,
Joe

The Code:

 

For I As Integer = 0 To Me.RadTileView1.Items.Count - 1

Dim item As RadTileViewItem = TryCast(Me.RadTileView1.Items(6), RadTileViewItem)

item.TileState =

 

TileViewItemState.Maximized

Thread.Sleep(5000)

Next


Tina Stancheva
Telerik team
 answered on 02 Mar 2012
1 answer
78 views
Hi:

I'm trying to create a calculated column or row to a radgridview. but the data is too much. how can i do it???
Vlad
Telerik team
 answered on 02 Mar 2012
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?