Telerik Forums
UI for WPF Forum
1 answer
290 views

Hi, 

We have RadListBox control with custom ItemTemplate and ItemsPanelTemplate as VirtualizingWrapPanel. For example, in the case when the count of bound items is equal to 30k and a user wants to "Select all" with Ctrl+A, the program hangs for almost 5 seconds.

I made an investigation and found, that the issue related to a check statement "does this item present in collection"  inside SelectionChanger and it takes more than 92% of the execution time.

I am attaching the call tree after performance profiling:

 

Do you have any workaround for that or any good advice on how the issue might be solved?

Thank you in advance!

 

BR,

Andrew

 

Dilyan Traykov
Telerik team
 answered on 27 Sep 2021
1 answer
209 views

Hi everyone,

 

I have a problem when adding the items into selectedItems of a multi-selection combobox: it take too long (around 30 seconds) to add a list of 260 items.

Is there any possibility to improve that situation?

Many thanks for your help,

Minh tuan

 

minh
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 27 Sep 2021
1 answer
211 views

Hi,

We have inserted multiple signed photos into the cell.However, when we exported the image as excel, the shape and position of the image changed, which was inconsistent with that in the RadSpreadSheet.

I've already uploaded an app.

In RadSpreadSheet:

In Excel:

Nikolay Demirev
Telerik team
 answered on 24 Sep 2021
1 answer
243 views

Hi,

i try to always enable the DropDown-Part (the ToggleButton to open the drop down content) of RadRibbonSplitbutton even if the CanExecute of the binded command returns false. How can i achieve this behavior?

i have tried to set IsEnabled of the RadToggleButton via TogglePartStyle of RadRibbonSplitButton but didnt work.

 

<Style x:Key="SplitButtonToggleStyle" TargetType="telerik:RadToggleButton">
    <Setter Property="IsEnabled" Value="True"/>
</Style>

<Style TargetType="telerik:RadRibbonSplitButton" BasedOn="{StaticResource {x:Type telerik:RadRibbonSplitButton}}">
    <Setter Property="TogglePartStyle" Value="{StaticResource SplitButtonToggleStyle}"/>
</Style>

 

Thanks for your help!

Best regards,

Daniel

Dilyan Traykov
Telerik team
 answered on 23 Sep 2021
1 answer
228 views

Hi,

I tried to use a RadMasketTextInput instead of a standard TextBox, mainly because of the SelectionOnFocus/Selectall property.
Always wotks well, but the width of control doesn't use all the space left in the parent as a TextBox, in the same position, does.
I tried with stackpanel, dockpanel and Grid, this is the attempt with dockpanel:


<DockPanel Grid.Row="0" Grid.Column="0" Margin="12,0,0,0" HorizontalAlignment="Stretch">
				<Label VerticalAlignment="Center" 
Content="{DynamicResource  ResourceKey={x:Static r:ResourcesKeys.NameLabel}}" />
	<t:RadMaskedTextInput 
	  HorizontalAlignment="Stretch"
	 SelectionOnFocus="SelectAll"
         Value="{Binding SorgenteName}"/>			
</DockPanel>

And with textbox:

<DockPanel Grid.Row="0" Grid.Column="0" Margin="12,0,0,0" HorizontalAlignment="Stretch">
				<Label VerticalAlignment="Center" 
				    Content="{DynamicResource  ResourceKey={x:Static r:ResourcesKeys.NameLabel}}" />
				<TextBox 
									  HorizontalAlignment="Stretch"
							Text="{Binding SorgenteName}"/>
			</DockPanel>

With textbox I have the desired layout.

Thank you in advance

Stenly
Telerik team
 answered on 23 Sep 2021
0 answers
171 views

 

Hi,

How do i remove these folders out of build,

can you show me how to set the minimum?And if distributed on the client can I register them in GAC?

Thank you! 

 

Khanh
Top achievements
Rank 1
Iron
 updated question on 23 Sep 2021
1 answer
140 views

Hi,

I haven't used .Net in a while, I've lost some basic knowledge.

Can someone show me how to fix this underline error? 

I am using vb.net.

Please let me know if you need more details. 

 

Thank you!

Khanh
Top achievements
Rank 1
Iron
 answered on 23 Sep 2021
1 answer
169 views
Implement multiple selected text in combobox text area.
Dinko | Tech Support Engineer
Telerik team
 answered on 22 Sep 2021
1 answer
228 views

Hi, I have a shapefile from iran in UTM coordinates, I need to add the shape file to WPF, I added the shape file to my C# and XAML but it did not display. how can I resolve this problem ? if I should change the coordinate system, which coordinate system must be choose in Arc Map(GIS)?

C#

        public MainWindow()
        {
            InitializeComponent();
            fillData();
            this.MouseLeftButtonDown += delegate { this.DragMove(); };
            d_table2.ItemsSource = Dmus;
            d_table.ItemsSource = Dmus;
            this.Loaded += new RoutedEventHandler(MainWindow_Loaded);
        }

        private void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            xShapeReader.Source = new Uri("shp9/Export_Output_9.shp", UriKind.Relative);
            xShapeReader.DataSource = new Uri("shp9/Export_Output_9.dbf", UriKind.Relative);
        }

XAML

                        <Grid x:Name="LayoutRoot">
                            <telerik:RadMap x:Name="radMap">
                                <telerik:RadMap.Provider>
                                    <telerik:EmptyProvider/>
                                </telerik:RadMap.Provider>
                                <telerik:InformationLayer x:Name="xInfo">
                                    <telerik:InformationLayer.Reader>
                                        <telerik:MapShapeReader x:Name="xShapeReader"/>
                                    </telerik:InformationLayer.Reader>
                                </telerik:InformationLayer>
                            </telerik:RadMap>

                        </Grid>

Martin Ivanov
Telerik team
 answered on 22 Sep 2021
1 answer
207 views

Hi,

We have made a small extension on the RadGridView to save/load user defined layouts.
What we noticed is that, when we set IsEnabled="{Binding ViewIsViewing}", the grid is always disabled for some reason.
After a long debugging session, we are 200% sure that our ViewIsViewing property is actually set to "True".
But for some reason, the IsEnabled property is set to False.

Is this expected behavior when you extend this UI Element? Or are we overlooking something here?
I can provide more details if needed.

Kind Regards
Tim

Stenly
Telerik team
 answered on 21 Sep 2021
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?