Telerik Forums
UI for WPF Forum
9 answers
69 views

I've got a map that's initialized to a certain area by a call to SetView, and the zoom-level ends up at 4. I've also got a bunch of predefined areas to jump to, and we do this by calling SetView with a LocationRect. I've noticed that when the SetView-call ends up zooming in to level 19, 20 or 21, no map tiles are loaded and the view is empty. I have to zoom out to level 18 until they are loaded. The MiniMap looks right though. Any idea what could cause this behaviour? Once i have zoomed out to level 18 I can jump to level 19-21 with map-tiles showing.

I'm using the suggested HttpsOpenStreetProvider from this thread: https://www.telerik.com/forums/openstreetmapprovider-through-https

Petar Mladenov
Telerik team
 answered on 19 Nov 2018
4 answers
178 views
When the cursor position is at the start of a paragraph, the tab/shift-tab keys are used to increase/decrease the indent.  If an annotation, such as a bookmark, is placed at the start of the paragraph, this behavior changes and a tab is inserted instead.

We use annotations to mark areas of our documents and this causes inconsistent behavior.  What's the best way to resolve this?

Here is an example of some XAML that has 2 lines that work and 1 line that fails because it has a bookmark at the start of the paragraph:
<t:Paragraph LeftIndent="0">
  <t:Span Text="This paragraph can be indented using the tab key." />
</t:Paragraph>
<t:Paragraph LeftIndent="0">
  <t:BookmarkRangeStart AnnotationID="1" Name="MyBookmark" />
  <t:BookmarkRangeEnd AnnotationID="1" />
  <t:Span Text="This paragraph cannot be indented using the tab key." />
</t:Paragraph>
<t:Paragraph>
  <t:Span Text="This paragraph can be indented using the tab key." />
</t:Paragraph>
<t:Paragraph />

Thank You
Bilisim
Top achievements
Rank 1
 answered on 19 Nov 2018
0 answers
78 views
Is it possible to replicate some of the  RadTreeListView behavior for columns in a GanttView. There are two things I am interested in: styling of the tree expander  button ( HierarchyExpandButtonStyle="{StaticResource ExpanderToggleButtonStyle}") and edit triggering on click without row selection (like EditTriggers="CellClick" in a GridViewDataColumn definition)
Philipp
Top achievements
Rank 1
 asked on 19 Nov 2018
2 answers
102 views

Hello,

      I.m using GanttView to display my MS Project and I wish to highlight a critical task by setting the corresponding item's background color to Yellow. I've looked up the documentation and tried the RowHighlightContainer, but that seems only changes the behavior when MouseOver and not working with the highlighted items. By the way, I've already  the critical tasks to HighlightItemSource Property. Any suggestions?

Here's a snippet of my code:

<Style TargetType="telerik:RowHighlightContainer">
    <Setter Property="Background" Value="Yellow" />
</Style>
...
<telerik:RadGanttView x:Name="GanttView" TasksSource="{Binding Tasks}"
                      BorderThickness="1" SelectedItem="{Binding SelectedTask, Mode=TwoWay}"
                      InitialExpandBehavior="{StaticResource InitialExpandBehavior}"
                      HighlightedItemsSource="{Binding HighlightedTasks}" MouseDown="UIElement_OnMouseDown"
                      Margin="0 6 0 0" PixelLength="{Binding PixelLength}" VisibleRange="{Binding VisibleRange}"/>
yi
Top achievements
Rank 1
 answered on 17 Nov 2018
3 answers
330 views

Dear Team,

I am facing issue with Chat Control. When I tried to change datasource of control, Messages in Chat UI does not reflect.

I have List of User in listbox. Each User has Observable collection of TextMessages. When User selection changed, I bind datasource to selected user messages. I assume that Chat control will update its UI by selected User messaged. But it is not working.

I tried to clear MessageListItems on selection change, and re-bind datasource to selected user's messages. In this case Chat UI does not show any messages.

 

For reference I have uploaded my sample project on Google drive.

Messenger App

@Admin: I had already shared the same issue few days ago, but i did not receive any solution.

 

Stefan
Telerik team
 answered on 16 Nov 2018
4 answers
167 views

I have a tree list view with the following child table definition:

 

        <telerik:RadTreeListView.ChildTableDefinitions>
            <telerik:TreeListViewTableDefinition ItemsSource="{Binding Children}" />
        </telerik:RadTreeListView.ChildTableDefinitions>

 

When an item that the tree list is bound to updates its child collection, the selected cells in the grid are lost. In our situation, the selected cell is on a row that is affected by the children changing.

 

Is there any way to prevent the selection from changing when the rows reload as a result of the structure changing? Or, failing that, any way to determine that the hierarchical structure is changing other than the row load and unload events? The grid is virtualized as well, so we can't tell how to distinguish between rows unloading because they have scrolled out of view, vs the hierarchical structure changing.

 

Dilyan Traykov
Telerik team
 answered on 16 Nov 2018
2 answers
184 views

Hi,

Is it possible to edit GridViewComboBoxColumn to display 2 textblocks in each comboboxitem and bind text value for both textboxes to some properties of a class?

I have added a screenshot to help understand the issue

 

 

 

Stefan
Telerik team
 answered on 16 Nov 2018
1 answer
109 views

Hi,

Is it possible to add 2 textblocks in each coboboxItem and bind text values of those textblocks to properties of some class?

 

To help better understand the issue i have added an image also

Stefan
Telerik team
 answered on 16 Nov 2018
1 answer
85 views

Hi Telerik team,

the forum search doesn't work!

Every keyword leads to null result

Please fix it.

 

Best regards

Markus

Dinko | Tech Support Engineer
Telerik team
 answered on 16 Nov 2018
1 answer
90 views

Hi,

I always want a tab of the same order.

 

<Window x:Class="WpfApp1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp1"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <DockPanel Grid.Row="0" >
            <TextBlock Text="AInput"/>
            <TextBox />
        </DockPanel>
        <telerik:RadGridView Grid.Row="1" ItemsSource="{Binding  AList}" />
        <DockPanel Grid.Row="2" >
            <TextBlock Text="BInput"/>
            <TextBox/>
        </DockPanel>
        <telerik:RadGridView Grid.Row="3" ItemsSource="{Binding  BList}" />
        <DockPanel Grid.Row="4" >
            <TextBlock Text="CInput"/>
            <TextBox/>
        </DockPanel>
    </Grid>
</Window>

Application Run -> Tab Key, Tab, Tab…..

 

# Current status

1. AInput -> A RadGrid (A1,B1, A2,B2,A3,B3) -> BInput -> B RadGrid(A1,B1, A2,B2,A3,B3)  -> CInput

2. AInput -> A RadGrid (B3) -> BInput -> B RadGrid(B3)  -> CInput            <=== Problem

3. AInput -> A RadGrid (B3) -> BInput -> B RadGrid(B3)  -> CInput            <=== Problem

....

 

#  hope
 1. AInput -> A RadGrid (A1,B1, A2,B2,A3,B3) -> BInput -> B RadGrid(A1,B1, A2,B2,A3,B3)  -> CInput
2. AInput -> A RadGrid (A1,B1, A2,B2,A3,B3) -> BInput -> B RadGrid(A1,B1, A2,B2,A3,B3)  -> CInput
 3. AInput -> A RadGrid (A1,B1, A2,B2,A3,B3) -> BInput -> B RadGrid(A1,B1, A2,B2,A3,B3)  -> CInput
....

 

Is this possible?

Stefan
Telerik team
 answered on 15 Nov 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?