Telerik Forums
UI for WPF Forum
11 answers
313 views
HI.

What are the different sources that can be used for the RadBook? I know that you can use images, but what else?.
Can you use a word/ppt/pdf document as a source? Up to now, I had to convert all pages to images, load them in an observable collection, and point the collection as the source for the RadBook.

Can I assign a word document as a source, without doing any conversions?

Regards

Eduan
Роберт
Top achievements
Rank 1
 answered on 23 Jan 2012
10 answers
1.6K+ views
We have a requirement to drive our tab control from elsewhere in the application, and so, the header tabs have become unnecessary. 

Is there a way we can hide the tabs in a RadTabControl?  Or, is there a better control for our needs? 

TIA

Brian 
Gene
Top achievements
Rank 1
 answered on 22 Jan 2012
1 answer
96 views
Hello,

I am using Version 2011.2.920.40

We shows connectors for series label in chart.
And when we are increasing window size, we are also changing Series item label font size dynamically(by applying custom Series Item Label style).

(Series Item Label font size is 11)

when font size increase, connectors will be disappeared.
(Series Item Label font size is 12)

Please provide me help!!

Thanks in advance.
Evgenia
Telerik team
 answered on 21 Jan 2012
1 answer
119 views
Hello,

I am using RadGridView for WPF. After changing cell's value in the grid and selecting another control (for example dropdown list or button on the same window) row is still in editable mode and changes in the cell is not applyed to corresponding model (I am using default binding). How could I force Grid to switch from Edit mode back to view mode on losing focus or when some command is executed (for example, command that is binded to the button).

Thanks,
Alexey Smirnov
Nedyalko Nikolov
Telerik team
 answered on 21 Jan 2012
0 answers
151 views
I need to bind string format dynamically in the grid column.
Vishwajeet
Top achievements
Rank 1
 asked on 21 Jan 2012
1 answer
144 views
Hello,

the MiniToolbar and the ContextMenu are not visible.
If I select a text or cklick left in the RTB nothing happens.

This is my (simple) code:

<telerikRtf:RtfDataProvider
            Rtf="{Binding ElementName=simpleRichTextBox, Path=Text, Mode=TwoWay}"
            RichTextBox="{Binding ElementName=radRichTextBox}" />
        
        <telerik:RadRichTextBox Margin="2"
                                x:Name="radRichTextBox"
                                IsSelectionMiniToolBarEnabled="True"
                                IsContextMenuEnabled="True"
                                MinHeight="100"
                                IsReadOnly="{Binding ReadOnly}"
                                DocumentInheritsDefaultStyleSettings="True"
                                FontSize="8"
                                >
        </telerik:RadRichTextBox>


Thanks for you help,
Manuel
Iva Toteva
Telerik team
 answered on 20 Jan 2012
2 answers
341 views
Hi,

I am using RadRibbonView(with title) within a RadRibbonWindow. The title shows up in the center on the top of the window. I want to display it right next to the Window Icon. I tried modifying the template for RadRibbonView but I couldn't figure this out.

Any suggestions about how I can achieve this?

Thanks,
Nav
Hyddude
Top achievements
Rank 1
 answered on 20 Jan 2012
4 answers
691 views
What is the use of Command when using RadComboBox, when it does not seem to fire when the selection inside the RadComboBox changes?

When I hook the command, it seems to fire once, when the command is initialized, then it never fires. 

Gautam
Top achievements
Rank 1
 answered on 20 Jan 2012
1 answer
1.1K+ views
Hi,

I would like to allow either comma and dot as decimal separator in GridViewDataColumn.

<telerik:GridViewDataColumn Header="Qté" DataMemberBinding="{Binding Quantity, Mode=TwoWay}"/>

Where Quantity is :

private double _quantity;
        public double Quantity
        {
            get { return OrderUnit == PackagingUnit.Kilogram ? Math.Round(_quantity, 3) : Math.Round(_quantity, 0); }
            set
            {
                if (_quantity == value) return;
                _quantity = value;
                RaisePropertyChanged(ReflectionUtility.GetPropertyName(() => Quantity));
 
                Refresh();
            }
        }

The ViewModel set those parameters in constructor :

var culture = new CultureInfo("fr-FR", false);
 
            culture.NumberFormat.CurrencyDecimalSeparator = ".";
            culture.NumberFormat.NumberDecimalSeparator = ".";
            culture.NumberFormat.PercentDecimalSeparator = ".";
 
            culture.Parent.NumberFormat.CurrencyDecimalSeparator = ".";
            culture.Parent.NumberFormat.NumberDecimalSeparator = ".";
            culture.Parent.NumberFormat.PercentDecimalSeparator = ".";
 
            LocalizationManager.DefaultCulture = culture;
 
            Dispatcher.CurrentDispatcher.Thread.CurrentCulture = culture;
            Dispatcher.CurrentDispatcher.Thread.CurrentUICulture = culture;
 
            Thread.CurrentThread.CurrentCulture = culture;
            Thread.CurrentThread.CurrentUICulture = culture;

Result :

When the cell isn't in EditMode, if quantity is 4,268, the cell displays 4.27 : it's why I want.

But when the cell is in EditMode: if user write 4.58 for example, the value isn't recognize as a valid double and is converted back. When writting 4,58, the value is successfully recognized.

Thanks
Dimitrina
Telerik team
 answered on 20 Jan 2012
1 answer
141 views
When the RichTextBox is empty upon start, the caret does not show when I click on the control.  However, when I type into the richtextbox, the text shows and the caret appears as well.  I tried setting the caretposition of the document in the constructor, but that doesn't work.  How do I make the caret show upon start?  

Below is the xaml of the usercontrol.

<UserControl x:Class="CommonControl.HtmlEditor"
    xmlns:telerikHtml="clr-namespace:Telerik.Windows.Documents.FormatProviders.Html;assembly=Telerik.Windows.Documents.FormatProviders.Html"
    xmlns:telerikHtmlMain="clr-namespace:Telerik.Windows.Documents.FormatProviders.Html;assembly=Telerik.Windows.Documents"
    mc:Ignorable="d">
 
    <telerik:RadRichTextBox HorizontalAlignment="Stretch" LayoutMode="Flow" x:Name="editor" AllowDrop="True" Drop="editor_Drop" ShowComments="False"
                            BorderBrush="Transparent" BorderThickness="0" MinWidth="536" IsSelectionMiniToolBarEnabled="False"
                            IsContextMenuEnabled="True" IsInHeaderFooterEditMode="False" DocumentPresentationChanged="EditorDocumentContentChanged"
                            MaxWidth="1024">
    </telerik:RadRichTextBox>
</UserControl>
Martin Ivanov
Telerik team
 answered on 20 Jan 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
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Iron
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
Iron
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?