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

Hi,

I want to achieve that the user can delete the selected item with the DEL key. I have set the 'CanUserDeleteRows' property to true but when I press the DEL key on a selected Item the Deleting, Delete and the KeyDown event aren't fired. I don't want a additional column with delete buttons or a Delete Button beside of the GridView.

Any idea? My search wasn't successfull....

Alexander
Top achievements
Rank 1
 answered on 18 Jul 2016
2 answers
272 views
I have not customised the selection background color of the RadGridView.  Nor do I need to.  I just need to programatically find out what the selection background color of the grid actually is.
Stefan Nenchev
Telerik team
 answered on 18 Jul 2016
7 answers
465 views
Is there a method to make the edit appointment dialog completely custom? If this is not possible is there a way to force the schedule view to refresh after an appointment has been edited out side of the dialog shown? We have tried to set the EditDialogStyle to a custom template but it does not give us the desired results it displays the exact same as before.

Thanks!
Karthik
Top achievements
Rank 1
 answered on 18 Jul 2016
1 answer
388 views

Hi,

 

print i chart with this code:

string filename = "ExportedChart.png";
using (Stream fileStream = File.Open(filename, FileMode.OpenOrCreate))
{
    Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(this.chart, fileStream, new PngBitmapEncoder());
}

 

the problem ist, that the background of the png-file ist black! how can i change this to white?

thanks a lot

Rene

Milena
Telerik team
 answered on 18 Jul 2016
3 answers
121 views

It seems there are some missing entries in the default localization (at least for the german localization) for the grid in the FilterRow mode and a boolean column for languages other than english.

The filter popup shows "True" and "False", though everything else is correctly localized.

The solution was to add the entries 'GridViewFilterIsFalse' and 'GridViewFilterIsTrue' to the localization resource, maybe this is a help for someone else with the same problem.

 

see: 

http://docs.telerik.com/devtools/wpf/controls/radgridview/filtering/how-to/howto-localize-the-filtering-ui.html and

http://docs.telerik.com/devtools/wpf/common-localization.html

Yoan
Telerik team
 answered on 18 Jul 2016
1 answer
148 views

Hi everyone,

in the attached file you see the exception I get (Sorry, it's in German). The Problem with this exception is, that it appears not every time by doing the same steps. So we can't say definititly what step let this exception occures.

 

So here are the circumstances:

  • RadGradView with some columns (4-5)
  • Binding on a DataTable
  • ReadOnly  = false

So when from a dialog a value is puttin' in one of the cells, the problem somtimes appears.

I downloaded the source code and searched a bit. (In GridView_WPF.sln: GridView/Cells/GridViewCell.cs) 

In the method 'PrepareCellToolTip' the second time when ToolTipService.GetToolTip is called:

var visualElementToolTip = ToolTipService.GetToolTip(this);
var isCellErrorToolTip = this.CellErrorMessage != null && this.CellErrorMessage == visualElementToolTip;
 
 var row = this.ParentRow as GridViewRow;
 var rowToolTip = ToolTipService.GetToolTip(row) ?? string.Empty;

Before row is hand over to 'GetToolTip()',  there should be proved if it isn't null, right?

 

 

Ivan Ivanov
Telerik team
 answered on 18 Jul 2016
1 answer
129 views

Hi, 
   I have some following queries on using radmap.
1. Can we make area fencing ( free hand drawing to fence area and retrieve lat , long within that area)?
2. Can we able to mark a place with marker manually in this map?

3. Can this map able to import large shape files of say 25 MB ?

Thanks
P Kumar

Petar Mladenov
Telerik team
 answered on 18 Jul 2016
1 answer
178 views

Hi there,

Is it possible to use ShapefileReader to read and display a shapefile content as a layer in Microsoft Bing Maps WPF Control? If so please write a code snippet shows how it can be done.

Thanks

Petar Mladenov
Telerik team
 answered on 18 Jul 2016
5 answers
178 views

hello,

my question is how can I create legend in a form of spectrum (with colors and numbers, same as the attached file).

in the attached file please ignore the chart itself and data presentation, i'm only interested in the legend presentation, its color spectrum and numbers.

can you please show me, in code (wpf+ telerik) or references how to achieve this kind of legend?

thank you so match

Hila
Top achievements
Rank 1
 answered on 17 Jul 2016
1 answer
400 views

Hi,

I'm using richtextbox ,and I want to import pdf file and add waterwark on it ,

Now I already have three butttons , one for importing docx , one for exporting docx and pdf , and the other is for adding watermark on the file . 

Is there any solution for import pdf file ? Or using other controls .

 

English is not my mother tongue, please excuse any errors on my part.

 

Thank you.

 

 

Deyan
Telerik team
 answered on 15 Jul 2016
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?