Telerik Forums
UI for WPF Forum
1 answer
127 views
Hi

When we click on Autoocomplete box we are ascertaining the below issue,
i have also glued the code where i am able to find the issue,
Can anyone help me to resolve this issue ?



string

 

 

_modeldesc = ((Telerik.Windows.Controls.RadWatermarkTextBox)(e.OriginalSource)).CurrentText;

 




Regards
Gayathri R
Ivo
Telerik team
 answered on 05 Feb 2013
2 answers
121 views
I am able to set the ColumnBackground at design time in the XAML, but when I try to set the ColumnBackground at runtime when my Window is loaded, nothing happens.  For example:

myGrid.ColumnBackground = new SolidColorBrush(Colors.AliceBlue);

Is it possible to set the ColumnBackground at runtime?
John DeVight
Top achievements
Rank 1
 answered on 04 Feb 2013
1 answer
129 views
Hi,

is it possible to get the filter popup to show from a context menu rather then clicking the filter button on the column header

Thanks

David
Yoan
Telerik team
 answered on 04 Feb 2013
2 answers
128 views
Hello. When I am resizing my GridView some cells can be displayed without borders (like merged) (in Expression dark theme, other themes work fine). Is it bug?

UPDATE: In other themes I found the same problem. I was doing very fast  horisontal resizing

Style to my GridView

<Style x:Key="GridViewStandardStyle" TargetType="{x:Type controls:OlbGridView}">
        <Setter Property="IsReadOnly" Value="True"/>
        <Setter Property="GroupRenderMode" Value="Flat"/>
        <Setter Property="VirtualizingStackPanel.IsVirtualizing" Value="True"/>
        <Setter Property="AutoGenerateColumns" Value="False"/>
        <Setter Property="ShowGroupPanel" Value="False"/>
    </Style>


Thanks
Yordanka
Telerik team
 answered on 04 Feb 2013
1 answer
269 views
I'm developing an application which uses the RadCartesianChart. There is also a ComboBox where I can choose some values. The performance of the Chart control is well (zooms and pans normally) until I click on the ComboBox. After this, the performance of the chart lacks. Panning and zooming is very slow. There are 288 values in this chart.
The problem appears on my computer (Core 2 Duo T9600). The problem doesn't appear on another computer (i7). I'm confused, because the ComboBox is needed. Telerik wpf controls are in v2012.2.607.40

Here the XAML:
<Window x:Class="testingComboboxBug.MainWindow"
        xmlns:ignore="http://www.ignore.com" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d ignore"
        Height="400"
        Width="800"
        Title="MVVM Light Application"
        DataContext="{Binding Main, Source={StaticResource Locator}}">
     
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Skins/MainSkin.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
 
    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <ComboBox Grid.Column="0">
            <ComboBox.Items>
                <TextBlock Text="Bla1"/>
                <TextBlock Text="Bla2"/>
                <TextBlock Text="Bla3"/>
            </ComboBox.Items>
        </ComboBox>
        <telerik:RadCartesianChart x:Name="RadCartesianChart" Margin="0" BorderBrush="Black" BorderThickness="0" Grid.Column="1"
                Zoom="{Binding Zoom, Mode=TwoWay}" PanOffset="{Binding PanOffset, Mode=TwoWay}" HorizontalContentAlignment="Center">
            <telerik:RadCartesianChart.Background>
                <SolidColorBrush Opacity="0"/>
            </telerik:RadCartesianChart.Background>
 
            <telerik:RadCartesianChart.Behaviors>
                <telerik:ChartPanAndZoomBehavior ZoomMode="Horizontal" />
            </telerik:RadCartesianChart.Behaviors>
 
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeCategoricalAxis PlotMode="OnTicks" MajorTickInterval="20" LabelFormat="HH:mmm"
                        LabelStyle="{StaticResource labelFontStyle}" MajorTickStyle="{StaticResource tickStyle}" ShowLabels="True" Margin="0,-2,0,0" />
            </telerik:RadCartesianChart.HorizontalAxis>
 
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis Title="Инт. ТС"/>
            </telerik:RadCartesianChart.VerticalAxis>
 
            <telerik:RadCartesianChart.Grid>
                <telerik:CartesianChartGrid StripLinesVisibility="None" MajorLinesVisibility="XY" Margin="0">
                    <telerik:CartesianChartGrid.YStripeBrushes>
                        <SolidColorBrush Color="#FFD7D7D7" Opacity="0.3" />
                        <SolidColorBrush Color="Transparent" />
                    </telerik:CartesianChartGrid.YStripeBrushes>
                </telerik:CartesianChartGrid>
            </telerik:RadCartesianChart.Grid>
            <telerik:BarSeries CategoryBinding="TimeStamp" ValueBinding="Value" ItemsSource="{Binding Counts}" PointTemplate="{DynamicResource BarSeriesTemplate}">
                <telerik:BarSeries.Resources>
                    <DataTemplate x:Key="BarSeriesTemplate">
                        <!--<Rectangle StrokeThickness="0" Fill="{Binding DataItem.Quality, Converter={StaticResource QualityColorConverter}}" />-->
                        <Rectangle StrokeThickness="0" >
                            <Rectangle.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FF066607" Offset="0"/>
                                    <GradientStop Color="#FF00D603" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                    </DataTemplate>
                </telerik:BarSeries.Resources>
            </telerik:BarSeries>
        </telerik:RadCartesianChart>
    </Grid>
</Window>
Petar Kirov
Telerik team
 answered on 04 Feb 2013
4 answers
342 views
Hi,
I'm trying to replicate the way Windows Explorer works when you expand a node.
If you expand a node with child items, and those childred expand beyond the view, the view scrolls so that as many of the child nodes as possible are displayed.

Currently I have this code, which works the first time a node is expanded, but stops to work after contracting and expanding.

private void Tree_OnExpanded(object sender, RadRoutedEventArgs e)
{
var originalSource = e.OriginalSource
as RadTreeViewItem;
new Thread(() =>
{
    while (originalSource.ItemContainerGenerator.ContainerFromIndex(0) == null)
        Thread.Sleep(100);
        
    Dispatcher.BeginInvoke(new Action(() =>
    {
        tree.BringIntoViewMode = BringIntoViewMode.HeaderAndItems;
        originalSource.BringIntoView();
        tree.BringIntoViewMode = BringIntoViewMode.Header;
    }));
 
 
}).Start();

Is there a better way to implement this behavior?
Tina Stancheva
Telerik team
 answered on 04 Feb 2013
1 answer
127 views
Hi,

When will RadControls for WPF Q1'13 released and is available for download?

Thanks
Regards
Rene
Dimitrina
Telerik team
 answered on 04 Feb 2013
0 answers
73 views
Hi,
i have a ItemSource of an ObservableCollection<ITestObject> and the user can add new rows to my RadGridView.

If the collections contains one item, the GridView takes this type for adding a new one.
In the case that the collection is empty, the user is unable to add one item.
Is there a way to work with collection of interface objects? Or is there a workaround?
Mark
Top achievements
Rank 1
 asked on 04 Feb 2013
6 answers
355 views
Hey,

I'm working on a project that requires that I style the various elements of the RadCalendar to match the rest of the application. I've attached a mock-up of what the goal style is.

It seems that I'll need to remove the header and move the navigation buttons to the headers for the left and right-most month headers, but I'm not sure how to go about doing that as I'm not terribly well versed with Telerik on the whole (basically my first time using it) and would really appreciate any advice.

Thanks,
-Devin
Masha
Telerik team
 answered on 04 Feb 2013
1 answer
101 views

It seems that 2012 Q3 install includes ChartView demos only .

I could not find RadChart demos in demo application.

RadChart demo is not available any more?

Yavor
Telerik team
 answered on 04 Feb 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
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?