Telerik Forums
UI for WPF Forum
1 answer
283 views

Hello,

we've bound commands to the tiles in the radtilelist control. 
Now both left and right mouse clicks execute the commands.
But we only want that the commands will only be executed by clikcing the left button.
It would be perfect if we can put a context menu on the right button.

Is that possible?

Thx.

Markus

Vladimir Stoyanov
Telerik team
 answered on 15 Jan 2018
1 answer
56 views

I have TreeListView with some of the "TreeListViewRow" have row detailers. 

I implemented Drag and Drop functionality using "DragDropManager". 

I want to prevent drag initialization when we start dragging from Row detailer. 

But "DragInitializeEventArgs" args giving "OriginalSource" value always the parent row even in case of drag starting from Row detailer.

Any help in this regard is highly appreciated. 

 

Thank you.

 

Martin Ivanov
Telerik team
 answered on 15 Jan 2018
9 answers
1.6K+ views

Hi,

 

in our application we have the flexibility to change the culture at runtime and I would like to know if it's possible with Telerik?

 

Thank'

Alain

Ankita
Top achievements
Rank 1
 answered on 13 Jan 2018
5 answers
200 views

Hi,

 

I use RadGridView with RadDataPager in my app. RadGridView enables users to filter currently displayed items.

Lets imagine that orders are dispalyed by date descending. There are 1000 orders, displayed 100 per page and hence 10 pages.

For simplicity lest imagine the orders 1-100 are from 2017.09, orders 101-200 are from 2017.08 and so on.

Using RadGridView a users select to filter orders where date > 2017.09.10.

On the first page (currently displayed) there will be about ~50 orders left after filtering. If the filter is still active and I start changing pages, all the pages 2,3,4...10 will be empty (since all orders from pages 2,3,4...10 are older than 2017.09.10). 

Is there any way to filter the collection feeding the RadDataPager after filtering from RadGridView is applied so the page count is recalculated?

Expected:

After filtering date > 2017.09.10 I would like the page cout to equal 1 so the user knows there is no point in  browsing other pages, since there is no data to be displayed.

 

Any tips how to achieve this?

 

This is something I would need:

AfterFiltersCreatedInRadGridView(eventArgs args)
{
    myRadDataPager.Collection = myRadDataPager.Collection.Where(x => MatchesFilter(x, args.Filters));
}
Stefan
Telerik team
 answered on 12 Jan 2018
1 answer
107 views

Hi

I can’t install the latest WPF demo from your website. I get an error message saying: Security settings does not allow this program to be installed.

I am running the latest version of Windows 10 – and have not had this issue before.

/Flemming Rosenbrandt


Vladimir Stoyanov
Telerik team
 answered on 12 Jan 2018
5 answers
124 views
If you have a RadButton in a RadToolbar and the button properties are set in a style, those properties do not get applied at runtime.  If you set the properties directly on the button itself, then they do get set.  This was working before and broke in the latest release.

Example: 
<telerik:RadToolBar x:Class="ToolBarTest.View.ToolBars.StandardToolbarView"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                     xmlns:Controls="clr-namespace:ToolBarTest.Controls"
                     >
    <telerik:RadToolBar.Resources>
        <Style x:Key="Refresh" TargetType="telerik:RadButton">
            <Setter Property="ToolTip" Value="Refresh Set Via Property"/>
        </Style>
    </telerik:RadToolBar.Resources>
        
    <telerik:RadButton x:Name="Refresh" 
                       Style="{StaticResource Refresh}" 
                       Controls:ImageContentSetter.Source="/ToolBarTest;component/Images/document_refresh.png"
                       />
</telerik:RadToolBar>

With the above XAML, the Tooltip is NOT SET on the button.

While here:
<telerik:RadToolBar x:Class="ToolBarTest.View.ToolBars.StandardToolbarView"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                     xmlns:Controls="clr-namespace:ToolBarTest.Controls"
                     >
    <telerik:RadToolBar.Resources>
        <Style x:Key="Refresh" TargetType="telerik:RadButton">
        </Style>
    </telerik:RadToolBar.Resources>
        
    <telerik:RadButton x:Name="Refresh" 
                       Style="{StaticResource Refresh}" 
                       Controls:ImageContentSetter.Source="/ToolBarTest;component/Images/document_refresh.png"
                       ToolTip="Refresh"
                       />
</telerik:RadToolBar>

The tooltip IS SET on the button.

This might seem like a minor thing, but we have MANY buttons in our application and they all take advantage of property setting via styles.  There's NO WAY we are going to go change all of our XAML to work around this.  We cannot upgrade to the Q1 2013 release until this is fixed.
Petar Mladenov
Telerik team
 answered on 12 Jan 2018
4 answers
787 views
 <telerik:RadWindow
                x:Class="Testing.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:navigation="clr-namespace:Telerik.Windows.Controls.Navigation;assembly=Telerik.Windows.Controls.Navigation"
                    navigation:RadWindowInteropHelper.ShowInTaskbar="True"
                Header="RadWindow" Height="1000.098" Width="1315.286"
    >

This is the MainWindow.xaml

 

- I have removed the StartUrl in app.xaml

- I have changed MainWindow: Window To MainWindow: RadWindow

protected override void OnStartup(StartupEventArgs e)
{
    new MainWindow().Show();
    base.OnStartup(e);
}
I have added this to app.xaml.cs

 *------

When I run the wpf, a exe is running( as i can see in task manager), but nothing show up.

 

This is driving me crazy. Any help would be appreciated

Martin
Telerik team
 answered on 12 Jan 2018
1 answer
110 views

Hi.

We're aiming to use the grid view in application running in Windows Embedded 8.1 Industry Enterprise on a platform with an Intel Atom processor.

When we run the application we see a substantial memory leak when the grid view is repeatedly updated.
We don't see any memory leak when running the application in desktop Win 7.

I have a test project to reproduce the issue, but it seems you're not allowed to attach zip-files.

Joel
Top achievements
Rank 1
Iron
 answered on 11 Jan 2018
5 answers
133 views

Hi,
I'm relatively new with working of telerik wpf controls,
I'd like to create horizontal stacked bar(on y axis) with datetime scaled on x axis,
specially I have to deal with solutions for viewing states(every state has different colour) in one stacked bar (see enclosed pct..).

Is it case for RadCartesianChart or radtimebar, or please can you show me some example of it ?

Tomas

Stefan
Telerik team
 answered on 11 Jan 2018
3 answers
988 views
Hi Telerik Team,

We're using the latest GridView components, VS2015 C#, MVVM project and we're trying to use the info from your Custom Row Layout demo to customize the look of our rows.
This worked pretty well so far but now we're facing the problem having more than one RadGridView on one page.

Currently we're setting the GridViewRow template like in your demo.
But then every GridView on this page uses this template thus both grids look like our custom template.
Is there a way to specify different GridViewRow templates to two grids on one page?

And the second question is: How to create a selection highlight for a templated GridViewRow?

Currently the row shows up like we want it but selection highlight doesn't work anymore.
Maybe you've a demo how to achive this.
Even in your custom layout demo row selection doesn't seem to work.

I hope you can help me with both problems.

Thank you in advance for your efforts.

Best Regards,
Thomas
Stefan
Telerik team
 answered on 11 Jan 2018
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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?