Telerik Forums
UI for WPF Forum
1 answer
149 views
Could not load file or assembly 'Telerik.Windows.Documents.FormatProviders.Rtf, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

[oops hit enter too early]

 
  xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
  xmlns:telerikRTF="clr-namespace:Telerik.Windows.Documents.FormatProviders.Rtf;assembly=Telerik.Windows.Documents.FormatProviders.Rt
  xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"

<
telerik:RadGridView ItemsSource="{Binding Equipments}" CanUserFreezeColumns="False" RowIndicatorVisibility="Collapsed" IsSynchronizedWithCurrentItem="True" IsReadOnly="True" >
     <telerikGridView:RadGridView.Columns>
         <telerikGridView:GridViewDataColumn Header="Notes" IsReadOnly="true" IsFilterable="False" IsGroupable="False" IsSortable="False">
             <telerikGridView:GridViewDataColumn.CellTemplate>
                 <DataTemplate>
                     <Grid>
                         <telerikRTF:RtfDataProvider Name="rtfDataProvider" Rtf="{Binding Path=CalibrationInstructions, Mode=TwoWay}"
                 RichTextBox="{Binding ElementName=TextBoxCalibrate}"/>
 
                         <telerik:RadRichTextBox Name="TextBoxCalibrate">
 
                         </telerik:RadRichTextBox>
                     </Grid>
                 </DataTemplate>
             </telerikGridView:GridViewDataColumn.CellTemplate>
         </telerikGridView:GridViewDataColumn>
     </telerikGridView:RadGridView.Columns>
 </telerik:RadGridView>



 
Mihail
Telerik team
 answered on 28 May 2012
1 answer
116 views
Hello everybody!

I need to achieve the following behavior:
Select multiple dates by clicking them one by one.
Unselect a date by clicking a selected one.

Can I have these behavior with the Multiple selection mode?

I hope you can help me.
Best regards.
Yana
Telerik team
 answered on 28 May 2012
1 answer
250 views
Hi,

It would be great if you guys could develop controls that can scan documents and read the BarCodes and tick box fields etc.

I work in a company where engineers visit sites to complete jobs which are detailed in printed job sheets/reports. When they return to the head office, a member of our admin staff has to manually "check off" the completed items in the database system. It would be great if we could scan the reports that have been returned, read the BarCodes and "tick boxes" so that the system can automatically tick off the completed outstanding jobs in the database system.

Something similar to what these guys offer here.

Just a suggestion.

Thanks,

Rob
Yavor
Telerik team
 answered on 28 May 2012
1 answer
102 views
Hi Telerik team, I'm facing a problem of using RadCarousel as RowDetail in a GridView, as the RadCarousel path isn't streching along the row detail, only the RadCarousel background is.

The result is a big empty blank space from the RadCarousel, and the Carousel itens left-aligned.

Here is the sample:

<telerik:RadRibbonWindow
    x:Class="EDAS.MainWindow"
    xmlns:telerikRibbon="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonView"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
    Title="EDAS - Environmental Documentation Alert System"
    Height="640"
    Width="1024"
    WindowStartupLocation="CenterScreen">
 
    <!-- hidded code -->
 
        <telerik:RadGridView Grid.Row="1"
                             ItemsSource="{Binding Path=Documentos}"
                             CanUserFreezeColumns="False"
                             RowIndicatorVisibility="Collapsed"
                             RowDetailsVisibilityMode="VisibleWhenSelected"
                             AutoGenerateColumns="False"
                             x:Name="DocGrid"
                             IsReadOnly="True"
                             Visibility="{Binding Path=DocVisibility}">
 
    <!-- hidded code -->
 
            <telerik:RadGridView.RowDetailsTemplate>
                <DataTemplate>
                    <UserControl>
                        <Grid DataContext="{Binding Path=AnexosContext}">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Grid.Resources>
                                <Path x:Key="Horizontal"
                                      Stretch="Fill"
                                      Opacity="1"
                                      Data="M 9,200 C9,200 450,200 450,200 "
                                      Stroke="#FFB4B4B4"
                                      StrokeThickness="1" />
                            </Grid.Resources>
                            <telerik:RadCarousel Grid.Row="0" ItemsSource="{Binding Path=Anexos}" HorizontalScrollBarVisibility="Disabled">
                                <telerik:RadCarousel.ItemsPanel>
                                    <ItemsPanelTemplate>
                                        <telerik:RadCarouselPanel HorizontalAlignment="Stretch" Path="{StaticResource ResourceKey=Horizontal}" IsContinuous="True" IsPathVisible="True" />
                                    </ItemsPanelTemplate>
                                </telerik:RadCarousel.ItemsPanel>
                            </telerik:RadCarousel>
                            <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
                                <telerik:RadButton Content="Adicionar" Width="75" Command="{Binding Path=AddCommand}" />
                                <telerik:RadButton Content="Remover" Width="75" Command="{Binding Path=DeleteCommand}" />
                            </StackPanel>
                        </Grid>
                    </UserControl>
                </DataTemplate>
            </telerik:RadGridView.RowDetailsTemplate>
        </telerik:RadGridView>
</telerik:RadRibbonWindow>

Am I missing some configuration?

Thanks.
Vlad
Telerik team
 answered on 28 May 2012
1 answer
149 views
Hello,
The expander only expands on mouse click, but unfortunately not on touch via touchscreen monitor.
How can I enable the touch handling?
Thanks,
Enrico
Miro Miroslavov
Telerik team
 answered on 28 May 2012
8 answers
157 views
Hi

I have a document with lots of pairs of "readonlyrange-followed-by-permissonrange".
The readonlyranges(->ROR) are Titles, the permissonranges (->PR)
are the place where the users enter their input related to the title.

The XAML source code looks like:

<t:Paragraph>
      <t:BookmarkRangeStart AnnotationID="1" Name="SingleResult_TITLE" />
      <t:ReadOnlyRangeStart AnnotationID="2" />
      <t:Span Text="TITLE" />
      <t:ReadOnlyRangeEnd AnnotationID="2" />
      <t:BookmarkRangeEnd AnnotationID="1" />
      <t:BookmarkRangeStart AnnotationID="3" Name="SingleResult_TEXT" />
      <t:PermissionRangeStart AnnotationID="4">
        <t:PermissionRangeInfo Name="jmiller" Type="Individual" />
      </t:PermissionRangeStart>
      <t:Span Text="¬hello}" />
      <t:PermissionRangeEnd AnnotationID="4" />
      <t:BookmarkRangeEnd AnnotationID="3" />
    </t:Paragraph>

The current user of the richtextbox is "jmiller" so the PR is editable.

Now there is a little issue with deleting all text from the span / PR via the keyboard.
When all text is gone and the cursor is at the end of the ROR -
with text "TITLE" - one cannot enter new text into the PR again, although the
PR is still there (as proved by saving it as XAML).
I think that's because the Cursor position is considered as belonging to the
ROR, so it is not editable.
And since the PR is empty, I can't position the cursor to the start of the PR
with the mouse.

Is there a way / trick how i must arrange ROR and PR so that i can remove all contents
from the PR but have it still accepting new input?
Can I position the cursor programmatically into the empty PR
when it is at the end of the ROR (by some event handler)
or can I control, whether the end-of-ROR position is regarded as
inside or outside the ROR?

Thanks in advance
Greetings, Chris
Robert
Top achievements
Rank 1
 answered on 25 May 2012
1 answer
148 views
Hi,

When tabbing in a document I noticed that the span XAML output is like so:

<t:Span Text="&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;" />

How do you programmatically achieve the same result?

Do I just do:

radRichTextBox.Document.Insert("&#x9;")  ?

If you can do the above, is it possible to change the value of 9 to say 20 to make the span distance larger? i.e.

radRichTextBox.Document.Insert("&#x20;")

Does the &#x9; code represent 9 blank spaces, " " (same as the space bar) ? or does it have a special size associated to it?

Thank you for your time,

Rob

Vasil
Telerik team
 answered on 25 May 2012
1 answer
112 views
Hi,
Please give me sample project for custom hierarchy template parent child grid. i saw the sample It's fit with my requirement but i am struggling to load bind the data to the parent and child record.

Regards
Rajini
Rajini
Top achievements
Rank 1
 answered on 25 May 2012
4 answers
177 views
Hi,
I want to use the built in filters for the grid, but the icon does not appear

This is my XAML code
<telerik:RadTreeListView x:Name="grid" Grid.Row="2" AutoGenerateColumns="False" RowLoaded="grid_RowLoaded" IsFilteringAllowed="True"
                                 RowIsExpandedChanged="grid_RowIsExpandedChanged" RowIsExpandedChanging="grid_RowIsExpandedChanging" SelectionChanged="grid_SelectionChanged" CellEditEnded="grid_CellEditEnded">
            <telerik:RadTreeListView.ChildTableDefinitions>
                <telerik:TreeListViewTableDefinition ItemsSource="{Binding Path=Children}" />
            </telerik:RadTreeListView.ChildTableDefinitions>
        </telerik:RadTreeListView>

And I create the Columns in code behind, I are there any properties I need to enable ?
When I have tried to set the IsFilterable = true in the code behind where I create the columns.

And I am using Telerik Dll's V.2012.1.326.40

Thank you
Kristján


Kristjan Einarsson
Top achievements
Rank 1
 answered on 25 May 2012
6 answers
290 views
Currently my task is to remove the rounding border around the cell. How to do this? I am a very long time WinForms developer that is getting used to xaml now.

I also imagine that in some later scenarios I would want to emphasize the border, maybe with different coloring, etc. So this is the similar question as above.

When I inspect the visual tree, I see that structure goes like this: PART_MasterGridContainer -> HierartchyBackground -> PART_ItemsScrollViewer -> PART_RootPanel -> ScrollContentPresenter -> PART_GridViewVirtualizingPanel -> TreeListViewRow -> Border-> SelectiveScrollingGrid -> PART_DataCellsPresenter -> Grid -> ItemsPresenter -> TreeListCellsPanel -> GridViewCell

I have searched through TreeListViewRow template that is located in Themes.Implicit project, and I found PART_DataCellsPresenter in it, but thats far as I could get. I see that there is also a GridViewCell implicit style, but that would mean I would change this for each GridViewCell (even for the GridView control). So, how do I connect these template into one style that I will use explicitly?
Goran
Top achievements
Rank 1
 answered on 25 May 2012
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?