Telerik Forums
UI for WPF Forum
1 answer
171 views

Hi

Is it posible to add a custom button to the pdfviewer toolbar in UI for WPF?

 

 

Dinko
Telerik team
 answered on 07 Jul 2023
1 answer
326 views

Hello,

 

I have a RadMaskedTextInput that I'm using for a phone number.

 

If I clear the form, and set the txtDriverNumber (that's the name of the field) using txtDriverNumber.Text = "" (and I also tried string.Empty) it looks like it clears the value correctly.


However, when the textbox gets focus again, it puts back in the last entered data.  I don't want it to do that, is there something I can do to make sure it doesn't remember previous values?

Stenly
Telerik team
 answered on 06 Jul 2023
10 answers
384 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
120 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
108 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
167 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
145 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
126 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
154 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
205 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
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?