Telerik Forums
UI for WPF Forum
1 answer
84 views
Hi,

In my Gridview I use grouping. I want to limit the grid so that only 1 group can be expanded at the same time. So I'm looking for a way close the expanded group when another is opened.
I tried to use the GroupRowIsExpandedChanging event and call the CollapseAllGroups method hoping that after that it would expand the click group. But it seems that it's not possible to manipulate the groups while in this event.

Is there another way I can do this?

Kind regards.
Yoan
Telerik team
 answered on 04 Mar 2013
1 answer
109 views
I am building a form designer in WPF. The form designer have a document outline (RadTreeView) a canvas (RadDiagram) and a property editor (RadPropertyGrid) in multiselect mode.

When I move around the tree it takes a second or two to load the selected node into the RadPropertyGrid.
Is there a way to do this asynch?
Ivan Ivanov
Telerik team
 answered on 04 Mar 2013
4 answers
295 views
Greetings,

I would like to ask you for help. I am using RadTreeView with IsDragDropEnabled=True. But now I realised that I need to drag & drop data from RadGridView to RadTreeView but this data should not be added to the tree. On the drop they should be only added to the some initernal collection of mine.
I am able to start Drag operation from RadGridView with some visual effect. Problem is that Drop handler is never called if I drop on the RadTreeView. It is only called if I register that handler with true like this:
DragDropManager.AddDropHandler(radTreeView1, OnDrop, true);

RadTreeView has set IsDragDropEnabled=true and each RadTreeViewItem has drag and drop allowed like this:
<Setter Property="AllowDrop" Value="true" />
<Setter Property="telerik:DragDropManager.AllowDrag" Value="True" />

In you examples I have seen that it should not be a problem to add handler for drop without "true" flag like this:
 DragDropManager.AddDropHandler(radTreeView1, OnDrop); 
but it does not work for me.

I really do not know what control is handeling drop operation.
Is there something else what I should do so I can call AddDropHandler without setting last parameter "true"?

Thanks for your advise.
Dusan Hudecek
Dušan
Top achievements
Rank 1
 answered on 04 Mar 2013
1 answer
149 views
Hi There,

I have a requirement to style the Grouped/Tabbed Panes, but i don't know where i can start, can you please guide me, i have attached a screenshot for your understanding please check once.


Thanks in advance,
Srinivas.
Masha
Telerik team
 answered on 04 Mar 2013
1 answer
2.4K+ views
Hello,

I migrate my project from VS2010 (V4.0) to VS2012 (V4.5).
Everything work fine except the main window as a radWindow.
I've got this error message : "presentationframework.pdb not loaded".
I tried to find in the debug options, but this file doesn't seem to exist.

When I remove the code below in App.xaml.cs, it works :

new WMain().Show();

base.OnStartup(e);

Any ideas ?
Regards

Xavier
Top achievements
Rank 1
 answered on 02 Mar 2013
5 answers
335 views
Our team has been using Telerik WPF controls for the last 12 months and were very surprised to learn that the RadTreeView auto scroll feature was removed within the last year (that's our understanding). We did end up using the the AutoScrollBehavior class attached to various threads on the subject but found a very strange drag and drop bug that was introduced with this behavior.

Our suspicion is that this feature may have been removed because it was, for lack of a better description, buggy. Does anybody know why this was removed? Are there any plans to add it back? FYI, the bug that we found is that in certain situations, dragging items with this behavior causes the DraggedItems collection found in the RadTreeViewDragEventArgs object to contain the same object twice. And when this happens, the visual cue also contains two visual objects. If it were just a visual issue we might ignore it but it actually can lead to unhandled exceptions somewhere in the bowels of the RadTreeView.

Does anybody have any further info on this?
Tina Stancheva
Telerik team
 answered on 01 Mar 2013
1 answer
435 views
Is it possible to make the timeline control act like a video/audio editor, where you see multiple tracks horizontally and the timeline is the length of media.  You can put media back to back on one particular track.  Something like this?

http://library.creativecow.net/articles/griffin_nick/media100_producer/VIDEO_TRACKS.jpg
Tsvetie
Telerik team
 answered on 01 Mar 2013
4 answers
581 views
Hi,

I am working on a RadGridView with a GridViewCheckBoxColumn using the Expression_DarkTheme. I'm trying to modify the colors, which is working well for most of the colors. But i have some problems with the background of the checkbox. 
In edit mode i can modify the color by setting the BulletDecoratot.Bullet background color

<Setter Property="Template">
    <Setter.Value>
        <ControlTemplate TargetType="{x:Type CheckBox}">
            <BulletDecorator Background="Transparent" SnapsToDevicePixels="true">
                <BulletDecorator.Bullet>
                    <Border x:Name="Border" 
                        Width="13" 
                        Height="13" 
                        CornerRadius="0" 
                        Background="White"
                        BorderThickness="1"
                        BorderBrush="#404040">
                        <Path 
                            Width="7" Height="7" 
                            x:Name="CheckMark"
                            SnapsToDevicePixels="False" 
                            Stroke="#404040"
                            StrokeThickness="2"
                            Data="M 0 0 L 7 7 M 0 7 L 7 0" />
                    </Border>
                </BulletDecorator.Bullet  
            </BulletDecorator>
            <ControlTemplate.Triggers>
                <Trigger Property="HasContent" Value="true">
                    <Setter Property="FocusVisualStyle" Value="{StaticResource CheckRadioFocusVisual}"/>
                    <Setter Property="Padding" Value="4,0,0,0"/>
                </Trigger>
                <Trigger Property="IsEnabled" Value="false">
                    <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                </Trigger>
            </ControlTemplate.Triggers>
        </ControlTemplate>
    </Setter.Value>
</Setter>

But i'm not able to change the color to white outside of the edit mode.

Can you please give me a hint?

Thanks
Andreas
Maya
Telerik team
 answered on 01 Mar 2013
9 answers
763 views
Hi telerik,

I have a collection of objects bound to the a ListBox, and the SelectionMode set to "Multiple".
The objects have a property "IsSelected". 

How do I bind this property to the ListBox?

I want the property of the object to change when the user selects an item.

Thanks for help
Michael
Igor
Top achievements
Rank 1
 answered on 01 Mar 2013
1 answer
184 views
I have a situation where I would like to ensure that related appointments shown in Timeline View of the ScheduleView are displayed in sequence, on the same line in the view.

Scenario:
I'm using the ScheduleView to render "jobs" (each represented by an appointment instance). Some of these jobs are related to the same customer and occur in sequence - one starts when another one finishes.
Using the defaults, the Schedule sometimes renders such appointments next to each other, on the same line, but other times these appoinments are split across multiple lines.

Please see the attached screenshot for an example.
In the attached example I would like to ensure that the three appointments in red boxes are always rendered on the same line in Timeline view, because they are related to the same customer.

I have thought about using resources - one for each customer - but this will cause most jobs to be placed on its own line, which in turn will result in too much wasted screen space. The user will have to use vertical scrolling more to see all jobs. So I would like to achieve this without using resource grouping.

Is this possible to do?
Vladi
Telerik team
 answered on 01 Mar 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
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
+? 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?