Telerik Forums
UI for WPF Forum
1 answer
108 views

Ok, so I posted this a few minutes ago, but it disappeared. I'll try again.

I am trying to get a richtextbox editor set up in my app.

I created a blank application. I followed the doc and added all the references first.

I then dragged a RadRichTextBox onto the MainWIndow designer and watched the wizard pop up. I went through the wizard and  made one modification. I changed the first dialog to say I wanted a word processor. Other than that I left all at their defaults. I got to the end of the wizard and hit finish. BANG!

ArgumentException: Property 'System.Object DropDownContent' is not defined for type 'Telerik.Windows.Controls.RadRibbonSplitButton

 

Not deterred, I hit save and closed and reopened the MainWindow and the error seemed to go away.

I compiled just fine. I ran it and all I got was a blank page and I could not enter or edit, nor did I see any of the toolbars/ribbons/ruler etc. I have made no changes to anything other than the wizard change described above.

Please advise on how to fix this.

While we're at it bonus points will be given if you can tell me how to get whatever the user puts in the richtextbox onto a telerik report!

Thanks ... Ed

 

 

 

 

Tanya
Telerik team
 answered on 15 Jan 2018
1 answer
156 views

Hey guys,

I have the following problem, I have i graph where i can select multiple dataseries but some dataseries have different units like millisecond, volt etc. So I want to define for each unit one y-axis on the right side and check which y-axis I need when I select different dataseries. How can I reach this behavior? I know how many different units I have so I would like to create the y-axes statically. Only the visibility should be set after the check.

 

Thanks in advance for your help

Max

Martin Ivanov
Telerik team
 answered on 15 Jan 2018
1 answer
277 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
53 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.5K+ 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
189 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
102 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
118 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
770 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
107 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?