Telerik Forums
UI for WPF Forum
1 answer
66 views
I just installed the "RadControls for WPF Q1 2010", and the application is crashing with the attached screen shot.

The problem happens with the following steps with consistency:

1. Enter the "click events" under GridView
2. Double click anywhere in the Grid
Yordanka
Telerik team
 answered on 12 May 2010
0 answers
87 views
Sorry double post. Please delete.
Greg Brondo
Top achievements
Rank 1
 asked on 12 May 2010
5 answers
229 views
I am evaluating your components and have tried the sample from "Tsvyatko's blog > Command Row for RadGridView with CRUD operations". I have used Devart.Data.Linq.Table<T> as ItemSource. The Insert command is enabled but does nothing, the edit is working and the delete command is disabled.
   Should the source for grid to be ObservableCollection or to implement INotifyCollectionChanged this commands to work correctly?
Emil
Top achievements
Rank 1
 answered on 11 May 2010
10 answers
406 views
Hi,
  I am using gridview control for WPF. I have setted the validation condition for a column 'Capacity' for editting. The validation condition is that if you enter the '0' value for the column 'Capacity', one message box should be visible. The message box contains option 'Yes' and 'No'. If user clicks option 'Yes', then replace the entered '0' with '0.001'. So, how to set the editted value of cell from '0' to '0.001' dynamically.? I have tried using  e.NewData = "0.001" in CellEditEnded method, but failed to do. Please help. It is urgent.
Nedyalko Nikolov
Telerik team
 answered on 11 May 2010
1 answer
151 views
I have what I believe should be a simple problem, my legend items are just showing up as item0 - item6. I need them to show up with the name of the object in my items from the database.

I'm using a dataset to link to SQL, my 2 fields in my dataset are "sales" and "productclass".
I'm not sure what I missed, I followed the examples from the legend section exactly I think.

thanks for any help you can provide.
steve

<UserControl x:Class="UserControl2" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="300" Height="300" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    <Grid> 
        <telerik:RadChart Name="RadChart1"  > 
             
        </telerik:RadChart> 
    </Grid> 
</UserControl> 
 

Imports Telerik.Windows.Controls.Charting 
Imports System.Data 
 
Partial Public Class UserControl2 
 
    Private Shared tacust As New DataSet1TableAdapters.pcSumTableAdapter 
    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 UserControl1_Initialized(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Initialized 
        RadChart1.DefaultSeriesDefinition = New PieSeriesDefinition() 
        RadChart1.DefaultView.ChartLegend.UseAutoGeneratedItems = True 
        RadChart1.DefaultView.ChartLegend.Header = "Top 10" 
        tacust.Fill(dscust.pcSum) 
        m_sales = dscust.Tables("pcSum"
        RadChart1.ItemsSource = m_sales 
    End Sub 
End Class 

Nikolay
Telerik team
 answered on 11 May 2010
5 answers
146 views
I working on an app where I would like to have a Window with a single TabControl and a single RadDocking control in each one of its TabItems.  This works as long as the docking control is the content of the TabItem control.  As soon as something comes in between the two (such as the Grid control in the sample code), the exception below is thrown.  Do you know if this scenario is possible?  I'm using 2010 Q1.
    
    <TabControl> 
        <TabItem Header="Foo"
            <Grid> 
                <td:RadDocking /> 
            </Grid> 
        </TabItem> 
        <TabItem Header="Bar"
            <Grid> 
                <td:RadDocking /> 
            </Grid> 
        </TabItem> 
    </TabControl> 

System.InvalidOperationException: Specified element is already the logical child of another element. Disconnect it first.
   at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
   at MS.Internal.FrameworkObject.ChangeLogicalParent(DependencyObject newParent)
   at System.Windows.FrameworkElement.AddLogicalChild(Object child)
   at System.Windows.Controls.ContentControl.OnContentChanged(Object oldContent, Object newContent)
   at System.Windows.Window.OnContentChanged(Object oldContent, Object newContent)
   at Telerik.Windows.Controls.Docking.FakePopupWindow.OnContentChanged(Object oldContent, Object newContent) 
........
Miroslav Nedyalkov
Telerik team
 answered on 11 May 2010
1 answer
97 views
I've noticed that when I add drag and drop to a grid the column sizing no loger works.

I have implemented the drag/drop events..

        private void OnDropQuery(object sender, DragDropQueryEventArgs e)
        {

            Type sourceType = e.Options.Source.GetType();
            if (sourceType == typeof(GridViewHeaderCell))
            {
                return;
            }
        .
        .
        .

and
        #region dragQuery
        protected virtual void OnDragQuery(object sender, DragDropQueryEventArgs e)
        {
            if (sourceType == typeof(GridViewHeaderCell))
            {
                e.QueryResult = true;
            }
        .
        .
        .

How should the drag and drop respond to the GridViewHeader?

Tsvyatko
Telerik team
 answered on 11 May 2010
4 answers
180 views
Hi,
I have typed the following text in Google-translator, so it goes faster, so please excuse any errors.
I have the following problem with the WPF RadWindows:
Whenever it opens, is thrown a System.ArgumentException. Whether it's own window, or create the controls of their choice.
The windows are always at the upper corner of the screen. If I want to move the window, thrown the exception.
Here is a screenshot of a window of RadShedule: http://img1.bildupload.com/4ed9dbb35ad45e65eb4bc6814fa455cf.jpg and as attachment.

I searched for this error (google and Telerik) and have found several entries. Unfortunately, none has been solved so far.
I've tried the following workarounds:
1. Catch the ecxeption in app_DispatcherUnhandledException does work, but the application also crashes after short time (when moving), so no solution
2. refer to this thread: http://www.telerik.com/community/forums/silverlight/gridview/radgridview-exception-onclose-of-radwindow.aspx: still no solution
3. i found this: http://www.telerik.com/community/forums/silverlight/window/exception-value-does-not-fall-within-the-expected-range-when-displaying-nested-rad-windows.aspx, but there is also no solution, only a reference at the HACKS class (but this is still private, perhaps in the internal user) you.

I'm desperate, I can indeed use for my own window, the standard Window class, but all of the windows, for example RadShedule are RadWindows.
The error also appears in your wpf example application. (detailed see screenshots):

http://img1.bildupload.com/1c6f66118fa997a217583dbfeb422b91.jpg
http://img1.bildupload.com/b5d4ab2f5cdc6b38f735a9cc0f21c441.jpg

But...,
in Silverlight the moving, resizing and closing and reopening of the window works with no problems: http://img1.bildupload.com/60332521dc5deec8783c99ae08dc5f84.jpg


I would like to thank you very much if you could deal with the problem, since all other contributions were offered no further assistance or solutions. I can send you all important project data, unless you can reproduce the problem.
Can it possibly be constellation problem with my system. If you suspect this, I send you also necessary system parameters (os: Vista Ultimate 64-bit video card: NVIDIA 9800 SLI (2 units) and so on)

Many many thanks in advance.
Gregor Daskaloff

Miroslav Nedyalkov
Telerik team
 answered on 11 May 2010
1 answer
136 views
Hi, I've been reading the demo for few hours and could'nt get how it works.

I want to do a simple thing. I Have a StackPanel with few buttons, and want to make the transition to another Panel, with a text block.

Could you help me? Posting code would be very helpful

Thanks!
Kaloyan
Telerik team
 answered on 11 May 2010
3 answers
167 views
I have chart as below :

<telerik:RadChart x:Name="radChart" ItemsSource="{Binding ChartData}" telerik:StyleManager.Theme="Office_Blue">
                            
                            <telerik:RadChart.SeriesMappings>
                                <telerik:SeriesMapping ChartAreaName="chartArea">
                                    <telerik:SeriesMapping.SeriesDefinition>
                                        <telerik:Bar3DSeriesDefinition/>
                                    </telerik:SeriesMapping.SeriesDefinition>

                                    <telerik:SeriesMapping.GroupingSettings>
                                        <telerik:GroupingSettings>
                                            <telerik:GroupingSettings.GroupDescriptors>
                                                <telerik:ChartGroupDescriptor Member="Server"/>
                                            </telerik:GroupingSettings.GroupDescriptors>
                                        </telerik:GroupingSettings>
                                    </telerik:SeriesMapping.GroupingSettings>
                                                                        
                                    <telerik:SeriesMapping.ItemMappings>
                                        <telerik:ItemMapping FieldName="Quantity" DataPointMember="YValue"/>
                                        <telerik:ItemMapping FieldName="OSName" DataPointMember="XCategory"/>
                                    </telerik:SeriesMapping.ItemMappings>
                                </telerik:SeriesMapping>
                            </telerik:RadChart.SeriesMappings>
                            
                            <telerik:RadChart.DefaultView>
                                <telerik:ChartDefaultView>
                                                                        
                                    <telerik:ChartDefaultView.ChartArea>
                                        
                                        <telerik:ChartArea Name="chartArea" LegendName="chartLegend" SmartLabelsEnabled="True">
                                        </telerik:ChartArea>
                                        
                                    </telerik:ChartDefaultView.ChartArea>
                                    
                                    <telerik:ChartDefaultView.ChartTitle>
                                        <telerik:ChartTitle Content="OSの分布" HorizontalAlignment="Center"/>
                                    </telerik:ChartDefaultView.ChartTitle>

                                    <telerik:ChartDefaultView.ChartLegend>
                                        <telerik:ChartLegend x:Name="chartLegend" Header="サーバ" UseAutoGeneratedItems="True" />
                                    </telerik:ChartDefaultView.ChartLegend>

                                </telerik:ChartDefaultView>
                            </telerik:RadChart.DefaultView>
                            
                        </telerik:RadChart>

And ChartData as structure below :
OSName                     Server              Quantity
Windows XP                Server 01            10
Windows XP                Server 02            15
Windows XP                Server 03            20
Windows Vista            Server 01            10
Windows Vista            Server 02            10
Windows Vista            Server 03            10
Windows 2000            Server 01            5
Windows 2000            Server 02            5
Windows 2000            Server 03            5
Windows 7                  Server 01            20
Windows 7                  Server 02            15
Windows 7                  Server 03            10

My Problem : 2D chart show category label on x-axis, but 3D chart not show
Pls refer attached image for more details

Pls help me.....
Dwight
Telerik team
 answered on 11 May 2010
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?