Telerik Forums
UI for WPF Forum
2 answers
151 views
Hi guys,

I have grid where the number of columns are determined at run-time and hence created dynamically, these columns are bound to a binding list of custom business objects. I've set up an event handler for the list ie.

    ListChangedEventHandler(

object sender, ListChangedEventArgs e) now, say when the window is not maximised and not all the columns are visible, when I scroll horizontally the ListChangedEventHandler will get called for some of the non-visible columns as they come into view. Is there a way I can avoid this as I am using this event to check for a PropertyChanged which calls another function to update a database - which could prove to be inefficient if the app is trying to update the database everytime a user scrolls.

Thanks for your help.

Tim.

 

TSRG - IT
Top achievements
Rank 1
 answered on 13 Jan 2010
1 answer
84 views
Hello,
     I have a 5 tabpage tab control. I hide tabpages 3,4, and 5. When I show tabpages 3 and 5 and do not show tabpage 4 I have a gap in between. What's the command or procedure to move tabpage 5 to where tabpage 4 is and tabpage 4 to where tabpage 5 is?
Thanks
Miroslav
Telerik team
 answered on 12 Jan 2010
1 answer
99 views
Hi all,

We are testing to buy the library. For this we did a nice prototype in Silverlight to test RadControl.
Now i'm converting the silverlight prototype to WPF to see how the RadControl lib behaves since we have to choose a lib which is 100% compatible with silverlight and WPF. We don't want to wonder each time we do something in silverlight if it is potential broken on WPF.

Currently I'm facing a problem with RadControl and the WPF version of our prototype. Visual Studio saying it can't find reference to some RadControl component.

RadDockPanel
RadDockPanel.Dock
HierarchicalDataTemplate

It logs Erreur    2    Erreur de génération inconnue, 'MC3074 : la balise 'HierarchicalDataTemplate' n'existe pas dans l'espace de noms XML 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls'. Ligne 16 Position 10.'  

Erreur    3    Erreur de génération inconnue, 'MC3074 : la balise 'RadDockPanel' n'existe pas dans l'espace de noms XML 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls'. Ligne 32 Position 10.' 

Erreur    4    Le type 'telerik:RadDockPanel' est introuvable. Assurez-vous qu'il ne manque aucune référence d'assembly et que tous les assemblys référencés ont été générés. 

I've well added references with all Telerik's references availables.

So my question is why it does not found this telerik components in WPF version?

This raises 2 important questions

1) Do all the Telerik's components available in silverlight are available in WPF ?
2) Do all the Telerik's components have the same naming in both SDK ?


Thank you by advance for your support.

Luciano
Miroslav
Telerik team
 answered on 12 Jan 2010
1 answer
134 views
Is there any easy way to display item reflections using a RadCarouselPanel.   This is very easy to do using a RadCarousel, but the same functionality isn't present with the panel.  In my application I have a RadCarouselPanel with a bunch of images added to it.  I want to display a reflection for this images.  How do I do this?
Milan
Telerik team
 answered on 12 Jan 2010
1 answer
113 views
how can i disable this trigger?
(on windows with dark background and light foregroung it's really annoying)

or change the background of the border that get's it's opacity animated, to transparent?


can you show me an example?

i'm using the win7 theme


thanks
Dimitrina
Telerik team
 answered on 12 Jan 2010
5 answers
257 views
Hi,

I would like to implement Drag & drop with Buttons on Wrappanels. The buttons are generated by code.

May anyone can show me the way ? I'm totally lost...

Cheers

Lorenz
Miroslav
Telerik team
 answered on 12 Jan 2010
1 answer
185 views
Hi,
I would like to assign key gestures (like F2, oder Ctrl-F2) to Toolbar Items. How can I do that ?

Kind regards

Lorenz
Ivan
Telerik team
 answered on 12 Jan 2010
3 answers
237 views
Hi Telerik Team,

I was using Rad Gridview for WPF to build a hierarchial view of contents. I have already reported few formatting issues that I faced during my development. But this seems to be a critical issue as it happens on the Databinding, proudcing totally inconsistent results and presenting the data inappropriate. Please do have a look at the screenshots I have attached.
The issue seems to happen only after, when all the nodes or row details are expaned at a time. This does not happens when I expand and collapse single node or row detail at a time. Even it does not seems to happen when I had two nodes or row details expanded. When the number of expanded nodes or row details at a time are more, the data bound to the child grids are inappropriate, meaning the data relation ship between the parent and child records are collapsed, resulting in displaying non-related child data.

DataBindIssue1.png - Shows the gridview loaded with initial data
DataBindIssue2.png - Shows the correct child data being displayed when the nodes are expanded (only 2 nodes expanded)
DataBindIssue3.png - Shows the correct Row Details bounded to the child grid
DataBindIssue4.png and DataBindIssue5.png - show the incorrect child data displayed after I have expanded and collapsed all the nodes at a time (and expanded few row details in the child grids of different parent rows)

The row details are implemented with add/edit options but neither of the operation is performed during this testing. I was about to do a demo with this application, but stopped because of these issues. Can you please provide me a possitive reply sooner?

thanks and regards...
NK


yenkay
Top achievements
Rank 2
 answered on 12 Jan 2010
2 answers
191 views
How do I apply the Windows7 Theme to a PasswordBox?  The following code doesn't work:

    <UserControl.Resources> 
        <Style TargetType="PasswordBox" BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Windows7Theme, ElementType=PasswordBox}}" /> 
    </UserControl.Resources> 
Dimitrina
Telerik team
 answered on 12 Jan 2010
1 answer
353 views
I have a grid that could have as many as 3000 rows in it.  I have 5 ReadOnly columns and one CheckBox column that is enabled.  The user needs to:

  • move from record to record using the up/down keyboard arrows.
    • On moving up and down, the focus needs to remain on the CheckBox column.
    • User should have a visual queue which row and column is selected.  Currently, row is obvious; column is not.

 

  • press the spacebar to toggle the checkbox value to the next/other value.
    • I'm not convinced that putting a KeyDown event handler on the CheckBox is valid because it seems the keydown is actually on the cell that contains the CheckBox.

How can I accomplish this?

Grid:

                                <telerikGrid:RadGridView x:Name="equipmentGrid" Grid.Row="1"   
                                        AutoGenerateColumns="False" ShowGroupPanel="True">  
                                    <telerikGrid:RadGridView.Columns> 
                                        <telerikGrid:GridViewDataColumn Header="System"   
                                            DataMemberBinding="{Binding Root}" IsReadOnly="True"  /> 
                                        <telerikGrid:GridViewDataColumn Header="Area"   
                                            DataMemberBinding="{Binding Area}" IsReadOnly="True"  /> 
                                        <telerikGrid:GridViewDataColumn Header="Process Cell"   
                                            DataMemberBinding="{Binding ProcessCell}" IsReadOnly="True"  /> 
                                        <telerikGrid:GridViewDataColumn Header="Unit"   
                                            DataMemberBinding="{Binding Unit}" IsReadOnly="True"  /> 
                                        <telerikGrid:GridViewDataColumn Header="Module"   
                                            DataMemberBinding="{Binding Module}" IsReadOnly="True"  /> 
 
                                        <telerik:GridViewDataColumn     
                                            Header="Include" 
                                            IsCustomSortingEnabled="True"     
                                            IsFilterable="True">  
                                            <telerik:GridViewColumn.CellTemplate> 
                                                <DataTemplate> 
                                                    <CheckBox  
                                                        VerticalAlignment="Center"    
                                                        IsChecked="{Binding Path=IsChecked}"    
                                                    /> 
                                                </DataTemplate> 
                                            </telerik:GridViewColumn.CellTemplate> 
                                        </telerik:GridViewDataColumn> 
 
                                </telerikGrid:RadGridView.Columns> 
                            </telerikGrid:RadGridView> 

Note:  This is how the out-of-the-box CheckBoxColumn in the MS Grid works.
Nedyalko Nikolov
Telerik team
 answered on 12 Jan 2010
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?