Telerik Forums
UI for WPF Forum
1 answer
94 views
http://www.telerik.com/help/wpf/gridview-multiple-selection.html

In the above link API, RadGridView has a
ObservableCollection<object> SelectedItems
property. I have a requirement where I need to access the selected grid items in the ViewModel. How can I do that? There is no dependency property for that I can use, and in the code sample you only have codebehind example. Please advice.

Thanks!
Maya
Telerik team
 answered on 23 Jan 2012
11 answers
308 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.5K+ 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
90 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
112 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
139 views
I need to bind string format dynamically in the grid column.
Vishwajeet
Top achievements
Rank 1
 asked on 21 Jan 2012
1 answer
139 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
339 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
676 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.0K+ 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?