Telerik Forums
UI for WPF Forum
2 answers
139 views

Hello Telerik community,

First post for me here :)

I would like my diagram (placed in a userControl) to react to some events in my MDI application. (events done in other usercontrol, like clicking on a portion of a text would select the text-corresponding box in the diagram)

The problem I have is that when I set my:

//(Telerik.Windows.Controls.Diagrams.Extensions.ViewModels.ItemViewModelBase NodeViewModel;)
NodeViewModel.IsSelected = true;

My diagram userControl gets the focus and the user can't type text anymore.

I would like to be able to change the selected item in my diagram without changing the application focus.

Any idea to achieve that? 

Thanks a lot!

- Thomas

Thomas
Top achievements
Rank 1
 answered on 18 Jul 2016
1 answer
80 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.3K+ 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
134 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
410 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
321 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
93 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
121 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
105 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
113 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?