Telerik Forums
UI for WPF Forum
1 answer
378 views
In the release notes for Q3 2012 (version 2012.3.1017), for ListBox I see:
"Implemented AutoScrolling in ListBox. Added SmoothScrolling virtualized panel. "

How can I turn on smoothscrolling and autoscrolling?
Alek
Telerik team
 answered on 14 Dec 2012
1 answer
108 views
I set the theme explicitly from a copy of your theme file:

<ResourceDictionary.MergedDictionaries>
  <ResourceDictionary Source="../Themes/Telerik.Windows.Controls.Navigation.xaml"/>
</ResourceDictionary.MergedDictionaries>

I have this menu item:
<telerik:RadMenuItem x:Name="mainMenuFileExit" Header="E_xit" Command="{StaticResource Commands.ExitApplication}"  />

When I set the theme to Windows 7 it works as expected:
Telerik\RadControls for WPF Q3 2012\Themes.Implicit\WPF40\Windows7\Themes\Telerik.Windows.Controls.Navigation.xaml

However, if I choose another theme the access key is interpreted as part of the header text:
Telerik\RadControls for WPF Q3 2012\Themes.Implicit\WPF40\ExpressionDark\Themes\Telerik.Windows.Controls.Navigation.xaml

Clearly, something is wrong with your non-Windows7 themes.
Masha
Telerik team
 answered on 14 Dec 2012
1 answer
371 views
I wish for my edit window (RentalTicket) to only open when I double click on a valid row.  I want nothing to happen if the headers are double clicked, or if the scrollbar is double clicked.
Also, when I click on blank space in my RadGridView, the selected row is still selected.  I think that the selected row should de-select if I click on a non row in the RadView Grid.

My RadGridView:
</telerik:RadGridView>
        <telerik:RadGridView AutoGenerateColumns="False" Margin="12,0,12,12" Name="radGridViewNeedsShipping" SelectionMode="Extended" ShowGroupPanel="False" Height="190" VerticalAlignment="Bottom" MouseDoubleClick="rgvOpenTicket" >
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="PO Number" IsReadOnly="True" UniqueName="SerialNumber" CellStyleSelector="{StaticResource transactionStyleSelector}"/>
                <telerik:GridViewDataColumn Header="Customer" IsReadOnly="True" UniqueName="Customer.EntityName" />
                <telerik:GridViewDataColumn Header="Ship By Date" IsReadOnly="True" UniqueName="TransactionDate" DataFormatString="{}{0:MM/dd/yyyy}"/>
                <telerik:GridViewDataColumn Header="Type" IsReadOnly="True" DataMemberBinding="{Binding Path=TransactionTypeId, Converter={StaticResource transactionTypeConverter}}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>

and this is my doubleClicked function:
private void rgvOpenTicket(object sender, MouseButtonEventArgs e)       
        {
            RentalTicket rt = new RentalTicket(((Transaction)((Telerik.Windows.Controls.RadGridView)sender).SelectedItem));
            rt.Closing += new System.ComponentModel.CancelEventHandler(dispatcherTimer_Tick);
            rt.Show();
        }
Nick
Telerik team
 answered on 14 Dec 2012
2 answers
251 views
Hi,

What would be the recommended approach for printing and print previewing the grid control ?
 Thanks,
Dani
Dimitrina
Telerik team
 answered on 14 Dec 2012
1 answer
297 views
I'm using CategoricalAxis to create a nice histogram plot. How can I hide the ticks on the horizontal axis?
I read about a MajorTicksVisibility property, but IntelliSense never shows it so I suspect it's not there...

<chart:RadCartesianChart x:Name="RadCartesianChart" Palette="Arctic" Margin="10">
        <chart:RadCartesianChart.DataContext>
            <viewModels:HistogramViewModel />
        </chart:RadCartesianChart.DataContext>
        <chartView:BarSeries ItemsSource="{Binding Data}" ValueBinding="Value"
                            ShowLabels="False" FontFamily="Segoe UI" FontSize="10">
        </chartView:BarSeries>
        <chart:RadCartesianChart.HorizontalAxis>
            <chartView:CategoricalAxis  GapLength="0" ShowLabels="False" FontFamily="Segoe UI" FontSize="12" />
        </chart:RadCartesianChart.HorizontalAxis>

        <chart:RadCartesianChart.VerticalAxis>
            <chartView:LinearAxis FontFamily="Segoe UI" FontSize="12"
                            Title="Histogram"
                            Minimum="0" Maximum="{Binding AxisMaxValue}"
                            ShowLabels="True" />
        </chart:RadCartesianChart.VerticalAxis>
        <chart:RadCartesianChart.Grid>
            <chartView:CartesianChartGrid MajorLinesVisibility="Y" />
        </chart:RadCartesianChart.Grid>
    </chart:RadCartesianChart>
Petar Marchev
Telerik team
 answered on 14 Dec 2012
2 answers
120 views
With a recent update to Q3 2012, all of our RadListBox started to show the content with FontWeight="Bold", which was not the case with previous versions. As a result, many of our screens became plain ugly.

Was it a deliberate decision to make this theme change or is it a bug?

Even more, if the data template of a RadListBoxItem has a TextBlock with FontWeight set explicitly, it is ignored and the Bold style is used. 

Code example:
<telerik:RadListBox ItemsSource="{Binding TestItems}">
    <telerik:RadListBox.ItemTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding }"
                       FontWeight="Normal"
                       FontSize="18" />
        </DataTemplate>
    </telerik:RadListBox.ItemTemplate>
</telerik:RadListBox>

For this template, items are still shown with Bold.

I've checked and this behavior is specific for Windows8 & Metro themes, Windows7 still displaying items correctly.

Any workarounds to get our screens back to normal and looking good?

Thanks
Masha
Telerik team
 answered on 14 Dec 2012
0 answers
71 views
Sorry, I miss typed the title.
David
Top achievements
Rank 1
 asked on 14 Dec 2012
6 answers
266 views
We have an ExternalDLL directory where we store all external dll's that are used by our software product.
All Telerik dll's we use are in that directory too. The ExternalDLL is versioned in TFS. This worked great up to the 2012 Q3 release. 
If I do a get Latest version Visual Studio hangs on the Telerik.Windows.Documents.dll, if I wait a very long time Visual Studio reports the file is in use.

If I start Visual Studio without loading a project an just go to Team Explorer and get the Telerik.Windows.Documents.dll Visual Studio hangs again. I disabled my virus scanner but get the same result. Removing and adding the directory from my Workspace also hangs. Getting and loading the solution file also hangs VS 2010.

I'm using Visual Studio 2010, SP1 with the Silverlight 5 update on Windows 7 64 bit professional. Telerik is version 2012.3.1203.40.
I tried reproducing the problem on a 32 bit virtual machine, there I can get the Telerik.Windows.Documents.dll without a problem. Unfortunately the DirectShow video streams we are showing do not work in the Virutal Machine.

At this moment I can not do a Get Latest Version in Visual Studio so I'm stuck.

After some more testing we found that Telerik.Windows.Documents.dll version 2011.3.1220.40 can be get from TFS on a 64 bit Windows 7, but version 2012.3.1017.40 and 2012.3.1203.40 cannot be get on 64 bit from TFS, if I try that VS 2010 hangs. If you wait long enoug after an hour or so VS 2010 reports that the file dll is in use.

Does anybody have a clue how to solve this?
Pieter
Top achievements
Rank 2
 answered on 13 Dec 2012
1 answer
292 views

If I use your RadTabControl, I get error 26 in the Output window. Why?

System.Windows.Data Error: 26 : ItemTemplate and ItemTemplateSelector are ignored for items already of the ItemsControl's container type; Type='RadTabItem'



<telerik:RadTabControl x:Name="tabControl" Grid.Row="1" VerticalAlignment="Top"
                               DisplayMemberPath="Content" DropDownDisplayMode="Visible" ScrollMode="Viewport">
   <telerik:RadTabItem />
</telerik:RadTabControl>

I copied the Windows 7 theme from \RadControls for WPF Q3 2012\Themes.Implicit\WPF40\Windows7\Themes:

<Window.Resources>
   <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
         <ResourceDictionary Source="../Themes/Telerik.Windows.Controls.Navigation.xaml"/>
Pavel R. Pavlov
Telerik team
 answered on 13 Dec 2012
1 answer
144 views
The animation for opening and closing a panel that is using autohide is very jerky, and it seems the panel underneath flickers. This is visible even on the demo. Is there a fix for this?
Vladi
Telerik team
 answered on 13 Dec 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
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?