Telerik Forums
UI for WPF Forum
3 answers
212 views

I have two problems and a question concerning RadRichTextBox:

Problem 1: I have imported (with RtfFormatProvider ) an RTF document (Word RTF ) to RadRichTextBox. This document contains a header with merge fields. Also some other merge fields in the “body” of the document. I have also attached a merge collection with some dummy data to the document. When the document is opened in RadRichTextBox then the merge fields in the head are already mailMerge’ed. The merge fields that are not in the head is not mailMerge’ed . What to do, to avoid that mailmerg are not be performed in the header of the document when open in RadRichTextBox?

Problem 2: Same RTF document (Word RTF) as above. In the head, there is a TAB between the merge fields, but the distance between the merge fields are shorter when the document is imported into RadRichTextBox than when it is open in Word. The rest of the document, look like the same. What should I do to change TAB space in the header?

One question: When it have completed a Mailmerge (test mailmarge). Can I undo (with code) the Mailmerge? I just want to be able to test Mailmerge, that it was correct and then recover the document as it was before the Mailmerge, and also if I have added some text after the Mailmerge or something else like change text till bold. The recovered file should also contain the changes after the mailmarge.

Todor
Telerik team
 answered on 24 Jun 2016
2 answers
176 views

Hi,

       I am implementing an app using RadBook. I am using data templates to bind the data. When the data is more than the page height, i want to avoid the page scroll and port that overflown data in to the next page.

Attaching images to show how i want the data to be spilt in to two pages. Right now, entire data is shown up in a single page with a scrolling.

Is there a method available with Radbook to attain this? If not, what are the alternate solutions i can try to achieve this effect.

Thanks in advance

 

regards

P A Naidu

 

Naidu
Top achievements
Rank 1
 answered on 24 Jun 2016
1 answer
297 views

I want to know, how to faster load RadGridView.

RadGridView code is below.

                        <telerik:RadGridView x:Name="Part_TagListGridView_AI" DataContext="{Binding}" ItemsSource="{Binding TagAICollections}" AutoGenerateColumns="False" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" ShowColumnFooters="True" ShowGroupPanel="False" ShowGroupFooters="False" ScrollMode="RealTime" AllowDrop="True" IsFilteringAllowed="False" GroupRenderMode="Flat" RowStyle="{StaticResource RadGridRowCommonStyle}" MouseDoubleClick="Part_TagListGridView_MouseDoubleClick" RowIndicatorVisibility="Collapsed" CanUserReorderColumns="False">
                            <telerik:RadGridView.Columns>
                                <telerik:GridViewDataColumn  Header="태그ID-AI" DataMemberBinding="{Binding TAG_ID}" IsReadOnly="True" />
                                <telerik:GridViewDataColumn  Header="장치 ID" DataMemberBinding="{Binding DEVICE_ID}" IsReadOnly="True"/>
                                <telerik:GridViewDataColumn  Header="장치 명칭" DataMemberBinding="{Binding DEVICE_NAME}" IsReadOnly="True"/>
                                <telerik:GridViewDataColumn  Header="그룹 ID" DataMemberBinding="{Binding GROUP_ID}" />
                                <telerik:GridViewDataColumn  Header="포인트 인덱스" DataMemberBinding="{Binding POINT_IDX}" />
                                <telerik:GridViewDataColumn  Header="태그 종류(Code)" DataMemberBinding="{Binding TAG_TYPE_CODE, Converter={StaticResource TagTpCodeConvert}}" CellEditTemplate="{StaticResource TagTpComboBox}" IsReadOnly="True"/>

 

                               ............... column count is 36. .......................

                            </telerik:RadGridView.Columns>
                        </telerik:RadGridView>

 

And data error check in code behind.

 

Maximum row count is 1000.

Please, answer to me.

Thank you.

 

Dilyan Traykov
Telerik team
 answered on 23 Jun 2016
5 answers
225 views

I have a column which shows the state of my object in colors. It also shows a short name as text. The grouping and sorting works on the state, which is an enum.

I would want the text search (as in RadGridView.ShowSearchPanel) to search for the short name.

Is there a setting on the column that lets me do this?

 

(I really do not want to change the DataMemberBinding which binds to the state, because the looks and function of the cell is in styles and templates, which are reused all over my applications).

 

Thanks,

Inger Marie

Stefan Nenchev
Telerik team
 answered on 23 Jun 2016
2 answers
105 views

Dear support,

I need a textlabel above the grid that displays the number of filtered columns.

My columnfilters are all implemented the way that is described in der following article http://docs.telerik.com/devtools/wpf/controls/radgridview/filtering/custom-filtering-controls.

Is there a property which contains the number of active filter that I can bind to my textlabel? Or how can I implement it to achieve this aim.

Thanks in advance

Marcus

Marcus
Top achievements
Rank 1
 answered on 23 Jun 2016
7 answers
209 views

Hallo everyone,

in an actual project I have the following problem. I use:

-RadMaskedNumericInput* 

-MaskToken (For Example: #9.2)

The user can't write more than 11 numeric digits in it. Thats ok, but if he copy & paste a value with more digits in it, it appears in the 

DataRow behind (See attached file). Even if AllowInvalidValues equals to false. 

Its a workaround to prove the length by every input,  but thats not really what the developer expects. In a business application with over hundreds of elements a developer will not check everytime if the length of the value is correct, so this can't be the right way.

*Don't know if it appears by other "MaskedInput"-controls

Petar Mladenov
Telerik team
 answered on 23 Jun 2016
4 answers
178 views

Hi, I have two questions regarding recorder in RadDocumentPane.

1. I am using RadDocumentPane to host several panes. I would like to allow users to reorder these panes by drag and drop any of the tabs. In the same time, I have a RadTreeView, which contains the same panes like RadDocumentPane. I would like to be able to get notified when user finished reordering the tabs in RadDocumentPane so that I can sync it to my RadTreeView. What event should I subscribe to in the RadDocumentPane? So far I have tried Drop, DragDrop.Drop, none of these triggers when I finished reorder and drop onto RadDocumentPane.

2. Also, I would like to change the order in RadTreeView, and sync it to RadDocumentPane. By DragDrop in RadTreeView, I could reorder these view models, and I am doing this:

        public void UpdatePanes(IEnumerable<BasePaneViewModel> pages)
        {
            if(pages == null || Panes == null) return;

            foreach (var page in pages)
            {
                Panes.Remove(page);
                Panes.Add(page);
            }
        }

Would this be a good way to recorder in RadDocumentPane or if there is better way to do it?

 

Thanks.

Mingxue

Yana
Telerik team
 answered on 23 Jun 2016
1 answer
145 views

Hi everybody!

I have this problem: while the user types a new word in a RadRichTextBox with SpellChecker activated, the red wavy line appears for every character that makes the partial word wrong, even if the word is not completely typed.

Example: writing the word "these" in your RadRichTextBox Demo Application

t --> error
h --> error
e --> OK (word = "the")
s --> error
e --> OK (word = "these")

Since out application is primarily used by dyslexic young children (7-13 yo), seeing this fictitious error is a problem because they can't easily figure out if there's a typo in what they wrote before or simply because the word is still incomplete.

 

Now for the million-dollar question: Is there a way to inhibit this behavior and activate spellchecking for a newly typed word ONLY after a non alphanumeric char has been typed? This mechanism should trigger when I press space, but also Enter or a punctuation char like ? or !, full stop or comma and so on.

P.S.: I was in doubt about where posting this thread, RichTextBox or SpellChecker. If I posted it in the wrong place, I ask for an Admin to move it where it should belong.


Thanks in advance, cheers!

 Fabrizio

Boby
Telerik team
 answered on 23 Jun 2016
7 answers
925 views

Well, it used to work, at least on version 2012.3 (I've verified it)

However, if you do the same on 2016.2, then it doesn't work. The cell is left in some kind of edit mode, while the keyboard cursor is not blinking.

 

This is frustrating, since after updating to the new version, I'm wasting more time on fixing stuff that used to work than writing new features, and I'm sure that I'll find more issues in the future.

 

Is there something that can be configured in order to make it work like it used to? I already tried ActionOnLostFocus="CommitEdit"

Why was this feature removed? It seems only logical to exit edit mode when clicking anywhere outside the edited cell.

 

Thanks.

BENN
Top achievements
Rank 1
 answered on 23 Jun 2016
10 answers
1.0K+ views
Your example for the Reorder rows is very good with the exception that I can't show the DropPreviewLine.  In the silverlight documentation it shows an example for it with the preview line, but neither the silverlight or WPF demo example have the preview line.  I am hoping that you have a WPF example that will show the preview line as well.

Thanks!

Troy
Dilyan Traykov
Telerik team
 answered on 22 Jun 2016
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?