Hi
I have a richtextbox and I want each section has its own header. In the following code I have set the header but all the sections have the same header.
I have three question
1) How can I have different header for each section.
2) How can I have access to the selected section?
3) How can I access to other sections. Because there is no index for collection sections in the Document.
I will appreciate if someone answers. Thanks in advance.
dd.Section section = new dd.Section();
dd.Paragraph paragraph = new dd.Paragraph();
dd.Span span = new dd.Span(this.txtHeader.Text);
paragraph.Inlines.Add(span);
section.Blocks.Add(paragraph);
dd.RadDocument document = new dd.RadDocument();
document.Sections.Add(section);
dd.Header header = new dd.Header();
header.Body = document;
this.radRichTextBox.UpdateHeader(this.radRichTextBox.Document.Sections.First, dd.HeaderFooterType.Default, header);
Hello!
I have a issue about show conent of RadDocumentPane when LoadLayout.
in my project,I LoadLayout of a docking from xml file,the Layout can be loaded right,
the conent in other RadPane can be shown right,but content in RadDocumentPane can not show.
this is my code:
<telerik:RadDocking x:Name="MainDocking">
<telerik:RadDocking.DocumentHost >
<telerik:RadSplitContainer>
<telerik:RadSplitContainer InitialPosition="DockedLeft" Orientation="Vertical">
<telerik:RadPaneGroup>
<telerik:RadPane Header="a1" telerik:RadDocking.SerializationTag="a2" CanUserClose="False">
<TextBlock Text="CanShow" />
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup>
<telerik:RadDocumentPane x:Name="documentPane" CanUserClose="False" Title="Robot" Header="Robot">
<TextBlock Text="CanNotShow" />
</telerik:RadDocumentPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
</telerik:RadDocking>
back code:
private MainWindow()
{
InitializeComponent();
LoadLayout();
}
public void LoadLayout()
{
var path = Path.Combine(vm.rootPath, "1.xml");
using (var fileStream = File.Open(path, FileMode.Open, FileAccess.Read))
{
var reader = new StreamReader(fileStream);
var serializationString = reader.ReadToEnd();
LoadLayoutFromString(serializationString);
}
}
private void LoadLayoutFromString(string xml)
{
using (Stream stream = new MemoryStream(Encoding.UTF8.GetBytes(xml)))
{
stream.Seek(0, SeekOrigin.Begin);
this.MainDocking.LoadLayout(stream);
}
}
what should I do?
Hi Everyone,
I want similar control as shown in attached image. I want to populate pop up window with list control when we click on button. Similar to test studio recorder control.
Is there single to achieve it? can any one tell me how to implement it ?
Regards,
Rajendar.

I would like to create a Google Chrome like application with tabs positioned in the application header.
Does the RadWindow provide any Features to achieve this?
It's pretty easy to position it right, but the tabs become unclickable this way:
<Grid Margin="0,-23,0,0" > <telerik:RadTabControl HeaderBackground="{x:Null}" x:Name="radTabControl" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.ColumnSpan="2"> <telerik:RadTabItem x:Name="RadTabItem" Header="RadTabItem" Height="24" Width="100"> <Grid Background="Transparent"/> </telerik:RadTabItem> </telerik:RadTabControl></Grid>Hi,
I am using Radchart and I use StackedBarSeriesDefinition and SeriesMappingCollection to bind it to Rad chart.
I have shortened the string to show it in x-axis. ie the Xcategory value. I need to show the full text on hover the label. Do we have any such things to show tooltip on Xaxis value?

Hi,
I want to hide some times in the TimePicker without loosing the position of the displayed times.
Currently, when I set the StartTime and the EndTime, the removed times are "collapsed" in the component.
Instead of "collapsed", I want to hide the removed times.
See screenshots.
How can I modify the TimePicker style for my need?
Hi All,
I am using Telerik RadGridView with filters. When clicking the filter icon for each column, filter box appears. When I press ALT+TAB then my application get minimizes but the filter reamins in the screen.
Can anyone helps me how to minimize the filter box when we tab outs. Below I have pasted the RadGridView in Xaml.
<telerik:RadGridView x:Name="rdgView" EnableRowVirtualization="False" DataLoadMode="Synchronous"
UseLayoutRounding="True" SnapsToDevicePixels="True" RenderOptions.EdgeMode="Aliased"
telerik:TouchManager.IsTouchHitTestVisible="False" IsReadOnly="False" CanUserInsertRows="{Binding InsertNewRow}"
AutoGenerateColumns="False" ColumnWidth="*" ShowGroupPanel="False" ItemsSource="{Binding EmployeeCollection,Mode=TwoWay}"
CanUserSortColumns="True" Height="Auto" VerticalAlignment="Top"
IsSynchronizedWithCurrentItem="True"
VirtualizingPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.HorizontalScrollBarVisibility="Auto" CanUserFreezeColumns="True" Margin="10,5,10,0"
telerik:StyleManager.Theme="Transparent"
Grid.Row="1" GroupRenderMode="Flat" NewRowPosition="Top"
DistinctValuesLoading="rdgView_DistinctValuesLoading"
>