Telerik Forums
UI for WPF Forum
7 answers
82 views
I'm binding a RadGridView to a collection of objects that implement INotifyPropertyChanged. Sometimes the properties on those objects are changed by a thread that isn't the gui thread. This causes a "calling thread cannot access this object" error.

I understand that normally non gui threads can't access gui objects, but in this case it should work, in every other WPF control I use it works fine, presumably because behind the scenes they use Dispatcher.Invoke(...) on all propertychanged notifications.

thanks
Rossen Hristov
Telerik team
 answered on 06 May 2013
7 answers
592 views
Hello,

I am using this control and am having negative feedback because users cannot type in .6 for example and get the control to display 0.6.
Instead if you type .6 the control actually displays 6.0. Is there anything that can be done about this??

Thanks.


<RadMaskedNumericInput Value="{ Binding BgsPremiumRate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}"  FormatString="n2" InputBehavior="Replace" Mask="" SelectionOnFocus="SelectAll"  TextMode"PlainText" />
Petar Mladenov
Telerik team
 answered on 06 May 2013
0 answers
249 views

Dear All,

I am create a Point Of Sales System in WPF. I want to print invoice while completion of Order. Data Will be provided from TextBox for Invoice,

(txtinvoices, txtQty, txtTotalPrice, txtAmountPaid and txtDate) are some textbox i want to print on Invoices. There is one barcode Image as well for each order that is needed to print on Invoice.

Anyone can help me in printing in WPF ???

Thanks in Advance

Jazaib Hussain
Jazaib
Top achievements
Rank 1
 asked on 05 May 2013
11 answers
300 views
Hello
I am trying to save the RadPivotGrid after user has defined the pivot through the RadPivotFieldList, so when i will load it 
it will load with all of the definition. I understand that most of it is stored in the LocalDataSourceProvider.
is there way to save and restore the LocalDataSourceProvider to a file?

Regards,

Amir

 . 

										
Rosen Vladimirov
Telerik team
 answered on 04 May 2013
5 answers
258 views
Imagine a carousel, and on each carousel pane there is something that looks like a vertically oriented business card or a property grid, with interactive data-entry fields. Some of the data fields are textboxes, some are radio button groups, and some are datepickers, some are simple dropdown lists, and one is a "popout" notes field. Is something like this possible in WPF?  Would there be a way to search rapidly through the dataset (it could contain as many as  10,000 items) and when  a match is found, the carousel would "zoom" that record into the focused pane of the carousel?


Maya
Telerik team
 answered on 03 May 2013
0 answers
108 views
Hi
I am looking to Change the AutoHide value using MVVM, but i don't know where is the property that change this.

Please let me know if this can be done using Telerik last version,

Thanks,
Akram
Akram
Top achievements
Rank 1
 asked on 03 May 2013
3 answers
156 views
I'm having issues with multi-selection of my treeview and I'm wondering what I'm doing wrong. I'm trying to get multi-select to work the way I expect on the RadTreeView, however I've found that every time I hold the ctrl key and shift key simultaneously, it seems to ignore the shift key and acts only in the normal ctrl key selection mode (where it selects only the item being clicked, rather than being able to click on an item with the ctrl key, then a second item with ctrl shift and select the new block, leaving any existing selection alone). Normal shift-select works as expected, and normal ctrl-select works just fine too, but ctrl-shift select just seems to work no differently than plain ctrl select, so like its ignoring the shfit key in that circumstance.

If you've read my post history, you may have read that I was trying to override default treeview selection behavior previously, but thankfully the project specification changed to just do the default windows treeview selection style, so I removed all previous overrides of event handlers I had in place and I'm just trying to use extended selection mode.

My xaml:

<UserControl x:Class="LasX.ApplicationFramework.Cad.EntityTreeView"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="TreeViewTemplates.xaml" />               
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <telerik:RadTreeView Name="treeView1"
                     HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                     telerik:TreeViewPanel.IsVirtualizing="True"
                     telerik:TreeViewPanel.VirtualizationMode="Recycling"
                     ItemTemplate="{StaticResource EntityDataTemplate}"
                     ItemsSource="{Binding CadEntityManager, UpdateSourceTrigger=PropertyChanged}"
                     ItemContainerStyle="{StaticResource RadTreeViewItemStyle1}"
                     Background="#FF212830"
                     SelectionChanged="treeView1_SelectionChanged"
                     SelectionMode="Extended"
                      >
        </telerik:RadTreeView>
    </Grid>
</UserControl>

Any clues as to what I may be doing wrong?

Thanks!
Tina Stancheva
Telerik team
 answered on 03 May 2013
2 answers
332 views
I am using a RadGridView with a bound QueryableCollectionView.

Virtualization is enabled

Anytime I scroll through the grid, memory usage of the application goes up and up and up, and never comes back down, even after forcing calls to GC.Collect().  Am I missing something here or is there some issue with scrolling through a QueryableCollectionView?

Thanks,
Brandon
Brandon
Top achievements
Rank 1
 answered on 03 May 2013
4 answers
222 views
Hi,

I would like to add conditional formatting to cells in the summary footer row (I want the display values from GridViewColumn.AggregateFunctions to have different background colors based on if they are negative or positive, plus other conditions).

I see that there is a property for GridViewColumn.GroupFooterCellStyleSelector, but what I think I need is one for a property that does not exist in the API:  GridViewColumn.FooterCellStyleSelector...

How should I proceed?

Kind Regards,
Albert
Yoan
Telerik team
 answered on 03 May 2013
1 answer
249 views
I am struggling with how I go about this?  In my VM I have a nullable bool property that I want to bind to a Yes/No(true/false) RadRadioButton.  Can someone point me in the right direction?  

public bool? IsSDS { get; set; }
<telerik:Label Content="Self Directed Support" />
<StackPanel Orientation="Horizontal">
     <telerik:RadRadioButton x:Name="SelfDirectedSupportYes" Content="Yes" />
     <telerik:RadRadioButton x:Name="SelfDirectedSupportNo" Content="No" />
</StackPanel>
Patrick
Top achievements
Rank 2
 answered on 03 May 2013
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?