Telerik Forums
UI for WPF Forum
1 answer
124 views
Hello,
how can i catch TextChanged event in GridViewCell?

Thank you

Masha
Tsvyatko
Telerik team
 answered on 21 Jan 2010
9 answers
188 views
Hi,
I am having some problems with the datagrid and extra empty columns, see attachments.

I'm creating the datagrid in codebehind, via
datagrid.ItemsSource = gridDataSet.Tables[0].DefaultView; 

And there is an extra empty column that appears, is there any way to make it disappear ?

best regards
krissi.
Vlad
Telerik team
 answered on 21 Jan 2010
2 answers
260 views
Hi there,

I am trying to hide the Header on a RadPane. However I dont see anything pertaining to the visibility of the header or tab. Is there a way to accomplish this? I have attached an image called radpaneheader to better illustrate what I mean.

Regards
Greg 
Greg
Top achievements
Rank 2
 answered on 20 Jan 2010
2 answers
489 views

From the example code, we see that we can change the culture in Xaml

 

 

 

<telerikInput:RadDatePicker x:Name="datePicker" HorizontalAlignment="Left" Margin="10" Width="200" Culture="en-US" />
we can change Culture as any language in the drop down list such as chinese:

 

 

 

<telerikInput:RadDatePicker x:Name="datePicker" HorizontalAlignment="Left" Margin="10" Width="200" Culture="Chinese (People's Republic of China)" />

 

 

 

We need to change the culture on-the-fly. Can we do it on the Xaml?
If not, we have to do it through code-behind.
How do we get the list of culture list as above string?
thx!
Jane

Konstantina
Telerik team
 answered on 20 Jan 2010
1 answer
113 views
Hello I have an application xbap and when I try to call a web service to fill my RadGRidView with the result of method call my web service sends me a security exception (and not as a pass or get my fill radgridviewl, if someone the same way you and I could help!.
greetings
Vlad
Telerik team
 answered on 20 Jan 2010
4 answers
276 views
Is there a way the RadDatePicker show the Calendar all the time?
So we do not need to use toggle button to show calendar.
thx!
Jane 
Pana
Telerik team
 answered on 20 Jan 2010
1 answer
190 views
Hello

In the new release (2009.3.1314.35) setting the default theme to Vista 

StyleManager.ApplicationTheme = new VistaTheme(); 

I am getting the following error when the window loads.

System.NullReferenceException was unhandled by user code 
  Message="Object reference not set to an instance of an object." 
  Source="PresentationFramework" 
  StackTrace: 
       at System.Windows.StyleHelper.UpdateTables(PropertyValue& propertyValue, FrugalStructList`1& childRecordFromChildIndex, FrugalStructList`1& triggerSourceRecordFromChildIndex, FrugalStructList`1& resourceDependents, HybridDictionary& dataTriggerRecordFromBinding, HybridDictionary childIndexFromChildName, Boolean& hasInstanceValues) 
       at System.Windows.StyleHelper.ProcessTemplateContent(FrameworkTemplate frameworkTemplate, FrugalStructList`1& childRecordFromChildIndex, FrugalStructList`1& triggerSourceRecordFromChildIndex, FrugalStructList`1& resourceDependents, ItemStructList`1& eventDependents, HybridDictionary& dataTriggerRecordFromBinding, HybridDictionary childIndexFromChildID, Boolean& hasInstanceValues) 
       at System.Windows.StyleHelper.SealTemplate(FrameworkTemplate frameworkTemplate, Boolean& isSealed, FrameworkElementFactory templateRoot, TriggerCollection triggers, ResourceDictionary resources, HybridDictionary childIndexFromChildID, FrugalStructList`1& childRecordFromChildIndex, FrugalStructList`1& triggerSourceRecordFromChildIndex, FrugalStructList`1& containerDependents, FrugalStructList`1& resourceDependents, ItemStructList`1& eventDependents, HybridDictionary& triggerActions, HybridDictionary& dataTriggerRecordFromBinding, Boolean& hasInstanceValues, EventHandlersStore& eventHandlersStore) 
       at System.Windows.FrameworkTemplate.Seal() 
       at System.Windows.StyleHelper.SealIfSealable(Object value) 
       at System.Windows.ResourceDictionary.RealizeDeferContent(Object key, Object& value, Boolean& canCache) 
       at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache) 
       at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache) 
       at System.Windows.DeferredThemeResourceReference.GetValue(BaseValueSourceInternal valueSource) 
       at System.Windows.DependencyPropertyChangedEventArgs.get_NewValue() 
       at Telerik.Windows.Controls.RadTabControl.OnLeftTemplateChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControl.cs:line 2371 
       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 
       at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 
       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) 
       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType) 
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp) 
       at System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1& exclusionContainerDependents, FrugalStructList`1& oldContainerDependents, FrugalStructList`1& newContainerDependents) 
       at System.Windows.StyleHelper.DoThemeStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, Style style) 
       at System.Windows.StyleHelper.UpdateThemeStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, Style& themeStyleCache) 
       at System.Windows.FrameworkElement.OnThemeStyleChanged(DependencyObject d, Object oldValue, Object newValue) 
       at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce) 
       at System.Windows.FrameworkElement.UpdateThemeStyleProperty() 
       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 
       at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 
       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) 
       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType) 
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal) 
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) 
       at System.Windows.FrameworkElement.set_DefaultStyleKey(Object value) 
       at Telerik.Windows.Controls.RadTabControl.SetDefaultStyleKey() in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControl.cs:line 1336 
       at Telerik.Windows.Controls.RadTabControl.OnInitialized(EventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControl.cs:line 1346 
       at System.Windows.Markup.BamlRecordReader.ElementEndInit(Object& element) 
  InnerException:  
 

All the other themes are working properly, only the Vista theme is not working.
I can supply the xaml taht I'm using if necessary, but I'm not doing any styling at all, just taking the stylemanager's theme.


Joshua
Dimitrina
Telerik team
 answered on 20 Jan 2010
1 answer
106 views
Hi
        I am using TileView Control. Everything is working fine with one issue that TileView control doesnot display anything without Height property, i have to define height static even when Height="Auto" still doesnot display anything I doesnot want static height, It should be auto How?
Tihomir Petkov
Telerik team
 answered on 20 Jan 2010
5 answers
115 views
What can be the problem when I´m trying to insert a new item and the insert focus is never in the first column?
Nedyalko Nikolov
Telerik team
 answered on 20 Jan 2010
1 answer
130 views
Hi to all,
i just would like to drag a RadTreeViewItem on a different component without make it selected.
Right now i have tried different ways without success...

I have implemented the PreviewMouseLeftButtonDown handler when the item is prepared, so when the user just press down the mouse i store the treeviewitem and put the e.Handled = true just to leave it unselected. When the event PreviewMouseLeftButtonUp is fired i will get the stored element and make it selected (so no drag operation...just a normal click on the element).

The big problem is that the
e.PreparedItem.PreviewMouseLeftButtonDown += new MouseButtonEventHandler(PreparedItem_PreviewMouseLeftButtonDown);

is sent different times..the first time the source is the "root" element of the RadTreeView the second time the first child of the root element and so on. I think it is not correct to fire so many events if i mouse down only on one RadTreeViewItem...i aspect to have directly on the first event the right treeviewitem on the source!

Do you have any idea how to implement this scenario?

Really Thanks.
Diego Bonura




Miroslav
Telerik team
 answered on 20 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
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?