Telerik Forums
UI for WPF Forum
1 answer
120 views
Hi, I have a question about this new control.

I have tried out the demo and I was wondering is it possible to edit the cells ? (I can not do that in the demo).

But the beta looks good and I am looking forward to seeing the final product.

Best regards
Kristján.
Veselin Vasilev
Telerik team
 answered on 30 Jun 2010
10 answers
293 views
I am running VS2010 RC 1 with the 2010.1 version of RadControls. I have installed the WPF, SIlverlight and ASP.net AJax controls. I now have the Telerik Menu option in VS and create a Telerik WPF project. There is no Telerik controls Toolbox? Also, when I right click on any of the Telerik control references, they all show a runtime version of 2.0.50727? Where are the version 4 controls?  Also - is there a layout designer toolbar for WPF in VS2010? I don't see that option under Tools-Customize
Milan
Telerik team
 answered on 30 Jun 2010
2 answers
167 views
FlowDirection="RightToLeft" applied for RadWindow distorts its normal behaviour:
the window, if moved or resized horizontally, moves or resizes to the opposite direction in very strange mode.

[A simple project for demostration of the those behaviours attached to this message.]
There is not possibility to add project rar file, so I add the sources here.

App.xaml

<Application x:Class="MDIWindows.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="Window1.xaml">
    <Application.Resources>         
    </Application.Resources>
</Application>

Window1

<Window x:Class="MDIWindows.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="198" Width="300">
    <StackPanel>
        <Button Content="Open" Click="OnOpenClick" Height="40" />
        <Button Content="BringToFront" Click="OnBringToFrontClick" Height="40" />
    </StackPanel>
</Window>


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Telerik.Windows.Controls;
using WpfApplication1;

namespace MDIWindows
{
 /// <summary>
 /// Interaction logic for Window1.xaml
 /// </summary>
 public partial class Window1 : Window
 {
  Example window;
  public Window1( )
  {
   InitializeComponent();
  }

  private void OnOpenClick( object sender, RoutedEventArgs e )
  {
   if( window == null )
   {
    window = new Example();

    window.Width = 200;
    window.Height = 200;
    window.Owner = this;
   }

   window.Show();
  }

  private void OnBringToFrontClick( object sender, RoutedEventArgs e )
  {
   if( window == null )
    window.BringToFront();
  }
 }
}


Example

<telerik:RadWindow x:Class="WpfApplication1.Example"
            
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
                            
        x:Name="window" Header="ABC" WindowStartupLocation="CenterScreen" FlowDirection="RightToLeft" Width="400" Height="244">
   
</telerik:RadWindow>


using System;
using System.Windows;
using System.Windows.Media;
using Telerik.Windows.Controls;

using WindowStartupLocation = System.Windows.WindowStartupLocation;
using WindowState = System.Windows.WindowState;

namespace WpfApplication1
{
 public partial class Example : Telerik.Windows.Controls.RadWindow
 {
  public Example( )
  {
   InitializeComponent();
  }
 }
}

 









Miroslav Nedyalkov
Telerik team
 answered on 30 Jun 2010
1 answer
142 views
Hi There

I cant find any examples of how to set focus on a selected row.

Say I have a grid with 5000 records and in code I set the selecteditem. I then want the grid to show that item in focus on the screen (scroll to where that item is located).

How would this be possible?

Regards

Nick
Milan
Telerik team
 answered on 30 Jun 2010
6 answers
163 views
hello,

I would like to know if it is possible to detect a double-click on the row "Click here to add a new item"
to prevent an exception in radGridView1_MouseDoubleClick

best regards
thibaut
Thibaut
Top achievements
Rank 1
 answered on 29 Jun 2010
5 answers
147 views

Hi.
When changing visual style not the first time, but the second time, the application always chrashes. I change the styles like this:

this

 

 

.RadRibbonBar.SetValue(StyleManager.ThemeProperty, new Windows7Theme());

 

 

 

this.RadPaneGroup.SetValue(StyleManager.ThemeProperty, new Windows7Theme());

 

 

 

this.RetrivalDataGrid.SetValue(StyleManager.ThemeProperty, new Windows7Theme());

It does not matter which style I change to. It always works the first time and always chrases the second time.

The application error message is like this:

 

An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in PresentationCore.dll

 

 


Additional information: Specified argument was out of the range of valid values.

Anyone know what this problem is?

regards
 Kjetil

 

Milan
Telerik team
 answered on 29 Jun 2010
3 answers
242 views
Hi,

How do I turn off or set speed for the animation when expand a row i TreeView?

Kind Regards
Ken
Dimitrina
Telerik team
 answered on 29 Jun 2010
4 answers
217 views
heya,

i am porting an existing project to telerik and since i changed my window to derive from RadRibbonWindow i experience flickerings when i resize the window (no code or eventhandler is handling the resizing). additionally i specified 
ResizeMode="CanResizeWithGrip"
 on the window.

most of the time the border and title-bar is flickering, sometimes the whole window.
on my tryout with another wpf component suite just the areas flicker sometimes, where i created "new space" through resizing.

is there a way to prevent this?

thx

EDIT: this is especially nasty, because the flickering area is black :(
EDIT2: after a sleep of my notebook most of the drawing-area of the program was now black. unfortunately i didnt do a screenshot. ..  :(
Valentin.Stoychev
Telerik team
 answered on 29 Jun 2010
5 answers
163 views

Dear all,

I am in a very bad situation , 

coz , I have started a wpf project ...all is well except in the case of radgrid view in wpf ...

I am expecting all the functionality of windows radgridview in wpf. like adding rows etc.

is there any way to add the windows rad control to wpf ?.

If anybody know a solution please share it with me............

Thanks and Regards,

Firoz

Qatar

Yavor Georgiev
Telerik team
 answered on 29 Jun 2010
2 answers
326 views
Hello,

I need help (again) with the RadGridview please.

PROBLEM :
I use a RadGridView to display some informations. And one column have a Binding with an Integer attribute.
When I edit a row, and put a value which is not a number in the cell, my application crash (normal).

I tried to use GridViewMaskedTextBoxColumn with MaskType="Numeric" but it doesn't work or I does not succeed in using it.

CODE :
I have a gridview with an ObservableCollection as ItemSource :
        private ObservableCollection<IRoleUtilisateur> _userRole; 
        public ObservableCollection<IRoleUtilisateur> ListUserRole 
        { 
            get { return _userRole; } 
            set 
            { 
                _userRole = value; 
                OnPropertyChanged("ListUserRole"); 
            } 
        } 

In my RoleUtilisateur class (implements IRoleUtilisateur) I have an Integer :
        private int _rang; 
        public int Rang 
        { 
            get 
            { 
                return _rang; 
            } 
            set 
            { 
                _rang = value; 
            } 
        } 

XAML :
<telerik:RadGridView.Columns> 
                <telerik:GridViewDataColumn Header="{Loc rank}" DataMemberBinding="{Binding Rang}" /> 
</telerik:RadGridView.Columns> 
(I deleted all columns except the one with the Binding with Integer attribute)

INFOS :
Visual Studio 2008
.NET Framework 3.5 SP1
Telerik 2010.1.603

How can I do to avoid crashing please ?

If you need more informations, please tell me.
Thank you in advance for your answer.

Regards,
G.B.
George Bill
Top achievements
Rank 1
 answered on 29 Jun 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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?