Telerik Forums
UI for WPF Forum
0 answers
109 views
Hi
 
is that correct to call an element of a view from the viewmodel????
(i'm using MVVMLight)
example:
var grd = (RadGridView)e.Source; (e is KeyEventArgs)


M
Top achievements
Rank 1
 asked on 23 Jan 2012
2 answers
182 views
I am binding a GridView to a BindingListCollectionView.  This is being filled by a Linq Query.

I am displaying a GridView of a few fields and a set of text boxes that also display these fields and several others.  The Idea is for GridView to provide Sorting and Filtering on the key fields and make the rest of the fields visible when the record is displayed.

This works great if I navigate the GridView with the keyboard, but as soon as I use the mouse to select the record instead of the keyboard aarow keys, the position in the BindingListCollectionView is not updated.

To recap, the BindingListCollectionView position is updated when the grid is navigated with the keyboard arrow keys, but not when rows are selected with the mouse.

Any Ideas on how to work around this problem?
aavadesh
Top achievements
Rank 1
 answered on 23 Jan 2012
1 answer
147 views
Hi, I'm have an unusual requirement here. We want to bind the gridview to any strong-typed objects but at the same time, we're not going to hide some columns. So this basically precludes us from defining columns in XAML. So my option is to handle an event which is fired during the creation of columns. There I could probably suppress the creation of some columns. Is there such an event?
Maya
Telerik team
 answered on 23 Jan 2012
1 answer
113 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
333 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
113 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
130 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
158 views
I need to bind string format dynamically in the grid column.
Vishwajeet
Top achievements
Rank 1
 asked on 21 Jan 2012
1 answer
156 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
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?