Telerik Forums
UI for WPF Forum
1 answer
101 views
I have a shape from one Diagram control and I paste it into a second Diagram control, the paste works fine, but there is no guarantee that the shape will be pasted into the visible area of the screen.  Is it possible to address this in some manner?  It would be nice to inspect the shape before it is pasted; I can witness the paste via CommandExecuted but the actually shape I am pasting is not present.
Alex Fidanov
Telerik team
 answered on 04 May 2012
1 answer
284 views
Good morning,

I'm having trouble with the RadListBox Template. For some reason if I insert a grid into a listbox template its formatting is not preserved.

Here's my code:

Template:
<DataTemplate x:Key="AutoCompleteListBoxTemplate">
    <Grid Width="{Binding ElementName=radListBox, Path=Width}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition  />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <TextBlock Text="{Binding Name}" Grid.Column="0" HorizontalAlignment="Stretch"   />
        <TextBlock Text=">>" Grid.Column="1" HorizontalAlignment="Right" Margin="5,0,5,0" />
   </Grid>
</DataTemplate>



RadListBox 
<telerik:RadListBox MinWidth="100" MaxHeight="250" x:Name="radListBox"
                    Grid.ColumnSpan="2" Visibility="Collapsed"
                    HorizontalAlignment="Left" VerticalAlignment="Top"
                    ItemTemplate="{StaticResource AutoCompleteListBoxTemplate}"
                    PreviewKeyDown="radListBox_PreviewKeyDown">
    <telerik:RadListBox.Effect>
        <DropShadowEffect ShadowDepth="10" Color="Gray" Opacity=".4" Direction="320" RenderingBias="Performance" />
    </telerik:RadListBox.Effect>
</telerik:RadListBox>

You will notice that in my template I have grid where I'm trying to force the last column over to the far right of the ListBoxItem. For some reason this isn't working with both columns aligning to the left. If I build the grid not within a ListBox template then it works.
I'm trying to make the last grid items align no matter the length of the content in the column before it.

Could the cause be that I'm using the Office_BlueTheme()?

****** EDIT ********
I tried removing the theme but it doesn't make a difference.

Thank you for your time.

Rob
George
Telerik team
 answered on 04 May 2012
6 answers
493 views
Hi,

I have a problem how to declare the MouseDoubleClick event using XAML in The MVVM pattern. For the the event associated to the RadTreeView I do not have problem. I do like this in my XAML:
<telerik:RadTreeView .......>
  <i:Interaction.Triggers>
   <i:EventTrigger EventName="LoadOnDemand">
    <vm:InvokeDelegateCommandAction Command="{StaticResource loadOnDemandCommand}" 
    CommandParameter="{Binding RelativeSource={RelativeSource Self, Path=InvokeParameter}"/>
   </i:EventTrigger>
  <i:Iteraction.Triggers>
</telerik:RadTreeView>

In the code snippet, I have created a command named  loadOnDemandCommand which is associated to the LoadOnDemandMethod in the viewModel when the LoadOnDemand event fires.

How can I do in XAML to declare a DoubleClick event which fires after double clicking on the RadTreeViewItem.

Thanks for your precious Help.

Alino 

 
Petar Mladenov
Telerik team
 answered on 04 May 2012
2 answers
165 views
Whenever I add a radGridView to a radPane the radGridView seems to inherits the radPane's Context menu as its context menu.  If I right click on a gridView on a radPane it has the context menu of  floating, dockable, tabbed document, auto hide and hide and if I select one of them it will do that to the pane the grid is contained in. Even if I set the gridView context menu to null after InitializeComponent I still have the radPane context menu when I right click on the gridView. It does not do this for other controls on the radPane just the gridView.

How can I stop this from happening?
Thanks
Dev
Top achievements
Rank 1
 answered on 03 May 2012
3 answers
162 views
In running the RadControls demo, I noticed that the older version of the RadTimeBar (Q2 2011) has little left/right arrows in the selection handles, where as the newer version (Q1 2012) does not. Is there a way to turn the arrows back on in the newer version? I've attached a picture of the older demo vs newer demo. The top picture is the new version and the bottom picture is the older version.
Tsvetie
Telerik team
 answered on 03 May 2012
5 answers
144 views
I was wondering if someone had a solution to get the Grouped Row headers to line up with the rest of the data.  Someone posted a similar topic on the Silverlight forum:  http://www.telerik.com/community/forums/silverlight/gridview/aggregate-result-display.aspx  but the example project doesn't work for me in WPF, even with a little massaging.

Also, I was wondering if the GroupedRow header values (The aggregate values) could be editable?

Thanks
Maya
Telerik team
 answered on 03 May 2012
3 answers
126 views
I am using one of your example codes and seeing a different behavior when running the Project between .NET Framework 4 and 3.5 Framework in the Target framework property of the Project. 
When I run in 4, I get a RED line between two Parent nodes. If I run in 3.5 I am not getting that red line. 

This Red line appears when the Tree is in Tristate mode. It disappears when all the nodes are selected.  Have you guys seen this problem?

Is this a bug? I am attaching screen shot of this.  

I have used the example shown in this post.

http://www.telerik.com/community/forums/wpf/treeview/tristate-and-binding.aspx 


 


gans
Top achievements
Rank 1
 answered on 03 May 2012
2 answers
327 views
hi, radbusyindicator when enabled shows "In progress...Please wait" but my cancel button along with all the controls on form get disabled when busy indicator is on. How to keep one button of my choice enabled so In progress task can be cancelled if necessary ..
thanks
Geena
Top achievements
Rank 1
 answered on 03 May 2012
0 answers
69 views
Hi,

is it possible to use the TileView like a Grid with one row and 5 columns ( 1 TileViewItem = 1 Columns )? And how?

thanks
Best Regards
Rene
ITA
Top achievements
Rank 1
 asked on 03 May 2012
6 answers
289 views
 Hi,

I am using WPF Telerik controls in a WPFApplication using MVVM pattern.

All controls binding is throw ObservableCollections, for the RadGrid the binding is fine but for the GridViewComboBoxColumn binding it's not.

In fact GridViewComboBoxColumn is binding to another ObservableCollections via
ItemsSource="{Binding MyCollection}"
DataMemberBinding="{Binding Property}"
DisplayMemberPath="Label"
SelectedValueMemberPath="Value"

but it doesn't work.

Can GridViewComboBoxColumn support another collection binding other than RadGrid Collection Binding ??

Thx
Maya
Telerik team
 answered on 03 May 2012
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?