Telerik Forums
UI for WPF Forum
1 answer
82 views
Hi Support

I have problem with RadDock when I change Flowdirection to RightToLeft, it doesn't work correctly while Drag and drop. any idea how to fix it? (I Use 2011.Q2 version)

All the best
Mehri

P.S. here is my xaml Code:

<telerik:RadDocking FlowDirection="RightToLeft" >
            <telerik:RadSplitContainer telerik:DockingPanel.InitialSize="200,600"  InitialPosition="DockedTop">
                <telerik:RadPaneGroup TabStripPlacement="Top"  >
                            <telerik:RadPane Header="Pane 1"  />
                            <telerik:RadPane Header="Pane 2" />
                </telerik:RadPaneGroup>

            </telerik:RadSplitContainer>
 </telerik:RadDocking>


Boyan
Telerik team
 answered on 26 Aug 2011
1 answer
305 views
Hi,
a have a RadGridView with a bound ObservableCollection datacontext.
When the user selects a row and pushes the Delete key, the row disappears and the Deleted event is fired.
I have a menu item as well which allows to delete the selected row programmatically,
but when I call mygrid.Items.Remove(myselectedrow.DataContext) the row disappears, but the Deleted event is not triggered.
How can I get the grid to fire the Deleted event when removing a  row programmatically as well?

Is it something like
mygrid.RaiseEvent(new RoutedEventArgs(RadGridViewEvents.DeleteRow, my_row));
?
Thank you,
Bye
Maya
Telerik team
 answered on 26 Aug 2011
3 answers
99 views
Hello everyone,

I am very new to this and I have just started using WPF. I am writing a application that I need a right side bar to have different options to select. I was using the TopRightPanel that I found in some of your examples and I can't get the side panel to display in the window. Any ideas anyone this would help a lot thank you.
Evgenia
Telerik team
 answered on 26 Aug 2011
3 answers
123 views
hello,I am learning WPF programming and find out which WPF products will be better,I have tested Dev's,ActiproSoftware for WPF,DotNetBar for WPF and yours,I think that your product is better than others.I am build a demo application to test the perfermance and the functions we need,then meet a problem,I have no idea that to show a table data in the treelistview control,as you know,In winform applications,if we want to build a treelist view,just only to set properties named ParentFieldId and KeyFieldId,but with WPF application,it is not so easy!
Could you help me to build the treelistview to show the data which screenshot is attached!
Any help will be appreciated!

Sorry for my bad English.


Maya
Telerik team
 answered on 26 Aug 2011
1 answer
94 views
We have been using the GridView for a while now and we use Aggregation functions to let it calculate the totals. This works all fine.

The nice thing we can use grouping by default and get a total aggregation line as well Now here is the problems
The values on this line are not lined out with the original cells. Everything is lined to the left and looks very messy
Is there a solution to let these aggregation values be in the same column on these lines?
Maya
Telerik team
 answered on 26 Aug 2011
3 answers
258 views
Hi, I am trying to use create dynamically Panes in RadDocking using PaneGroupExtensions class using MVVM pattern. It is working fine with my item source. However my requirements is slightly change that if any Pane is visible already then it should not add a new tab again, instead just highlight (select) previously added Pane.
For this I am holding a Dictionary that which Pane is visible but I can't find any way that when user close Pane from RadDocking then how can I capture this event so that I can remove the object from my dictionary.

Many Thanks,
Konstantina
Telerik team
 answered on 26 Aug 2011
1 answer
65 views
Hi Guys,

I'd like to know how to show up a context menu on a RadButton, and then the data then will be filtered/grouped/sorted from the RadGrid.

Here is the context menu that I wanted to have on a RadButton when it is clicked: http://www2.picturepush.com/photo/a/6379460/img/6379460.png


Thanks
Dimitrina
Telerik team
 answered on 25 Aug 2011
11 answers
376 views
How can I build a best Pie Chart to retrieve my database data?

Thanks in advance
Evgenia
Telerik team
 answered on 25 Aug 2011
3 answers
319 views
We are using a RadGridView and we have 2 columns and the empty space to the right of the header columns has this white border color that I'm not finding a way to remove it by styling or control templating.

In styling I've tried:

<Style TargetType="{x:Type telerikGridView:RadGridView}">
    <Setter Property="telerikControls:StyleManager.Theme" Value="Transparent"/>
    <Setter Property="HeaderRowStyle">
        <Setter.Value>
            <Style TargetType="{x:Type Control}">
                <Setter Property="Background" Value="{DynamicResource GridHeaderBrush}"/>
                <Setter Property="BorderThickness" Value="0,0,0,0"/>
            </Style>
        </Setter.Value>
    </Setter>
</Style>

I've also tried re-templating the control and doing the following:

<telerik:GridViewScrollViewer.HeaderRow>
    <telerik:GridViewHeaderRow x:Name="PART_HeaderRow" IsTabStop="False" IndentLevel="{TemplateBinding GroupCount}" Background="{DynamicResource GridHeaderBrush}" BorderThickness="0,0,0,0" BorderBrush="Transparent">
    </telerik:GridViewHeaderRow>
</telerik:GridViewScrollViewer.HeaderRow>

There still remains a white border around the empty space where the header column cells don't occupy. When I inspect the visual tree via WPF Snoop I see the white border belongs to a Border visual that is in the visual tree however when I copy the control template in Blend so I can edit it I don't see this border anywhere. Is this border being added by code instead of XAML?

I would appreciate any help on changing this border color.

Thanks
Vanya Pavlova
Telerik team
 answered on 25 Aug 2011
2 answers
168 views
I have RadGridView to which I am dynamically adding bound data columns.  I can successfully add columns as necessary, however, when I try to define a column with a CellTemplateSelector specified the selected CellTemplate is not applied to the column.  Through debugging the CellTemplateSelector I know that it is getting called and resolving the correct CellTemplate when the column is added, and the template applies correctly if used in the RadGridView XAML layout.  The pertinent code related to adding the column is as follows:
GridViewColumnCollection columns = this.gridView.Columns;
 
 ...elided...
 
    var col = (new GridViewDataColumn()
    {
        DataMemberBinding = new Binding(menuItem.BindingPath),
        Header = menuItem.Caption,
        CellTemplateSelector = new MemberCellTemplateSelector(),
    });
    columns.Add(col);

and the template is:
<local:MemberCellTemplateSelector.PhoneNumberList>
    <DataTemplate>
        <ItemsControl ItemsSource="{Binding MemberPhoneNumber}">
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <StackPanel Orientation="Vertical"/>
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                        <TextBlock Text="{Binding PhoneNumber}"/>
                        <TextBlock Text="{Binding PhoneNumberTypeKey, StringFormat='({0})'}"/>
                    </StackPanel>
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ItemsControl>
    </DataTemplate>
</local:MemberCellTemplateSelector.PhoneNumberList>


I have tried rebinding the grid, and calling ApplyTemplate() on both the grid, after adding the column, and on the cell passed to DataTemplateSelector.SelectTemplate() to no avail.  Am i missing something? How can I get the template to be applied to the column.




  
Pavel Pavlov
Telerik team
 answered on 25 Aug 2011
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
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?