Telerik Forums
UI for WPF Forum
3 answers
196 views
version 2016.3.1024.45

 

I have two tabs with a radcombobox on each tab. Sometimes clicking on one radcombobox is changing my tab selection and putting focus on the other radcombobox. This only occurs with radcomboboxes, not with regular comboboxes.

 

Steps
- the radcombobox 1 on tab 1 is selected and focused (not sure the exact state, its difficult to reproduce)
- the user switches to tab 2 and clicks on the radcombobox 2 
- the combobox 1 grabs the focus and the tab switches back to tab 1

and vice versa

 

Why does the combobox on the inactive tab grab the focus back?
Does the radcombobox not know when it is on not active tab?

How can I prevent the radcomboboxes from changing my tab selection?

 

Nasko
Telerik team
 answered on 09 Jan 2017
3 answers
279 views
Hi,

    After researching the forum and all available examples I still have a problem.
    Dear Telerik team members, before you post here an examples please make sure you read carefully this question:

    I have a simple enum (for populating GridViewComboBoxColumn options), and integer value representing the current  value for each row/combobox
    I need to bind the enum to the GridViewComboBoxColumn using XAML only (without setting the code-behind as I use MVVM) and without creating for this an extra custom class
    In all examples that I found on your web site you use an extra custom class to represent the data and connect it to the GridVeiw

    Please provide an example that will have a DataGrid with GridViewComboBoxColumn that is databinded to an enum directly

    Thank you!
Joel Palmer
Top achievements
Rank 2
 answered on 09 Jan 2017
2 answers
127 views

Hello,

I have a VisualizationLayer bound to a collection of objects, which each have their own colour accessible via a property. I've defined a MapEllipseView for (some of) the objects in the collection via an ItemTemplateSelector. The MapEllipseView has its ShapeFill property bound to the colour, and I use a converter to convert from the Color object to a MapShapeFill object, i.e. ShapeFill="{Binding Color, Converter={StaticResourceEllipseFillConverter}}".

The issue I have is that when I add items to the collection the ellipses are rendered on the map, but the ShapeFill doesn't actually take effect until I hover over each ellipse in turn, so I  need to "colour them in" with the mouse. Through debugging I've worked out that it accesses the property when an item is added to the collection, and when I hover over it doesn't access it again, so the map has clearly already obtained the colour it should be displaying, it's just not rendering it.

Is this a bug or is there something I can do to fix this?

Thanks,

Chris

Chris
Top achievements
Rank 1
 answered on 06 Jan 2017
1 answer
111 views

Hi,

I have some performance problems with a few documents (mainly containing raster images in the background). ReadOnDemand() does not solve my issue.

Loading of the data is quite fast, but the rendering takes several seconds. Unfortunately, this blocks my UI.

Is there a possibility to do the rendering on a different thread, which does not block the UI?

Can I cancel / abort a currently loading / rendering process of the PDF Viewer?

Best,

Christine

Deyan
Telerik team
 answered on 06 Jan 2017
1 answer
276 views
Hi. Is it possible to programatically move shapes on a diagram? I can change its position from a button click event, but would like to animate the movement. Eventually i would want to animate multiple shapes simultaneously (individually not as group)
Martin Ivanov
Telerik team
 answered on 06 Jan 2017
1 answer
93 views
-I am using telerik WPF Docking controls
-I added a RadSplitContainer and RadPaneGroup inside it.

-Setting the property TabStripPlacementent ="Left" is not working.

-Below is the code used:

 <telerik:RadSplitContainer InitialPosition="DockedLeft">
                <telerik:RadPaneGroup TabStripPlacement="Left"  />
</telerik:RadSplitContainer>


Please advice.
Nasko
Telerik team
 answered on 06 Jan 2017
10 answers
431 views

Hello Telerik,

I'm working with a RadGridView in WPF, and actually, I'm testing for the cells editing.

 

When the user pressed 'Enter' to validate his data, the focus is automaticaly did on the next row. I searched in your Controls Examples but I didn't found the solution.

=> How can I to do that the focus should do on the cell was been edited ?

 

Thank you very much.

Valentin.

Ivan Ivanov
Telerik team
 answered on 06 Jan 2017
2 answers
493 views

I am using the Telerik Windows 8 theme in my WPF application.  However, I do not like the way the checkbox checked state is indicated using a colored square rather than an actual check mark as in the Windows 7 theme.  It was very simple to copy the checkbox template and modify it to use the checkbox check mark from the Windows 7 theme checkbox template.  However, I am having trouble finding a way to add this modified template to my Application.Resources in such a way as to apply it to all checkboxes in my application.  For some reason, the template in the Telerik Windows 8 theme continues to override my new checkbox style and I am not sure why.

 

I have tried a few different approaches, yet nothing seems to work.  My latest approach is to add the following style to my Application.Resources resource dictionary:

 

<Style BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Windows8Theme, ElementType=CheckBox}}" TargetType="CheckBox" >

    <Setter Property="Template">

    ....

    </Setter>

</Style>

 

I would really appreciate any input.  How can I apply a checkbox template modification to all of the checkboxes in my application??

 

Thanks!

Craig

Craig
Top achievements
Rank 1
 answered on 05 Jan 2017
1 answer
115 views

Hello,

I have a problem with the SearchPanel.

Search as you type doesn't work with dates or numeric values.

You can try with the GridView exemple "Search as you type"

See the attached file plz.

Stefan Nenchev
Telerik team
 answered on 05 Jan 2017
0 answers
192 views

Hello!

I'm using a scrollviewer in my window. It has both horizontal and vertical scrolling, But I need my scroll to leave the header of my grid on top while scrolling as is done in a tipical datagridview scroll which keeps the columns on top always while vertical scroll. Can you please help me on how can I achieve this.

I've tried deviding the UI in 3 parts like header footer and scrollabe area but in that case the vertical scrollbar gets scrolled by the horizontal scrollbar if the width of the window is less than minWidth.

Please see the attached image for an idea.

Thanks in advance.

 

Regards

Tushar

 

tushar
Top achievements
Rank 1
 asked on 05 Jan 2017
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?