Telerik Forums
UI for WPF Forum
2 answers
102 views
Hi

I have gridview bind to List<Employee> in WPF and i have datatemplate with textbox inside gridviewrow.

-- Textbox has LostFocus Event.

-- How to access Employee entity attached to gridviewrow in LostFocus Event Handler in code behind.

-- Please provide a small code snippet for that.

Thank You.
Rama
Gautam
Top achievements
Rank 1
 answered on 20 Aug 2018
1 answer
106 views
Which version Pivot grid started with ?
Stefan
Telerik team
 answered on 20 Aug 2018
1 answer
132 views

Excuse me, 
I'm trying to use Milestone WPF player (which makes use of VideoOsPlayer) and I got an exception while removing a bounded item to the TileView itemsource.
I've created a sample project thinking the iussue would be on VideoOs player but they answered me 

Thank you for the sample. It allowed us to reproduce the issue, but unfortunately the behavior we observe is quite strange.
What appears to happen is that the DataContext on the controls we have inside the ImageViewerWpfControl are set to null by something outside our code. Our code has no code for setting these to null and no public properties allowing others to do so, so apparently Telerik is running through the children of the control and setting these?

We tried reproducing using normal WPF controls, but could not.
This is not behavior we expect/support and thus the code has not been designed for it.
One thing we found out is that if you set IsVirtualizing="False" on the Telerik control it will not cause the problem, so even though this is not optimal it is at least a workaround.
Maybe you can reach out to Telerik to ask them about this behavior?

Here you can find the whole thread with the link of the demo project

What's really strange is that setting IsVirtualizing="False" it apperently works...can you please check on your side?

I've used 2018.2.620.45 control version

Thanks in advance

 

 

Martin Ivanov
Telerik team
 answered on 20 Aug 2018
0 answers
74 views

Hello Telerik,

I have an expander inside a user control, which is inside of a raddocking's left pane. What I have done is that, I let the expander to decide the width of the docking's left side. But the problem is that as soon as I change the width of the docking manually (I drag the docking's corner to change its width), the mechanism stops, that is, the expander can not change the width of the docking anymore!

I would like to know why and how I can fix it. Any ideas?

Best Regards

kourosh

Kourosh
Top achievements
Rank 1
 asked on 20 Aug 2018
2 answers
100 views

I have a visualization layer bound to an observable collection of MapShapeData. There is a LineData in it whose initial points are Location.Empty. As I change Point1 and Point2, the line is correctly updated on the map. When I change Point1 and Point2 back to Location.Empty, the line stays on the map. I am expecting it to disappear.

This was the only simliar thread I saw:

https://www.telerik.com/forums/visualizationlayer-location-empty-and-updating

Dilyan Traykov
Telerik team
 answered on 17 Aug 2018
3 answers
191 views
My issue is when I dragging a  to other  and destination item do not change color like the normal case. My  use defined style with a command and command parameter. Someone can help me!
Dinko | Tech Support Engineer
Telerik team
 answered on 17 Aug 2018
8 answers
433 views
HI there,

I am using RadDiagram, where I will have two container shapes (RadDiagramContainerShape) Front and Rear. User will choose a device and drop it into the front/rear block, so a diagram shape will be created and added into front/rear block. But once I added, the parent container shape resized even I added a shape with same width of parent.

How to disable the auto resizing of parent container shape.

Regards,
Jawahar
Martin Ivanov
Telerik team
 answered on 17 Aug 2018
2 answers
116 views

In code-behind it is easy to insert a merge field:

this.radRichTextBox.InsertField(new Telerik.Windows.Documents.Model.MergeField() { PropertyPath = "SomePath"  });

Is it possible, from the viewmodel, to the same thing?

Peter
Top achievements
Rank 1
 answered on 17 Aug 2018
4 answers
283 views

Hi,

When running wpf application,readmap is not seem.I am  reading from .dbf and .shp.But there is not anything on screen. 

 

<telerik:RadMap x:Name="radMap">
                    <telerik:RadMap.Provider>
                        <telerik:EmptyProvider/>
                    </telerik:RadMap.Provider>
                    <telerik:InformationLayer x:Name="informationLayer">
                        <telerik:InformationLayer.Reader>
                            <telerik:MapShapeReader DataSource="/Trial;component/Resources/world.dbf"
                                            Source="/Trial;component/Resources/world.shp">
                                <telerik:MapShapeReader.ToolTipTemplate>
                                    <DataTemplate>
                                        <StackPanel Margin="10,5">
                                            <TextBlock FontWeight="Bold"
                                               Text="{Binding Converter={StaticResource ExtendedDataConverter}, ConverterParameter='CNTRY_NAME'}" />
                                            <TextBlock Text="{Binding Converter={StaticResource ExtendedDataConverter}, ConverterParameter='SQKM', StringFormat='Area: {0:#,#.0} sq.km.'}" />
                                        </StackPanel>
                                    </DataTemplate>
                                </telerik:MapShapeReader.ToolTipTemplate>
                            </telerik:MapShapeReader>
                        </telerik:InformationLayer.Reader>
                    </telerik:InformationLayer>

 

Why is not seem anything on screen? 

eren
Top achievements
Rank 1
 answered on 16 Aug 2018
5 answers
178 views

Hello,

I was wondering if there's a simple way to limit at max 6 items the number of items present inside a LayoutControl? I've added a control inside my ViewModel and I avoid adding more if the Count reaches 6 but the whole space is not occupied

 

Thanks in advance

Stefan
Telerik team
 answered on 16 Aug 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?