Telerik Forums
UI for WPF Forum
13 answers
316 views
Hi

I have just upgraded an application I am working on to Q1 '10. Love the improved theming btw

I have a RadPane which contains a RadTreeView with a HierarchicalDataTemplate. The HierarchicalDataTemplate includes a ContextMenu which was working beautifully with the Q4 '09 controls.

However, now that I have upgraded to Q1 '10 I notice that the Pane Floating/Dockable Menu - which used to only be available off the Header - is now available as a Context Menu everywhere within the Pane.

How can I disable this - either totally, or when the mouse cursor is over a RadTreeViewItem?

Many thanks in advance
Konstantina
Telerik team
 answered on 30 Mar 2012
3 answers
115 views
I have a GridView with a RadButton in the grid.  When ever I link the command it is disabled, I am trying to add a delete button to let the user delete the row from the database.  I have looked at the examples, but when I ever I try and implement the code the button is disabled. I have CanUsersDeleteRows = "True"
Frank
Top achievements
Rank 1
 answered on 30 Mar 2012
1 answer
311 views
Hi telerik,

We are using a RadPane for a sort of Property Editor depending on the selection in a treeview. Works well!

Now, however, we want the RadPane header to contain an image corresponding to selection in tree and it appears that RadPane header is not refreshed when the RadPane gets a new data context (before the header was a static text and we didn't need any chages to appear).

Is there a way to tell the RadPane to update it's header?

Don't know if it's relevant, but the header is formattet through a template defined in App.xaml:

<Application x:Class="Rap1D.Rap1D_WPF.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking" xmlns:Controls1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" xmlns:telerikChromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls">
    <Application.Resources>
        <DataTemplate x:Key="HeaderTemplateGeometry">
            <StackPanel Orientation="Horizontal">
                <Image Source="{Binding VmImage}" Width="16" Height="16" Margin="2"/>
                <TextBlock Text="{Binding DisplayName}" Margin="2" />
            </StackPanel>
        </DataTemplate>
    </Application.Resources>
</Application>

And here is the RadPane:

<Controls:RadPane x:Class="Rap1D.Rap1D_WPF.CustomEditor.CustomEditor"
             [Stuff deleted]
             HeaderTemplate="{StaticResource HeaderTemplateGeometry}"                  
             Style="{StaticResource PaneStyle}">
             [Stuff deleted]
</Controls:RadPane>
Georgi
Telerik team
 answered on 30 Mar 2012
1 answer
155 views
Hi Team,
    I have two combo boxes in Gridview such that Combobox (combColumnName) is dependent on second comboBox (comboTableName). If I select an item from comboTableName, then comboColumnName item should be filter according to tableCode (where table code is relation between table name and column name).
Can you please provide sample project, in which both combos reside in gridview, one comboBox is dependent on Parent comboBox.
Definitely If no item is selected in parent Combobox, then dependent comboBox items source will be null.

Regards,
 Kamran
Dimitrina
Telerik team
 answered on 30 Mar 2012
3 answers
276 views
Hi

I have a custom style for the BarItemControlTemplate,  I'm trying to find the Grid element via code, but the FindName always return null. My goal is to be able to find the ScrollViewer element with in this template so that i can add a event handler for the ScrollChanged event. 

private void OnBreadCrumbControlCurrentItemChanged(object sender, RadRoutedEventArgs e)
{
    var breadcrumb = sender as RadBreadcrumb;
 
    if (breadcrumb != null)
    {
        var grid = breadcrumb.BarItemControlTemplate.FindName("Grid", breadcrumb.CurrentContainer) as Grid;
        grid = breadcrumb.BarItemControlTemplate.FindName("Grid", breadcrumb) as Grid;
    }
}

<Style x:Key="RadBreadcrumbStyle" TargetType="{x:Type telerik:RadBreadcrumb}">
    <Setter Property="BarItemControlTemplate">
        <Setter.Value>
            <ControlTemplate TargetType="{x:Type telerikNavigation:RadBreadcrumbBarItem}">
                <Grid x:Name="Grid">
                    <Border x:Name="headerContainer" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
                        <telerik:RadSplitButton x:Name="SplitButton" ContentTemplate="{TemplateBinding HeaderTemplate}" Content="{TemplateBinding Header}" Command="telerikNavigation:RadBreadcrumbCommands.ClearSelectedItem" Foreground="{TemplateBinding Foreground}"
                                                IsOpen="{Binding IsPopupOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" InnerCornerRadius="0" Margin="0"
                                                Style="{TemplateBinding SplitButtonStyle}">
                            <telerik:RadSplitButton.DropDownContent>
                                <ScrollViewer x:Name="ScrollViewer" BorderThickness="0" HorizontalScrollBarVisibility="Auto" MaxWidth="270" MinWidth="200" Padding="0" MaxHeight="200" VerticalScrollBarVisibility="Auto">
                                    <Grid>
                                        <Grid HorizontalAlignment="Left" Width="32">
                                            <Border BorderBrush="Transparent" BorderThickness="0,0,1,0" Background="#FF848484" HorizontalAlignment="Right" Width="2"/>
                                            <Rectangle Fill="#FFF0F0F0" Margin="0,0,2,0"/>
                                        </Grid>
                                        <ItemsPresenter Margin="3"/>
                                    </Grid>
                                </ScrollViewer>
                            </telerik:RadSplitButton.DropDownContent>
                        </telerik:RadSplitButton>
                    </Border>
                </Grid>
                <ControlTemplate.Triggers>
                    <Trigger Property="HasItems" Value="False">
                        <Setter Property="DropDownIndicatorVisibility" TargetName="SplitButton" Value="Collapsed"/>
                    </Trigger>
                    <Trigger Property="IsLinearMode" Value="True">
                        <Setter Property="DropDownIndicatorVisibility" TargetName="SplitButton" Value="Collapsed"/>
                    </Trigger>
                    <Trigger Property="IsButtonPartHidden" Value="True">
                        <Setter Property="IsButtonPartVisible" TargetName="SplitButton" Value="False"/>
                    </Trigger>
                </ControlTemplate.Triggers>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>

Zarko
Telerik team
 answered on 30 Mar 2012
1 answer
485 views
Hi,

I want to format the currency columns with dollar sign ($) in rad gridview control .

example:
Salary:
$12000
$12321
$22000
$13000
$12000
$12321
$22000
$13000

Please post me some application or guide me to do that in xaml or in resource ditionary file.

Regards,
Arafath
Rossen Hristov
Telerik team
 answered on 30 Mar 2012
0 answers
117 views
Hi Maya,

I want to include the dollar sign($) in currency value column in radgridview control.

Example:
Salary.
$10,000.00
$5,000.00
$10,000.00
$5,000.00
$10,000.00
$5,000.00
$10,000.00
$5,000.00




Can you please help me to handle this ...ASAP

Regards,
Arafath
Mohamed
Top achievements
Rank 1
 asked on 30 Mar 2012
1 answer
52 views
Could someone tell me why I might be getting the attached error?  I downloaded to source code (2012.1.326) to catch the exact point when the exception is triggered in the Telerik source.  The code is not checking for SeriesMappings to be null.  Should I modify the source to return from the method if the SeriesMappings property is null?
Vladimir Milev
Telerik team
 answered on 30 Mar 2012
2 answers
69 views
Hi telerik,

We are using the docking feature - and have had the RadPaneGroup of docked panes in the bottom.

Now users are requesting that the RadPaneGruop is at the top in each of the split container instead as it is with DocumentHost.

Is it possible to move the RadPaneGroup to the top?

Thanks,

Anders, Denmark.
Konstantina
Telerik team
 answered on 30 Mar 2012
3 answers
359 views
Dear sir,

I have created a RadDropdownButton.
While the control is open, if I click on a control that I put within the dropdown content area then it launches another control dialog.
For example, I click on a button which launches a search dialog. But, for some reasons, this search dialog is overlapped/hidden by the RadDropdownButton control.

I have to keep the RadDropdownButton open when the search dialog is open and it seems to me the RadDropdownButton has a high Z-Index and always on top of the search dialog.

How can I resolve this issue?


Richard
Tina Stancheva
Telerik team
 answered on 30 Mar 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
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?