Telerik Forums
UI for WPF Forum
1 answer
135 views

Hi,

The scenerio we are working on:

  • User A opens a template (docx) with RadRichTextBox.
  • Template has two MergeFields, "Subject" and "Signed".
  • User A updates the document and "Subject" MergeField is set to "User A's Subject".
  • Then User A saves the document as Docx and sends it to User B.
  • User B signs the document and "Signed" MergeField should be set to "Yes", but "Subject" MergeField shouldn't be updated.

 

The problem is, when User B opens the document, application does not have the User A's MergeFieldSource. So when application merge fields, it updates both "Subject" and "Signed" MergeFields.
 

I've tried couple of solutions, one with RadRichTextBox.MergeFieldToStringConverting event and one with inheriting MergeField.

In RadRichTextBox.MergeFieldToStringConverting solution, MergeFieldToStringConvertingEventArgs doesn't have the old/original value (before merging). If it was, I could pass the old value to the "Subject" MergeField when User B updates the document.

In CustomField implementation, I could have find a solution, if there were a functionality like; when protected override DocumentFragment GetResultFragment() method returns null, corresponding MergeField does not updates it's own value. But there is no such a functionality.

One another solution could be, enumerating the MergeFields in the document and update only the required ones. (This is possible in Office Word API). But I couldn't find a way to achieve the is with RadRichTextBox.

I've added a sample solution demonstrating the scenerio. (Using Telerik version 2012.3.1017.45)

Regards.

Iva Toteva
Telerik team
 answered on 12 Nov 2012
1 answer
210 views
Hi,

i'm using wpf controls 2012 Q3. There is no MaskedInput for a Password? I am surprised that telerik has not developed yet.
Is here someone who developed a MaskedInput Type= "Password" + Binding?

Thanks
Best Regards
Rene
Pavel R. Pavlov
Telerik team
 answered on 12 Nov 2012
4 answers
93 views
Hi all,
I've tried PivotGrid control on OLAP to a my local cube on Analysis Service and I noticed that data was in wrong columns (randomly).
So I've tried the WPF demo on OLAP and same problem on data.
In attach you can find mistakes to reproduce it on the example.
I think that this is a bug (I know that this control is still beta...) and I've also noticed this mistake in silverlight control too.

Regards,
Davide
Milan
Telerik team
 answered on 12 Nov 2012
6 answers
316 views
How can I select and copy text to the clipboard with PDF Viewer in Q2?

I couldn't find anything in the documentation?

There is a copy method but I cannot select text in the viewer control with the mouse.

regards,
Victor
Ivaylo Gergov
Telerik team
 answered on 12 Nov 2012
8 answers
251 views
Dear Telerik,

Please find attached gridview filter snapshot. If the items are more its not displaying other filter criterias.

Thanks in advance.....

Regards,
Mohammed. Yasser
Rossen Hristov
Telerik team
 answered on 12 Nov 2012
2 answers
505 views
I'm having difficulty to display the data on the chart where the data are changed dynamically.
The graph would not populate the data according to the changes made.
Below is the snippet of the code, kindly guide if i did anything wrong.

p/s: The GetData will get the changes of data to be plot on the graph

XAML:
<chartView:LineSeries Stroke="Red" StrokeThickness="2" ItemsSource="{Binding ListValue}" ValueBinding="Value" CategoryBinding="Category">

ViewModel.cs
private List<SampleClass> tempList;
public List<SampleClass> ListValue
{
     :
     :
}
public void GetData(string tempValue)
{
       SampleClass item = new SampleClass ();
       item.Value= tempValue;
       item.Category = m_counter++;
       tempList.Add(item);
 
       ListValue= tempList;
}
kl
Top achievements
Rank 1
 answered on 12 Nov 2012
0 answers
158 views
I have 2 scenarios where I want to WYSIWYG print a usercontrol. In one scenario I have a RadGridView that can span multiple pages in both X and Y directions. In the second scenario I have a RadTreeView that can span multiple pages in Y. I want to print the content of the grid and the treeview, without scrollbars. If possible I would like to provide the user with print preview functionality, and I want to include page numbers.
Does anyone know how to do this?
Erik
Top achievements
Rank 1
 asked on 11 Nov 2012
5 answers
105 views
Hello,
I want to merge the RadGrid Column Headers as shown in
attach below.
Is it possible?

Thank You.
Sergiy
Top achievements
Rank 1
 answered on 10 Nov 2012
2 answers
141 views
Hi,
I want to add a image in auto hide area, for your understand i have attached a image please check once.
I want to add that image in Style(instead of adding in window) so that it will be available in all projects.

Regards,
Srinvias.
Michael
Top achievements
Rank 1
 answered on 09 Nov 2012
3 answers
173 views
I currently have a fairly large application that was built in Winforms.  We are adding additional extension/Features to this app which are to be built in Telerik WPF.
My problem is:
when I create a user control with Telerik WPF that has a RadDocking Control, then I include the user control by adding it as a child to a ElementHost which is then placed on the winform.
When we try to move a pane around in the RadDocking control, the arrows for placement(compass) show outside the application.

I have tried just a simple winform adding the user control and get the same results.

Is there a solution for this, or am i doing things wrong?

Any advice would be helpful
Konstantina
Telerik team
 answered on 09 Nov 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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?