Telerik Forums
UI for WPF Forum
1 answer
98 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
93 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
491 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
89 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
148 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
144 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
2 answers
71 views
When databinding, the items appear in reverse order.  Is there a reason why they do this?
David Ribb
Top achievements
Rank 1
 answered on 20 Apr 2010
15 answers
1.8K+ views
I have a silverlight page that have a radgridview, it loads list of employee records.
when a user clicks on the (+) sign before each row, another section is opened (just like in the examples). The section that opens below the row has textboxes. 

1. I would like to know if there is a way to define an event when the row is selected?
 i would need this as i will fill values to textboxes only when a user selects a record. 

2. is it possible not to display the (+) and/or (-) sign before each row and instead the event is triggered when a user click the row?

i am currently using the Q1 release.

Any help will be appreciated. 
Ben
Top achievements
Rank 1
 answered on 20 Apr 2010
2 answers
148 views
I'm experiencing some performance issues when setting the AllowDrag and AllowDrop with the RadGridView.

            <UserControl.Resources>
                <converters:LineBackgroundConverter x:Key="lineBackground"/>
                <Style TargetType="telerik:GridViewRow">
                    <Setter Property="Background" Value="{Binding LineNumber, Converter={StaticResource lineBackground}}" />
                    <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrag" Value="True" />
                    <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrop" Value="True" />
                </Style>
            </UserControl.Resources>

Rick Knicely
Top achievements
Rank 1
 answered on 20 Apr 2010
3 answers
232 views
Hello

I would like to expand rows on double click and show rowdetails. I hooked the MouseDoubleClick of the rows in RowLoaded event. Now when the event occurs, I set the "IsExpanded" property of the row which expands an empty row details, only clicking on the row expander column will really expand it.

Is there some kind of "Load" I first have to execute? I didn't find anything in the documentation...

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