Telerik Forums
UI for WPF Forum
5 answers
1.4K+ views

I have RadGridView when editable columns. When the user updates the value of a cell and then clicks anywhere else outside the grid, I expected there will be a Edit.Commit, but instead the cell is still in edit mode until you go in to that cell and hits Enter (or clicks on another row in the grid) . 

 

How do I make this happen, MVVM-approach if possible

 

 

Many thanks in advance, Robert

Yoan
Telerik team
 answered on 01 Feb 2021
3 answers
191 views
Hello,

I have a problem with the RadContextMenu.  I have an RadMenuItem's IsEnabled property bound to an object and am using a converter to change that into a bool.  However, the converter never gets called unless I use TwoWay binding which is not possible.  Any ideas about this?  Below is my sample:

<telerik:RadContextMenu.ContextMenu>
                                        <telerik:RadContextMenu>
                                            <telerik:RadMenuItem Header="TEXT UNIT" FontSize="12" IsEnabled="{Binding RadioSystemType, Converter={StaticResource Enable_Texting_SysType}}" Command="{Binding Main.AddConversation, Mode=OneWay, Source={StaticResource Locator}}" CommandParameter="{Binding MakeKeyBindable, Mode=OneWay}" Click="TextUnitorGroup_Click"/>
                                            <telerik:RadMenuItem Header="SETTINGS" FontSize="12" CommandParameter="{Binding MakeKeyBindable, Mode=OneWay}" Command="{Binding Main.EditUnitCommand, Mode=OneWay, Source={StaticResource Locator}}"/>
                                            <telerik:RadMenuItem Header="FOLLOW UNIT" FontSize="12">
                                                <telerik:RadMenuItem Header="TRACK IN WINDOW 1" FontSize="12" CommandParameter="{Binding Mode=OneWay}" Command="{Binding Main.FollowUnitWindow1Command, Mode=OneWay, Source={StaticResource Locator}}"/>
                                                <telerik:RadMenuItem Header="TRACK IN WINDOW 2" FontSize="12" CommandParameter="{Binding Mode=OneWay}" Command="{Binding Main.FollowUnitWindow2Command, Mode=OneWay, Source={StaticResource Locator}}"/>
                                            </telerik:RadMenuItem>
                                            <telerik:RadMenuItem Header="NEAREST ASSETS" FontSize="12" Click="RadMenuItem1_Click"/>
                                            <telerik:RadMenuItem Header="ADD UNIT" FontSize="12" Command="{Binding Main.AddUnitCommand, Mode=OneWay, Source={StaticResource Locator}}"/>
                                            <telerik:RadMenuItem Header="DELETE UNIT" FontSize="12" Command="{Binding Main.RemoveUnitCommand, Mode=OneWay, Source={StaticResource Locator}}" CommandParameter="{Binding MakeKeyBindable, Mode=OneWay}"/>           
                                        </telerik:RadContextMenu>               
                                    </telerik:RadContextMenu.ContextMenu>
mkk09
Top achievements
Rank 1
 answered on 01 Feb 2021
2 answers
293 views

Hello, we want to convert all windows in our multiwindow- application from System.Windows.Window to RadRibbonWindow or RadWindows, to offer the user a uniform impression. Unfortunately the RadWindow  behaves  differently than the System.Windows.Window when it comes to minimizing and the taskbar. 

Using the RadRibbonWindow for all windows seems to be a working solution, but is it a good idea? Or is it only intended for use with a RadRibbonBar?

Maybe there is another way to use Telerik themes with System.Windows.Window's?

 

greetings

sebastian

Vladimir Stoyanov
Telerik team
 answered on 01 Feb 2021
1 answer
162 views
Hello,
let me begin by saying I'm a beginner,
I've tried searching on google but haven't found the answer to my questions, maybe I'm using the wrong terms.

I want to make a program for my job. I've settled on a basic design but need a bit of help getting there.

I want a MainWindow with a dashboard on the Left. with a section on the right that changes based on which dashboard item is selected.
Tell me if I'm wrong, but I think I would need to create separate windows for each and every dashboard items (I have 6). Once the selected Item Changes, the program would close the previous window and open the one corresponding to the newly selected dashboard item.

Also, for one of those window, I would need the user to have the possibility of adding fields. The reason is I need to create a logic tree of the historic of a land parcel. For Example, Lot 1 000 000 replaces lot 12345-1 on one line and lot 12345-1 is a subdivision of lot 12345. Each line would be added by the user and would include 2 labels, 2 text fields and a date field.

I'm sorry if my questions are basic and my sentencing not perfect (English is my second language).
Any help will be greatly appreciated,
Simon
Dinko | Tech Support Engineer
Telerik team
 answered on 01 Feb 2021
2 answers
124 views
How can I proggramatically scroll the SyntaxEditor content?
Gonzalo
Top achievements
Rank 1
 answered on 29 Jan 2021
1 answer
167 views

I have create a project where the user creates different filter buttons which, when clicked, updates the SearchText in the SearchPanel.  And then the user can persist these saved buttons and reload at startup.  Everything is working great except one thing!    If the user sets SearchText and the grid then gets new data, the SearchText goes blank.  Is there a way to persist the SearchText regardless of the underlining data changing?

I am actually using an external Textbox to set the SearchText and followed some of your examples of binding to the SeachText.

 

private void OnLoaded(object sender, RoutedEventArgs e)
        {
            this.GridStats.ShowSearchPanel = false;
            _vmSearchPanel = this.GridStats.ChildrenOfType<GridViewSearchPanel>().FirstOrDefault();
            this.txtFilter.SetBinding(TextBox.TextProperty, new Binding("SearchText") { Source = _vmSearchPanel.DataContext, Mode = BindingMode.TwoWay });
        }

 

On a side note, it would be nice to be able to easily save/load SearchText because it makes a quicker way version saving all the Filter criteria on the Grid or using a RadFilter if you just want one textbox.

 

Martin Ivanov
Telerik team
 answered on 29 Jan 2021
4 answers
697 views

After reading the documentation on the RadTransitionControl, I'm no closer to understanding how it works.  You have some sample code but it is out of context and/or partial.  I'm trying to perform a simple task of fading in/out two images.

Any hints?  I don't need to load and entire project or solution ... just a relevant code snippet would do.

Cheers, Rob.

Vladimir Stoyanov
Telerik team
 answered on 29 Jan 2021
5 answers
199 views

Hello Telerik Team,

 I'm trying to change the orientation of my tiles within a group from vertical default orientation to horizontal orientation.

 I already created a class derived from TileListPanel overriding the default orientation:

public class CustomTileListPanel : TileListPanel
{
    protected override bool HasLogicalOrientation { get { return true; } }
    protected override Orientation LogicalOrientation { get { return Orientation.Horizontal; } }
}

 

But unfortunately this has no effect.

 Please tell me how I can change the orientation of the tiles.

 

Regards,

Johannes

Martin Ivanov
Telerik team
 answered on 29 Jan 2021
5 answers
290 views

Hello.

 

I'm trying to use a shortcut key for an item in the navigation child.

It was successful until the view was opened by generating a command by receiving a gesture by key binding.

However, it is not a choice for navigation items.

I set the navigation index, but it didn't work.

Is there a way to open the upper layer and select the lower layer?

 

Thanks.

Martin Ivanov
Telerik team
 answered on 29 Jan 2021
11 answers
688 views
Is there a way to hide the RibbonTab strip when contained within a RibbonView?

When previously using the RibbonBar, setting HeaderVisibility="Collapsed" in the RibbonTab would hide the tab strip entirely.  In the RibbonView, this functionality appears to be absent.  Is there a workaround to get the same effect?
Martin Ivanov
Telerik team
 answered on 28 Jan 2021
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?