Telerik Forums
UI for WPF Forum
1 answer
146 views

If my tree node text is empty I want to display special text to the user but I when the node is edited I want the text to be blank.  How can I achieve this?  Currently when hitting F2 I still have the "(Not Set)" text displayed.  

 

        <telerik:RadTreeView telerik:TextSearch.TextPath="DisplayName" 

 

public override string DisplayName
    {
    get
        {
        if ( string.IsNullOrEmpty ())
            {
            return "(Not Set)";
            }
 
        return this.m_displayName;               
        }
    set
        {
        this.m_displayName = value;
        }
    }
Karl B
Top achievements
Rank 1
 answered on 06 Feb 2018
1 answer
82 views

Hi

is it possible to add a row like the red marked ones between the normal rows?

The picture is from a Java-Webapplication. I like to have the same in my WPF-Application

And how can i do this with the Gridview?

 

Thx in advance

Maurice
Top achievements
Rank 1
 answered on 06 Feb 2018
1 answer
76 views

Hi,

Currently i am binding the column of RadGridView with an interface type; which causes the filtering on the column for the RadGridView to not show. 

Could you please provide a solution, where i can view the filter for a column that is bound with an Interface type.

Regards,

Swapnil

Dilyan Traykov
Telerik team
 answered on 05 Feb 2018
9 answers
931 views

Hello Telerik,

 

I have a RadGridView and I set to it an EventBinding like this :

<telerik:EventToCommandBehavior.EventBindings>
    <telerik:EventBinding Command="{Binding CommandDeleteFolderRSP}" EventName="KeyUp"
                   CommandParameter="Delete" />
</telerik:EventToCommandBehavior.EventBindings>

=> I want to bind a command if the user wants to delete the selected row.

 

The problem is that all of the keys are fired the command, not only the 'Delete' key.

What is my error ?

 

Thank you.

Stefan
Telerik team
 answered on 05 Feb 2018
1 answer
173 views

Hello Telerik,

 

I'm using a RadDiagram containing shapes. These shapes has TextBlock to display some text.

I search to get the position of a TextBlock inside this RadDiagram.

 

I did it (tb is a TextBlock and Me.MirBuilderDiagram is a RadDiagram) :

tb.TransformToAncestor(Me.MirBuilderDiagram).Transform(New Point(0, 0))

 

The problem is that values are false : the top-left corner of the RadDiagram is set to 20;20, and for a TextBock next to this corner, I get the wrong value. I tried to get the position with the parent of the RadDiagram (a Grid), but I have the same result.

 

I attached 2 screenshots with :

- raddiagram : showing you the visual RadDiagram

- debug : showing you the debug with an attached watcher.

 

How I can get the good values ?

Thank you.

 

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 05 Feb 2018
10 answers
642 views
We want to leverage Cell Templates instead of using the "edit mode" of the GridView however when tabbing between TextBoxes in the CellTemplate the Cell takes focus NOT the next cell's TextBox (that lives inside the CellTemplate). How do we fix this? We are using Q1 2009.
Anton
Top achievements
Rank 1
 answered on 05 Feb 2018
18 answers
3.0K+ views
I have a gridview item with a red background and a white text.
When i move the mouse above the gridview i get a yellow highlight, that causes the text to be unreadable.

Is there a easy way to set the row background/foreground color for the highlight, and selection?

For example:
Highlight: background = yellow, foreground=black
Selection: background = orange, foreground=black

With regards,
Rob


Pavel
Top achievements
Rank 1
 answered on 03 Feb 2018
0 answers
73 views

Hello!

I have:

1. CandlestickSeries

2. X-Axis (datetime): CategoricalAxis 

3. Y-Axis (double):  LinearAxis 

4. ChartPanAndZoomBehavior DragToZoomThreshold="0" MouseWheelMode="Zoom" DragMode="Pan" ZoomMode="Both" PanMode="Both"

How to make it so that:

1. When scrolling along the X-axis, all data on the Y-axis was displayed (in the visible range of X-axis)

 

Гоша
Top achievements
Rank 1
 asked on 03 Feb 2018
3 answers
274 views

Hello,

I have a project in which I have a radgridview that needs to be styled with different colors based on the values that are in the cell. So each cell can have different colors depending on its value. To do this I have just been programmatically changing the cell color from the cell loaded event. This is working fine for me but coloring the cells is having a weird effect that I would like to remove if possible. It appears that the cell colors are rendered on top of the row color and the selected row highlight when you mouse over a row. Is there a way I can easily reverse this so that the row color overrides the cell color while the row highlight is on top of the row color?

 

Thanks

Dilyan Traykov
Telerik team
 answered on 02 Feb 2018
5 answers
880 views

I want to always disable and, if I can, clear the content of the first cell in the first row of my RadGridView.  I know there is the readonly property to use, but that doesn't really work because then my objects need that field to bind to.  It is static for me that in the first row, the first cell is always disabled.  So no matter how the user moves around the rows or data, that cell remains static.

How can I do this?

Martin Ivanov
Telerik team
 answered on 02 Feb 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
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?