Telerik Forums
UI for WPF Forum
1 answer
110 views

Hi,

I am using RadGridview for CURD operation. I am using observable collection of custom class where I have data.

For oprtation I am using 2 column say update and delete to push data back to DB. With the property NewRowPosition, adding of new row is coming on top.

When I am adding new row and provided data to all cell and coming out from that row being added focus is going into existing row and new row is getting added in last of collection. that is OK.

My problem is when I have added a row the new row add label should be come but its not. and also I have observed that AddingNewDataItem is not firing as result all logic for the cell that I need to perform is not working. I have used celledittemplate in POC as well.

Please suggest how I can achieved this behavior as soon as possible.

 

--

Manoj S

 

 

Stefan
Telerik team
 answered on 18 Jul 2016
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
319 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
484 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
396 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
128 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
160 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
135 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
183 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
191 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
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?