Telerik Forums
UI for WPF Forum
9 answers
627 views
HI,

I'm having some troubles with WPF RadGridView (v. 2009.1.312.35). I have a group description and sorting defined on one column.

Sometimes when the underlying collection (ObservableCollection) is being changed, the grid view does not refresh. I need to click on the header of the column to make it refresh and display source elements correctly. 

Is there a way to fix this problem?

Thanks,
Ruben.
Thomas
Telerik team
 answered on 22 Apr 2010
2 answers
120 views
Hi,

I wanted to do customize the autohide windows. 

1. Remove the tab/icon which is used to expand the the auto hide window? I don't want to show the tab. Instead the windows would be expanded in response to a Button click or some other event. In my user interface, the icon is taking some space, which I don't want to part with. Also the icon doesn't look nice. 
2. Also I want to prevent the users from docking this window, so I want to remove the 'docking' icon.

Pardon me if I didn't use the terminology correctly. To help explain what I am trying to do, please refer to the attached image, I want to get rid of the things marked in Red box.

Konstantina
Telerik team
 answered on 22 Apr 2010
1 answer
111 views
Hi,

I have TabControl called mainTabs with a TabItem called CurrentTasks. In the CurrentTasks TabItem I show a GridView (say RadGridView1)  with a list of tasks which works fine. This GridView is populated in code behind with an ObservableCollection.

As per the logic, each task in the RadGridView1 has some dependent tasks called Predecessors Tasks(tasks that were completed before the selected task was assigned) and Successor Tasks(tasks assigned to other users which are depending on the current task to be completed by the current user).

Now, I want to make the rows of this RadGridView1 expandable so that I can show the details of selected Task in two tabs as Predecessor Tab and Successor Tab. Each of these tabs would have a GridView(say InnerRadGridView1 and InnerRadGridView2) showing a list of tasks respectively.

I am trying to assign the ItemsSource Property for  InnerRadGridView1 programatically to an ObservableCollection in the code behind. The problem is that it does not show any intellisence for me to access the InnerRadGridView1 (for eg. I want to assign it as   InnerRadGridView1 .ItemsSource = Tasks;  where Tasks is my ObservableCollection). 

Please provide me a solution to this issue. Im really stuck.

I am also attaching a screenshot of what exactly the navigation flow of my application is.

Cheers,
Syed Nadeem.
Vlad
Telerik team
 answered on 22 Apr 2010
3 answers
180 views
I can't seem to figure out how to overlap series bars (vertical or horizontal). For example, I have two sets of data and series two is always a subset of series one.

User    Total  Sub
------- ----- -----
Bob        37    20
Jane      120    55
Jim        49    23
George      7     7
Sue       145   107

I can get bars side-by-side, but I'd like to float the lower value (it's ALWAYS lower) over the higher values to show comparison/progress. Ideas?
Art Kedzierski
Top achievements
Rank 2
 answered on 21 Apr 2010
1 answer
97 views
I'm having an issue when I try to undock the grids container from the rad dock, if I add a group to the grid by dragging a column header first its fine and then it will break if I work in another panel then go back to the one with the grid and try to undock.

It appears to be losing reference to the records or something, I get these errors

There is no source code available for the current location then I have this error description
This row has been removed from a table and does not have any data.  BeginEdit() will allow creation of new data in this row.

I'm guessing I need to change the way I binding up my data, but I'm unsure what I should change. It all works fine as long as I dont try to undock the grids pane.

thanks for any help you can provide.

steve

<Window x:Class="Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Title="Window1" Height="300" Width="300"  
        xmlns:radDock="http://schemas.telerik.com/2008/xaml/presentation" 
        xmlns:Local ="clr-namespace:controls" 
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    <Grid> 
        <radDock:RadDocking x:Name="radDocking1"  HasDocumentHost="False"
             
                      
                <radDock:RadSplitContainer radDock:DockingPanel.InitialSize="150,150" MaxWidth="600"  
                    Name="LeftContainer" InitialPosition="DockedLeft"   > 
                     
                <radDock:RadPaneGroup x:Name="Group1"
                   
                    <radDock:RadPane x:Name="Pane2" Header="Sales Grid"
                        
                        <telerik:RadGridView  Name="RadGridView1"  ItemsSource="{Binding Sales}"
                           
                        </telerik:RadGridView> 
 
                    </radDock:RadPane> 
                </radDock:RadPaneGroup> 
            </radDock:RadSplitContainer> 
 
            <radDock:RadSplitContainer radDock:DockingPanel.InitialSize="200,200" MaxWidth="679" 
                    x:Name="RightContainer" InitialPosition="DockedRight" > 
                <radDock:RadPaneGroup x:Name="Group2"
                    
                    <radDock:RadPane x:Name="Pane4" Header="Properties"
                        
                    </radDock:RadPane> 
                </radDock:RadPaneGroup> 
            </radDock:RadSplitContainer> 
 
           
        </radDock:RadDocking> 
 
    </Grid> 
</Window> 
 
Imports System.Data 
 
Class Window1 
 
    Private Shared tacust As New DataSet1TableAdapters.SalesSummaryTableAdapter 
    Private Shared dscust As New DataSet1 
    Private Shared m_sales As DataTable 
    Public Shared ReadOnly Property Sales() As DataTable 
        Get 
            Return m_sales 
        End Get 
    End Property 
 
    Private Sub RadGridView1_Loaded(ByVal sender As ObjectByVal e As System.Windows.RoutedEventArgs) Handles RadGridView1.Loaded 
        tacust.Fill(dscust.SalesSummary) 
        m_sales = dscust.Tables("SalesSummary"
 
        RadGridView1.ItemsSource = m_sales 
    End Sub 
End Class 
 
 
 

steve white
Top achievements
Rank 1
 answered on 21 Apr 2010
1 answer
90 views
We have a testmethod.
We create a new RadViewGrid and add a customer:

        [TestMethod]
        public void OnEditExecuted_OpenDialogOK()
        {
            ViewMock.SetupProperty(v => v.Grid, new RadGridView());

            ViewMock.Object.Grid.Items.Add(_customer[0]);
            ViewMock.Object.Grid.SelectedItem = ViewMock.Object.Grid.Items[0];

At this moment, the SelectedItem is a customer. So, that's OK.
But..., the SelectedItemS.Count = 0 !

How is this possible?
Milan
Telerik team
 answered on 21 Apr 2010
3 answers
478 views
Hello!
Can you tell me if there is the possibility to add another buttons with custom functionality in the ScrollViewer of a RadCarousel?


Thank you!
Milan
Telerik team
 answered on 21 Apr 2010
3 answers
83 views
Hi again. I come from Visual Basic 6 and i want to start with WPF and Telerik controls to simplify my life :D

I want to do an app for home automation

http://www.youtube.com/watch?v=GTkPMvzvC1c

About this sample video , my questions is:
Can i do  a similar app with WPF and telerik carousel and controls? with these carousel animation and effects?
Can this app run smooth in older machines? (I mean a dedicated computer with Windows XP  , 800Mhz and 512 MB ram?)

thanks

Chili Girl :D





Milan
Telerik team
 answered on 21 Apr 2010
9 answers
141 views
Hi...

Just wondering if there are plans to create a Spell Check control for WPF?  I know that WPF has some native spell checking available, but it is lacking in some features...most notably, the ability to manage the dictionary.

So, please let me know if you have plans and, if so, when we might expect to see such a control.

Thanks,
..Douglas
Zbigniew Kozłowski
Top achievements
Rank 1
 answered on 21 Apr 2010
2 answers
140 views
Is there a way to template the selected item so it stands out?  It'd like to have all non-selected items with a lower opacity and the selected item to be fully visible with a white border around it.  Do you have some some code on templating only the selected item?

David Ribb
David Ribb
Top achievements
Rank 1
 answered on 20 Apr 2010
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?