Telerik Forums
UI for WPF Forum
2 answers
162 views
Hello Telerik team
Let’s say I want to do a mail merge using your awesome WPF RadRichTextBox, but as you know, a regular mail merge will include data coming from a database.
i have search, and search your documentation and forum,  but the provided information is very vague , even considering that most users will use the mail merge feature with data coming from a database.
And assume i have an Observable Collection (or BindableCollection for that matter) on the view model 'public ObservableCollection MyCollection"
Considering all your dataProviders and such (yes I also read about that) , how i can read data from my database into the radTextBox so i can do mail merge
The data is served by Entity Framework 6, Unit of work, Cliburn Micro and all of that, which actually does not matter because the important thing is the Observable Collection has the data i want to be bound to the telerik RadRichTextBox

Regards
Oscar
Top achievements
Rank 1
 answered on 25 Mar 2014
4 answers
166 views
I've got a RadListBox, and each item in it has a ToggleButton that opens a Popup that's defined in each of the list box items; so the Popup isn't shared between the items.  These Popups contain controls for data entry like textboxes, checkboxes, etc.  When the user clicks and drags their mouse within the Popup, the drag operation for the containing RadListBoxItem starts.  This can happen in the background of the popup or when trying to select some text within some other control in the Popup, like a TextBox.

I'd like to completely stop the drag operation from ever starting when I've got this Popup open.

What's the best way to accomplish this?
Nathan
Top achievements
Rank 1
 answered on 25 Mar 2014
2 answers
145 views
Hi,

I have a Rich Text Box with tracking changes enabled which contains a single table from a XAMLDataProvider. When adjusting the column/row widths using the thumbs in the UI i get a confirmation dialog saying "This action will be marked as changed. Do you wish to continue?".

Is there any way to disable this warning?

Many thanks,
Chris
Chris
Top achievements
Rank 1
 answered on 25 Mar 2014
1 answer
116 views
Hi,

From what have seen it's easy to apply this kind of filter to a RadGridView (Country and Capital are the columns):
Country.Contains("France") AND (Capital.Contains("Paris") OR Capital.Contains("London")) -> this will give us 1 row (France, Paris)

What about if I want to do:
Country.Contains("France") OR (Capital.Contains("Paris") OR Capital.Contains("London")) -> so I would get 2 row (France, Paris; England, London)

I read the below pages but I couldn't find a solution for this. Can I do it in some how?
http://www.telerik.com/help/wpf/radgridview-filtering-icolumn-filter-descriptors.html
http://www.telerik.com/help/wpf/gridview-filtering-programmatic.html

Thanks
Dimitrina
Telerik team
 answered on 25 Mar 2014
4 answers
462 views
I'm using an MVVM approach to an application.  My Window has a textbox, a button, and a grid.  When i click the button, i would like it to filter the grid based on the text inputted in the textbox.  I realize the grid has built in filtering, but its more than likely too complicated for our end users.

    <Grid> 
        <Grid.DataContext> 
            <Binding Source="{StaticResource MyDataContext}" Mode="OneWay"  /> 
        </Grid.DataContext> 
            <telerik:RadGridView  Margin="12,55,12,58" AutoGenerateColumns="True"    Name="RadGridView1" > 
              
            <telerik:RadGridView.ItemsSource> 
                <Binding Path="Records" Mode="TwoWay" /> 
            </telerik:RadGridView.ItemsSource>      
        </telerik:RadGridView> 
        <TextBox Height="23" HorizontalAlignment="Left" Margin="16,14,0,0" Text="{Binding SearchText}" Name="TextBox1" VerticalAlignment="Top" Width="120" /> 
        <Button Height="23" HorizontalAlignment="Right" Margin="0,14,61,0" Command="{Binding SearchCommand}" Name="Button1" VerticalAlignment="Top" Width="75">Button</Button> 
    </Grid> 

Is there any way to expose the FilterDescriptors Collection via  a binding property so i can add to it and apply the filter, since i don't have access to RadGridView1.FilterDescriptors in my code? This would be similar to how the textbox exposes it's text property.

Is there a way to expose the ColumnCollection or SortDescriptors?
Saykor
Top achievements
Rank 2
 answered on 25 Mar 2014
1 answer
116 views
Hello, I'm binding 2 TreeView controls to one source, and only 1 TreeView has data, the other is empty.
Here's my code.

radTreeview1.ItemsSource = MyClass.Children;
radTreeview2.ItemsSource = MyClass.Children;

radTreeview1 is blank. If I comment out radTreeview2, radTreeview1 displays with data, so it looks like the last item to bind will work.

Can I not use the same class to bind to 2 different controls?

Thanks,
Scott


Boris
Telerik team
 answered on 25 Mar 2014
2 answers
87 views
Hi!

Snapshots from Snagit, Adobe and other softwares does not work.
Picture does not show up.

As well available as a Jing (.swf) file:

Issue-with-pasting-snapshot-from-acrobat.swf
https://skydrive.live.com/redir?resid=18C7014863ADA2A9!554&authkey=!ANaslUjBUZIPeG8

Is there a fix for this problem?

Thanks/Anders
Anders
Top achievements
Rank 1
 answered on 25 Mar 2014
3 answers
89 views
I am generating 2 to 4 area series dynamically by referring below link from telerik documentation:

http://www.telerik.com/help/wpf/radchartview-features-chartseriesprovider.html

But these dynamic area series are showing default colors.

Is there a property I could use to control the color of dynamically generated Area series? My application is using MVVM pattern. 
Boris
Telerik team
 answered on 25 Mar 2014
1 answer
126 views
Hi there,

I need that "ESC" key has the same behavior as "Ctrl+Z" Key... In case it is not possible, disable the Undo function for creating an Undo function own.

Thank you

Best Regards. 
Petar Mladenov
Telerik team
 answered on 25 Mar 2014
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
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?