Telerik Forums
UI for WPF Forum
10 answers
347 views
I've got a WebBrowser control nested inside a RadPane ... I've pointed it at http://loremipsumtext.com/ for some dummy content.  The content shows fine when pinned...but the RadPane is blank when simply floating.

Any suggestions?
Ehsan
Top achievements
Rank 1
Iron
 answered on 04 Jul 2023
0 answers
99 views

I am using Telerik RadGrid control in my ASP.NET web application. Grid columns are generated automatically from the data source. Also Grouping, sorting, Filtering, Aggregates etc are enabled for the columns in the grid. When I save the Grid setting I can see in the saved xml content that it also persists Aggregate function which was applied to the columns. The value of  XML node "PersistableColumnSetting>Aggregate" is "SUM"

but when I revisit the page next time, I notice the Aggregate functions are not applied to the column after loading the settings and rebinding the grid.

I wonder if this is by design or there is another way to apply the Aggregates to the columns just like they were when saving the settings

 

Thanks

Harshad

 

Harshad
Top achievements
Rank 1
 asked on 04 Jul 2023
1 answer
86 views
Hi I'am begginer with telerik and I'am using Radshapes and I want to avoid overlap between them can you help me how to do it and thanks
Martin Ivanov
Telerik team
 answered on 03 Jul 2023
0 answers
137 views

Hello,

I have a RadComboBox that looks like this:

<telerik:RadComboBox Command="{Binding ResourceDropDownClosedCommand}"
                     ItemsSource="{Binding ResourceLookupData}"
                     AutoCompleteSelectionMode="FullMatch"
                     telerik:TextSearch.TextPath="Id"
                     AllowMultipleSelection="True"
                     UpdateTextOnLostFocus="False"
                     IsEditable="True"
                     TextSearchMode="Contains"
                     IsFilteringEnabled="True"
                     telerik:StyleManager.Theme="Windows7"
                     Grid.Column="3" Grid.Row="1">

    <telerik:RadComboBox.ItemTemplate>
                            
        <DataTemplate>
            <Grid Width="500">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="85"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>

                <TextBlock Grid.Column="0" Text="{Binding Path=Id}" />
                <TextBlock Grid.Column="1" Text="{Binding Path=ResourceDescription}"/>
            </Grid>
        </DataTemplate>
                            
    </telerik:RadComboBox.ItemTemplate>

    <telerik:RadComboBox.FilteringBehavior>
        <controlsHelpers:RadComboBoxResourceLookupFilteringBehavior />
    </telerik:RadComboBox.FilteringBehavior>

    <i:Interaction.Behaviors>
        <controlsHelpers:RadComboBoxSelectedItemsBehavior SelectedItems="{Binding SelectedResources}" />
    </i:Interaction.Behaviors>
                        
</telerik:RadComboBox>

The problem i am facing is that after the user has entered text and the RadComboBox has filtered the Items depending on the entered text, after losing focus of the RadComboBox by tabbing or clicking away, If there is no item that matches the entered text then the text is cleared, even with the UpdateTextOnLostFocus set to False.

I haven't been able to find a solution that works for me. So any suggestions would be appreciated.

Thank you

Marko
Top achievements
Rank 2
Iron
 asked on 29 Jun 2023
1 answer
118 views

Hello,

i have a problem with the radRichTextBox, when using .docx files generated with the Telerik Report Designer. (Screenshots attached)

If I create the document by myself in word, the header will be displayed correctly in the radRichTextBox (with RadRibbon).

The telerik control seems to have problems with the table structure inside of the header, as well as hyperlinks that were generated with telerik report Designer.

Does anyone know a solution?

 

 

Dimitar
Telerik team
 answered on 29 Jun 2023
1 answer
99 views
Hi, I have a problome with using RadRichTextBox. Everything run perfectly but when enter Korean, the letters are not entered properly. Forexample I enter "안녕하세요",  it enterd like "안ㅕ하요" .  When I enter English, nothing problem.  Please help me. Thank you
Dimitar
Telerik team
 answered on 29 Jun 2023
0 answers
128 views

I think that this is a general question: I have a RadDocking with document host. Generally I can load many tab inside the panel, every tab has his viewmodel that it is an instance of the same class.
When I binding a control property to a viewmodel property I need to bind it to the correct instance.
Now I use binding in code behind using a variable index such as 

pane.SetBinding(RadPane.HeaderProperty, new Binding()
{
    Path = new($"MainVM.Partitions[{_vm.MainVM.PartitionAttiva.Partition.Id}])
});
Is not important the meaning of pieces, the important is the dynamic index that stand for the tab index.

My question is if is there a more standard method to achieve this goal
Thank you 
Luigi
Luigi
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 28 Jun 2023
0 answers
177 views

Hello.  I'm trying to create a vertical RadSlider with a custom Thumb that will display the current value of the slider, and has a pair of up/down buttons that the user can click to increment the slider by a fixed amount.

I've styled my Thumb to have Height="30" and Width="100", and the custom thumb appears as expected.  However, there are two problems.  First, because my RadSlider has Orientation="Vertical", I'm only able to drag the slider until the thumb is 100 px below the top of the slider - the width of the Thumb.  When the Thumb is at the maximum position, the slider value is 100% - but I'd like the Thumb to move through the entire length of the slider's Track.


The second problem is, when the slider is set to zero, the custom content of my Thumb appears below the bottom of the slider - I would like it to be centered on the bottom of the slider's Track.


Setting a margin on the Thumb only changes the proportion of "dead" space in the slider; if the Margin is 50, then I can only drag to within 50 px of the top or bottom of the slider.

Thank you!
-Ed

Ed
Top achievements
Rank 1
 asked on 26 Jun 2023
1 answer
104 views

When I use the WindowsFormsHost in Radbusyindicator,

then I change the window size, and the UI shows very slowly and seems wrong.

The content of the WindowsFormsHost is just a Label.

I am not sure if there are some details in this case.

 

<telerik:RadBusyIndicator IsBusy="False">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="30"/>
            </Grid.RowDefinitions>
            <WindowsFormsHost>
                <cc:UserControl1/>
            </WindowsFormsHost>
        </Grid>
    </telerik:RadBusyIndicator>

 

Martin Ivanov
Telerik team
 answered on 21 Jun 2023
0 answers
96 views

Hello! I have a RadGanttView with custom columns (which can be switched on and off on fly). The problem is that after any interaction with this control GridView part shows horizontal scroll bar, but splitter doesn't go right although there is more than enough space to resize (Picture 1).

It doesn't really matter how many columns are there - GridView resizes itself to be a bit smaller than enough to fit all the columns and doesn't expand anymore (Picture 2), leaving at least 0.5 cm of free space on the right (on 17" FullHD display) (Picture 3).

At the same time there is no problem with shrinking, it's possible to move splitter to the left until GridVIew part becomes completely invisible.

Thanks, Dmitrii

UPD: I've checked variables in Dynamic Visual Tree and found that ExtentWidth of TreeRenderingPanel element is always 3 units more than needed. Is there a way to fix this?

Dmitrii
Top achievements
Rank 1
 updated question on 20 Jun 2023
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?