Telerik Forums
UI for WPF Forum
4 answers
251 views
Hi Telerik Team,

I am working on TreeViewList. When page is loaded, the default focus goes to first parent node. Can I set focus on a particular row (child node) on PageLoad? So that user will not need to drill down to that row.
Sharada
Top achievements
Rank 1
 answered on 27 Dec 2010
1 answer
87 views
Hi, is there a way to select multiple items when restored so that data in large view is composed of the selected items?
i.e. to be able to choose Car1 and Car2 from "restored view" so that in "Large View" we have data from both?

Petar Mladenov
Telerik team
 answered on 27 Dec 2010
4 answers
197 views
Hello, i want my RadPanelBar to be binded to a list of items, each item has two properties:
header and body
the body is a simple object.
hod do i put it inside the single panel when it is opened?
do i must use HierarchicalDataTemplate ???

i also wanted to get events for each panel when it is expanded. for this i used ItemContainerStyle, but this was applied to the items inside the panel as well. why?

Thanks!
kfir ANKORI
Top achievements
Rank 1
 answered on 27 Dec 2010
1 answer
80 views
I was wondering in WPF how i can use the FluidResizePresenter in order to have my application resize the window from a height of 747 to a height 92 while maintaining itself width.  I would like it to resize very fluid like almost like an animation.

Thanks

~Norman
Kaloyan
Telerik team
 answered on 27 Dec 2010
30 answers
903 views
There is a 'tutorial' in the RadGridView documentation that I was attempting to follow: http://www.telerik.com/help/silverlight/how-to-create-a-custom-theme.html

It mentions: "Every theme of RadGridView contains a file called Resources.xaml. This file contains the Brushes and Colors used by RadGridView. The brushes share the colors  defined in this file. "

I looked around for these Resources.xaml theme files but was unable to find them. If someone could elaborate on how to go about modifying a theme that would really help me out.

Thanks,
Ryan
Vanya Pavlova
Telerik team
 answered on 27 Dec 2010
3 answers
101 views
Hi. We try to get screenshot of chart control in STA thread. The workaround of removing transparency in style is used. But some charts are not displayed yet. Especially Horizontal Bar and Stacked Bar cannot be exported (there are scales only) while bar chart can be exported perfectly. If you want I can send a demo project I've created.
Is there any workaround? Thanks in advance.
Alex
Top achievements
Rank 1
 answered on 27 Dec 2010
2 answers
114 views
Hi,
I'm trying to delete an item in the tree hierarchy.

       private void ButtonRemove_Click(object senderRoutedEventArgs e)
        {
            if (DialogRadTreeListView.SelectedItem != null)
            {
                DialogRadTreeListView.Items.Remove(DialogRadTreeListView.SelectedItem);

            }

        }
I believe the above code only deletes if the SelectedItem is in the first level of DialogRadTreeListView.Items.
If SelectedItem is several levels deep, "Remove" won't find it.
Any ideas how I can delete an item in this case?

Thanks.

-Chris
Chris
Top achievements
Rank 1
 answered on 27 Dec 2010
2 answers
147 views
I noticed that rows of hierarchy child aren't virtualized. So If I have a child table with 500 rows, 500 UI controls will be generated for each of the rows. You can use Snoop to see that. (Rows of root table, at the top of the hierarchy are virtualized, as expected).

Is there a way to extend virtualization to support child tables? If not, is there a plan to support it in the future?
Yaakov Davis
Top achievements
Rank 1
 answered on 27 Dec 2010
3 answers
116 views
having any rad text box in WPF?

if possible mean give me some suggession?
if i use visual studio 2010 text box mean rad properties may assign in the textbox also?
or give me suitable solution.
Vanya Pavlova
Telerik team
 answered on 27 Dec 2010
1 answer
99 views
Hello i am geting this excpetion when i am populating sheduleview from db. It is possible to bind a list with more than 250 or 300 appointments?  
Because I am getting this exception.
 
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Telerik.Windows.Controls.AppointmentsHelper.SplitToColumns(AppointmentSlotGroupInfo groupInfo, Boolean roundAppointmentDurationToDay) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Helpers\AppointmentsHelper.cs:line 330
   at Telerik.Windows.Controls.GroupHeader.CalculateAppointmentItemRenderRectangle() in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\GroupHeader.cs:line 565
   at Telerik.Windows.Controls.GroupHeader.set_CalculatedChildrenLength(Double value) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\GroupHeader.cs:line 200
   at Telerik.Windows.Controls.GroupHeader.SetAvailableLength(Double availableLength, Boolean isHorizontal) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\GroupHeader.cs:line 459
   at Telerik.Windows.Controls.AppointmentsPanel.UpdateHeaderAvailableSize(List`1 headers, Boolean isHorizontal, Double availableLength, Boolean initialize, Boolean updateDesiredLengthForLevel) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\AppointmentsPanel.cs:line 617
   at Telerik.Windows.Controls.AppointmentsPanel.MeasureOverride(Size availableSize) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\AppointmentsPanel.cs:line 139
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.UIElement.UpdateLayout()
   at Telerik.Windows.Media.Imaging.ExportHelper.GetBitmapSource(FrameworkElement element, Double dpiX, Double dpiY) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Core\Controls\ExportExtensions\ExportHelper.cs:line 85
   at Telerik.Windows.Media.Imaging.ExportHelper.GetElementImage(FrameworkElement element) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Core\Controls\ExportExtensions\ExportHelper.cs:line 63
   at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.PrepareAnimation() in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Core\Controls\TransitionControl\TransitionPresenter.cs:line 341
   at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.ChangeContent() in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Core\Controls\TransitionControl\TransitionPresenter.cs:line 426
   at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.OnContentChange(DependencyObject d, DependencyPropertyChangedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Core\Controls\TransitionControl\TransitionPresenter.cs:line 381
   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, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.set_CurrentContent(Object value) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Core\Controls\TransitionControl\TransitionPresenter.cs:line 161
   at Telerik.Windows.Controls.RadTransitionControl.OnContentChanged(Object oldContent, Object newContent) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Core\Controls\TransitionControl\RadTransitionControl.cs:line 168
   at System.Windows.Controls.ContentControl.OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   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, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
   at System.Windows.StyleHelper.InvalidateDependents(Style ownerStyle, FrameworkTemplate frameworkTemplate, DependencyObject container, DependencyProperty dp, FrugalStructList`1& dependents, Boolean invalidateOnlyContainer)
   at System.Windows.StyleHelper.OnTriggerSourcePropertyInvalidated(Style ownerStyle, FrameworkTemplate frameworkTemplate, DependencyObject container, DependencyProperty dp, DependencyPropertyChangedEventArgs changedArgs, Boolean invalidateOnlyContainer, FrugalStructList`1& triggerSourceRecordFromChildIndex, FrugalMap& propertyTriggersWithActions, Int32 sourceChildIndex)
   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, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyPropertyKey key, Object value)
   at Telerik.Windows.Controls.RadScheduleView.set_CurrentVisibleRangeText(String value) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\RadScheduleView.cs:line 94
   at Telerik.Windows.Controls.RadScheduleView.UpdateCurrentVisibleRangeText() in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\RadScheduleView.cs:line 136
   at Telerik.Windows.Controls.RadScheduleView.UpdateVisibleRange() in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\RadScheduleView.cs:line 178
   at Telerik.Windows.Controls.ScheduleViewBase.OnCurrentDatePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleView.cs:line 2719
   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, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at MS.Internal.Data.PropertyPathWorker.SetValue(Object item, Object value)
   at MS.Internal.Data.ClrBindingWorker.UpdateValue(Object value)
   at System.Windows.Data.BindingExpression.UpdateSource(Object value)
Boyan
Telerik team
 answered on 27 Dec 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
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?