Telerik Forums
UI for WPF Forum
1 answer
118 views

Hi, i would like to use your Telerik Editor, which u describing in WPF Controls Examples. I took code from your xaml and xaml.cs. And my app want Telerik.Windows.Controls.QuickStart and ApplicationThemeManager too.

In this case how it is possible to use it?

 

Thanks for replays.

Tanya
Telerik team
 answered on 12 Apr 2018
1 answer
182 views

I would like to catch TextChanged from RadRichTextBox, i checked and that event did not exist. So i tried to use DocumentChanged, but it did not fire too, when im typing text in rtb.

 

01.<telerik:RadRichTextBox HorizontalScrollBarVisibility="Auto" MinHeight="80" VerticalScrollBarVisibility="Auto"
02.                         x:Name="Rtb"
03.                         Background="White" AcceptsTab="True" Loaded="Rtb_Loaded" FontSize="12"
04.                         IsEnabled="{Binding CanEdit, UpdateSourceTrigger=PropertyChanged}">
05.                <i:Interaction.Triggers>
06.                    <i:EventTrigger EventName="DocumentChanged">
07.                        <i:InvokeCommandAction Command="{Binding DocumentChangedCommand}"
08.                                               CommandParameter="{Binding ElementName=Rtb, Path=Document}" />
09.                    </i:EventTrigger>
10.                </i:Interaction.Triggers>
11.            </telerik:RadRichTextBox>
Tanya
Telerik team
 answered on 12 Apr 2018
1 answer
89 views

I am having trouble with the order of events being called when using the custom keyboard command example code.  

I want to change the behavior of the enter key to exactly what the example is doing. This works great until I add a cell datatemplate and an edit cell data template. 

Before changing the example everything is working fine.  The behavior is as follows: 

1. Start editing a value

2. Using the mouse set focus on some other field( thus comiting the edit) OR pressing enter on the keyboard 

3. The property setter for statdiumcapacity is called

4. The ClubsGrid_OnCellEditEnded callback is called.

After adding in a cell template and an edit cell template as follows: 

<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:my="clr-namespace:CustomKeyboardCommandProvider"
        Title="MainWindow" Height="300" Width="700">
    <Window.Resources>
        <my:MyViewModel x:Key="MyViewModel"/>

      <DataTemplate x:Key="DataTemplate">
        <TextBlock Text="{Binding StadiumCapacity}" TextAlignment="Center"/>
      </DataTemplate>
        
      <DataTemplate x:Key="EditDataTemplate">
      <TextBox Text="{Binding StadiumCapacity}"  />
      </DataTemplate>

  </Window.Resources>
    <Grid DataContext="{StaticResource MyViewModel}">       
        <telerik:RadGridView Name="clubsGrid"  BeginningEdit="ClubsGrid_OnBeginningEdit" CellEditEnded="ClubsGrid_OnCellEditEnded" AutoGenerateColumns="False"
                             ItemsSource="{Binding Clubs}">
          <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="Stadium Cap" Width="200" CellTemplate="{StaticResource DataTemplate}" CellEditTemplate="{StaticResource EditDataTemplate}" />
            </telerik:RadGridView.Columns>
    </telerik:RadGridView>
    </Grid>
</Window>

 

Now the sequence changes.  The mouse setting focus away from the edit works as before.  However, the enter key does not

1. Start editing a value
2. Press enter on the keyboard while still editing.
3. The ClubsGrid_OnCellEditEnded callback is called.

4. The property setter for statdiumcapacity is called

 

The order is reversed?  What am I missing to make the behaviour the same using datatemplates as not using datatemplates

 

Phil
Top achievements
Rank 1
 answered on 12 Apr 2018
11 answers
714 views
I am using RadTreeView, there is a request to rename the name of the tree node with the following ways:
1. When the user presses "F2" key
2. When the user double clicks the tree node
3. When the user right click the mouse, select "Rename" from the context menu.

The tree node enters "editing mode" for editing.

The challenging work is to how to implement the above features with MVVM.

Can anyone provide some sample code to demo how to implement that?

Thanks in advance!


Swapnil
Top achievements
Rank 1
 answered on 12 Apr 2018
3 answers
200 views

Hi, 

I tried using the export functionality of the RadGridView and I found that the ExportAsync generates an empty file. When I use the plain Export method instead, it works correctly. Can someone take a look at this and confirm whether it works or not.

 

Thanks.

Martin Ivanov
Telerik team
 answered on 12 Apr 2018
5 answers
211 views

Greetings,

 when using WPF UI with a tablet we occur following problem. When touching a AutoCompleteBox nothing happens.

Hope someone can enlighten me, since every other control seems to work.

 

Regards

André

Joshua
Top achievements
Rank 2
 answered on 11 Apr 2018
6 answers
123 views

Hi there,

the CloseButton in SearchPanel currently has no effect. The SearchPanel stays open.

2018.1.220.45

Best regards

Dilyan Traykov
Telerik team
 answered on 11 Apr 2018
3 answers
247 views
Hi I can't seem to disable the acrylic effect on the RadTabControl. I have it nested inside a dockpanel that's inside a RadWindow, but as long as the RadWindow has acrylic applied, the RadTabControl's HeaderBackground does too, I've tried changing the IsAcrylic property for the tabcontrol in both XAML and cs and neither seem to work. It's either both the RadWindow and the RadTabControl have the transparent acrylic effect, or neither of them do. Is there something I'm missing or is this a bug?

Sia
Telerik team
 answered on 11 Apr 2018
0 answers
165 views

At present, I can use "PaneStateChange" to set the size of floating window, or "ReatinPaneSizeMode" to keep floating size same with previous docking size. 

My question is that if I dock the floating window back, how can I set the docking size instead of the default stretching along the horizontal or vertical direction.

Or is there any parameter to indicate the docking process finished so that I can reset the pane size after docking.

 

Thanks

Lianyang

Lianyang
Top achievements
Rank 1
 asked on 10 Apr 2018
1 answer
235 views

Currently, i am working on current cell in radgridview to reset to 0 row and 0 column.

 

Thanks,

Amit Kumar Kulha

Martin Ivanov
Telerik team
 answered on 10 Apr 2018
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?