Telerik Forums
UI for WPF Forum
1 answer
114 views

I have an HTML data provider added in XAML and it is bound to a string.

I have an items control within an items control and this is dynamically generated for each section.

I have followed all documentation online and do not know why my output is not showing style inline. Verified that it works and functions outside of the ItemsControl and just inside a grid. But I need it work below.......

 

Update 5/2/24 -- the HTLM dataProvider is working, but it is almost like all the settings in htmlExportSettings are being completely ignored.

<ItemsControl ItemsSource="{Binding MySections}">
	<ItemsControl.ItemTemplate>
		<ItemContainerTemplate>
			<Grid>
				<ItemsControl ItemsSource="{Binding MySections.MyControls}">
					<ItemsControl.ItemTemplate>
						<ItemContainerTemplate>
							<Grid>
									<telerik:HtmlDataProvider RichTextBox="{Binding ElementName=radRichTextBox}" Html="{Binding MyRichText, Mode=TwoWay, NotifyOnValidationError=true, TargetNullValue='', ValidatesOnExceptions=true}" >
										<telerik:HtmlDataProvider.FormatProvider>
											<telerik:HtmlFormatProvider>
												<telerik:HtmlFormatProvider.ExportSettings>
													<telerik:HtmlExportSettings DocumentExportLevel="Fragment"
																				ImageExportMode="UriSource"
																				ExportStyleMetadata="False"
																				StyleRepositoryExportMode="DontExportStyles"
																				StylesExportMode="Inline"
																				ExportHeadingsAsTags="True"
																				ExportFontStylesAsTags="True"
																				ExportBoldAsStrong="true"
																				ExportItalicAsEm="True"
																				ExportEmptyDocumentAsEmptyString="True"/>
												</telerik:HtmlFormatProvider.ExportSettings>
											</telerik:HtmlFormatProvider>
										</telerik:HtmlDataProvider.FormatProvider>
									</telerik:HtmlDataProvider>

									<telerik:RadRichTextBox x:Name="radRichTextBox" IsSelectionMiniToolBarEnabled="False" IsContextMenuEnabled="True" IsSpellCheckingEnabled="True" LayoutMode="Paged"/>
							</Grid>
						</ItemContainerTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>
				</Grid>
		</ItemContainerTemplate>
	</ItemsControl.ItemTemplate>
</ItemsControl>

Martin Ivanov
Telerik team
 answered on 03 May 2024
0 answers
90 views


<telerik:RadGridView.Columns>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Filename, Mode=OneWay}"
                                Width="*" />

I want my grid to resize to fill the available space if the user makes the window bigger.

The above does not do anything unless I set the parent grid width to "Auto"
Then it expands the grid to the entire screen, instead of just the Window.
(I find it extremely frustrating that the window auto expands)

What am I missing in order to get what I'm looking for?

Paul
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 02 May 2024
0 answers
92 views
Please help me to create the shape given in the image
Parth
Top achievements
Rank 1
Iron
Iron
 asked on 01 May 2024
1 answer
98 views
How to restrict the start and end times of an appointment to be at least 10 minutes apart as an integer multiple (e.g., 10, 20, 30, etc.)?
Stenly
Telerik team
 answered on 01 May 2024
0 answers
99 views

How can I show animation like the following video in diagram control with pause and play option?
sunita
Top achievements
Rank 1
 asked on 30 Apr 2024
0 answers
123 views

I am using a WPF RadAutoCompleteBox control in my application, I am trying to set a custom style to this control but there are a few behaviors I could not get it right.

This is the current look of the control:

The colors I wish to change:

1. Text color in the textblock as pointed with the green arrow.

2. The background of the selected item in the drop down menu as pointed with the blue arrow. Currently it is showing as transparent, but I wish change it into a solid color.

3. The transparent background of the drop down menu as pointed with the purple arrow.

I have tried to change the background and foreground properties but could not see the effect on the control. I have attached the style file I used for the control.

Any advice?

Thank you!

boon
Top achievements
Rank 1
 updated question on 29 Apr 2024
0 answers
77 views
In a Telerik WPF project, how to configure RadScheduleView to display the preview position of a dragged appointment at a specified time interval (e.g., 20 minutes)?
Denny
Top achievements
Rank 1
 asked on 29 Apr 2024
1 answer
97 views
Which type of control can be used to create control as per image and How ? 
Dimitar
Telerik team
 answered on 25 Apr 2024
0 answers
91 views
Which type of control can be used to create control as per image and How ?
Parth
Top achievements
Rank 1
Iron
Iron
 asked on 25 Apr 2024
1 answer
78 views

Is Telerik WPF WebCam control supported in .NET 6? If so, what package contains the definition for RadWebCam?

Thanks.

Mark
Top achievements
Rank 1
Iron
 answered on 24 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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?