Telerik Forums
UI for WPF Forum
1 answer
18 views

Hello,

I have a floating RadPane, I need to identify when the user stops dragging it. It can be still floating and and not docked.

Stenly
Telerik team
 answered on 08 Apr 2024
1 answer
16 views

Hello,

We are developing a medical system for hospitals. One of the functionalities is to allow users to use an editor or designer to create interactive documents such as referrals, patient questionnaires, etc. It is important that such a document could be printed, e.g. in A4 format.

Which controls will help us build designer documents?

Greetings

Jarek

Dimitar
Telerik team
 answered on 08 Apr 2024
0 answers
17 views

I have been trying to use a VirtualQueryableCollectionView with a RadGridView but no matter what I do, the grid view is always empty.

// Person is an entity.
public class Person
{
    public string Name { get; set; }
    public string Dept { get; set; }
    public double Salary { get; set; }
}

public VirtualQueryableCollectionView PeopleView { get; set; }

// dbContext is an OData DataServiceContext. peopleQuery has a Count() of 1000 items.
IQueryable<Person> peopleQuery = dbContext.Person.OrderBy(x => x.Name);
PeopleView = new VirtualQueryableCollectionView(peopleQuery) { LoadSize = 50 };    
OnPropertyChanged(nameof(PeopleView));
<telerik:RadGridView AutoGenerateColumns="True"
                     ItemsSource="{Binding PeopleView}" />
But the grid view is empty. Just wondering what I'm doing wrong. Thank you.
Wizard6650
Top achievements
Rank 1
Iron
 updated question on 06 Apr 2024
1 answer
18 views

Using .NET 6 and version 2024.1.312 of DataVisualization.for.Wpf.Xaml. Compiling with this reference gives this warning:

warning NU1603: Telerik.Windows.Controls.DataVisualization.for.Wpf.Xaml 2024.1.312 depends on System.ServiceModel.Http (>= 6.0.2) but System.ServiceModel.Http 6.0.2 was not found. An approximate best match of System.ServiceModel.Http 6.1.0 was resolved.

Nuget prefers the lowest version specified apparently and there is no 6.0.2 in the feed:

https://www.nuget.org/packages/System.ServiceModel.Http/6.0.0#versions-body-tab

I think the fix here is for the nuget package to require a minimum version that does exist in the feed. Here is a detailed discussion:

https://github.com/NuGet/Home/issues/5764

Martin Ivanov
Telerik team
 answered on 05 Apr 2024
1 answer
18 views
Is there a way to delete all rows inside a RadGridView after a button event has been pressed?
The documentation shows how to delete the row/rows via keyboard(from a user) or manually but didn't found via code

Example: The user presses a button that deletes all text inside textboxes including the rows data inside the RadGridView
Martin Ivanov
Telerik team
 answered on 04 Apr 2024
1 answer
20 views

hello,

           Dash line style connector and simple line style connector draw together in draw in one diagram.

           Diagram binding using datasource.

Martin Ivanov
Telerik team
 answered on 04 Apr 2024
0 answers
12 views


  <Style x:Key="CrashPager"
         TargetType="telerik:RadDataPager"
         BasedOn="{StaticResource {x:Type telerik:RadDataPager}}">
      <Setter Property="Margin"
              Value="0,0,0,0" />
      <Setter Property="Padding"
              Value="0,0,0,0" />
      <Setter Property="Height"
              Value="Auto" />
      <Setter Property="VerticalAlignment"
              Value="Top" />
      <Setter Property="VerticalContentAlignment"
              Value="Top" />
  </Style>

 

The code above has no margin and no padding.
Something is chopping the bottom from the RadDataPager control.
My guess is that this is being caused by the theme.
How can I get to show the control correctly?

 

Paul
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 04 Apr 2024
1 answer
13 views

Hi Team,

I'm trying to add a RadNotifyIcon into my telerik wpf project, but it keeps throwing the error  below in xaml file

"the name RadNotifyIcon does not exist in the current namespace".

    <telerik:RadNotifyIcon x:Name="NotifyIcon"
                                       ShowTrayIcon="False"
                                       TrayIconSource="/NotifyIcon;component/Icons/TelerikWPFNotifyIcon.ico"
                                       PopupContentTemplate="{StaticResource NotifyIconPopupContentTemplate}" />

I did follow the below options , but still not working.

  1. clean and rebuild project
  2. adding reference to the telerik.windows.controls and telerik.windows.controls.navigation
  3. deleting obj and bin folder and rebuild project
  4. close and open visual studio
  5. restart my windows 
  6. change build platform to x86 from anycpu and vice versa.

the visual studio version I'm using is Microsoft Visual Studio Community 2022 (64-bit) - Current, Version 17.4.3

Any suggestion will be helpful.

Thanks,

Lenin.

 

 

Dimitar
Telerik team
 answered on 03 Apr 2024
1 answer
15 views

Hello Telerik Team,
We are using Telerik 2023.2.718.45.

If I use PivotFieldList, it is not showing up in the UI for the above version.
But if I try the older version 2020.3.915.45, it is working good.
I don't know what is wrong in the new one.

I have attached the sample project which uses the latest version.
Please refer it and let us know the solution for the same.

I have also attached the screenshot of the UI of both versions.


Thanks,
Muhammad Azhar Shah

Stenly
Telerik team
 answered on 02 Apr 2024
0 answers
15 views

Hi

I have the following datatemplate:

		<DataTemplate 
			x:Key="ReportComponentTemplate">
			<Grid>
				<Grid.RowDefinitions>
					<RowDefinition Height="*"/>
					<RowDefinition Height="30"/>
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="30"/>
					<ColumnDefinition Width="*"/>
				</Grid.ColumnDefinitions>
				<CheckBox IsChecked="{Binding Included}" Margin="5,0"/>
				<TextBlock
					Grid.Column="1" Text="{Binding Didascalia}" HorizontalAlignment="Stretch"
					TextWrapping="Wrap"/>
				<t:RadComboBox Grid.Row="1" Grid.ColumnSpan="2"
					Width="150"
					Visibility="{Binding DataContext.TemplatePath, 
						RelativeSource={RelativeSource AncestorType=local:TreeViewReportControl},
						Converter={StaticResource StringEmptyToHide}}"
					VerticalAlignment="Top" Margin="5,0"
					HorizontalAlignment="Left"
					ItemsSource="{Binding TagsDisponibili}"
					SelectedItem="{Binding TagSelezionato, NotifyOnTargetUpdated=True, Mode=TwoWay}">
					<i:Interaction.Triggers>
						<i:EventTrigger EventName="SelectionChanged">
							<i:InvokeCommandAction Command="{Binding DataContext.TagSelezionatoUpdatedCommand
								, RelativeSource={RelativeSource AncestorType=local:TreeViewReportControl}}"/>
						</i:EventTrigger>
					</i:Interaction.Triggers>
				</t:RadComboBox>
			</Grid>
		</DataTemplate>
This datatemplate is used as itemtemplate of a internal node of a radtreeview.
The Vsual tree is the following:

<t:RadDocking>
	<t:RadSplitContainer MaxWidth="600" t:DockingPanel.InitialSize="400,150" Name="LeftContainer" InitialPosition="DockedLeft">
		<t:RadPaneGroup>
			<t:RadPane>
				<Grid>
					<t:RadBusyIndicator>
						<t:RadTreeView>
						</t:RadTreeView>
					</t:RadBusyIndicator>
				</Grid>
			</t:RadPane>
		</t:RadPaneGroup>
	</t:RadSplitContainer>
</t:RadDocking>

Of course there are many other controls.
The strange here it is that textblock inside the row 1 of  ReportComponentTemplate systematically overflow the width of its parents.
I can set a fixed width or a maxwidth, but I want that it occupy the full available area (but not over).
Thank you
Luigi

Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 02 Apr 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?