Telerik Forums
UI for WPF Forum
1 answer
75 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
94 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
Iron
 updated question on 06 Apr 2024
1 answer
103 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
83 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
92 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
74 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
90 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
68 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
189 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

Luigi
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 02 Apr 2024
1 answer
103 views

Hello,

I wanted layout as per images shared with the questions/forums. You also provided with me solutions but I am not able to draw the layout as per wish.

[ I am sharing here another picture of layout if possible can you please show me a workaround.

I am also attaching the sample project so if i am doing anything wrong can you please check?

Stenly
Telerik team
 answered on 01 Apr 2024
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
Slider
Expander
TileList
PersistenceFramework
DataPager
TimeBar
Styling
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?