Telerik Forums
UI for WPF Forum
1 answer
103 views

Hello,
I'm using the RadImageEditor control in a WPF application using the Office2013 theme.

With ScaleFactor at 0, there is a margin around the image and it is not aligned with the orther controls.

With another scale factor, the scroll bars are out by one pixel: the top of the image is one pixel lower than the vertical scroll bar and the left of the image is one pixel at the right of the horizontal scroll bar.

Masha
Telerik team
 answered on 26 Nov 2015
3 answers
185 views
Hello,

I recently tried to make my RadCartesionChart w/ bar series horizontal.  It took be more than an hour trying to duplicate the demo you provide before I found the right documentation.  The demo has attaches an "orientation" property from a telerik.examples namespace.  In order words, hard to copy.  The radchartview/radchark deocumentation does not tell you either.  If was only the xamlflix that said:

Note that RadChartView does not have Bar and HorizontalBar series types; it has only one Bar type and the orientation is set by properly initializing RadCartesianChart.HorixontalAxis and the RadCartesianChart.VerticalAxis properties.

Please update your examples/documentation to make this more obvious.

Thanks,
Eric
Evgenia
Telerik team
 answered on 26 Nov 2015
7 answers
199 views
I need to implement "ChangeCase" keyboard shortcut (like Shift+F3 in MS Word) for RadRichTextBox, which changes the text either selected by mouse, or the last word before caret's position. So i can't find best way how to do this. May be i should use the way with selections like:

DocumentPosition pos = new DocumentPosition(this.radRichTextBox.Document.CaretPosition);
  
pos.MoveToCurrentWordStart();
this.radRichTextBox.Document.Selection.SetSelectionStart(pos);
  
pos.MoveToCurrentWordEnd();
this.radRichTextBox.Document.Selection.AddSelectionEnd(pos);

And then work with selected word. Or just replace word in position. 

The result should be (3 consecutive Shift+F3):
word --(Shift+F3)-> Word --(Shift+F3)-> WORD --(Shift+F3)-> word
Boby
Telerik team
 answered on 26 Nov 2015
5 answers
77 views

hello,

i want to add a button on the end of the rows how can i make it?

i attach a picture that i made in photoshop,I want to make it look the same as the picture

thank. 

miri.

Stefan Nenchev
Telerik team
 answered on 25 Nov 2015
9 answers
604 views
I'm seeing the following messages appear in the output window of visual studio (2012).

I'm not sure why or how to resolve them, can anyone explain how?

The XAML is defined as follows, we use a behaviour to expand the rows when first loaded.

                                       <telerik:RadTreeView Margin="5"
                                                         controls3:StyleManager.Theme="Windows7"
                                                         IsExpandOnSingleClickEnabled="True"
                                                         SelectionMode="Single"
                                                         IsEditable="False"
                                                         IsRootLinesEnabled="True"
                                                         DisplayMemberPath="Title"
                                                         ItemsSource="{Binding Filters, Mode=OneWay}">

                                        <i:Interaction.Behaviors>
                                            <behaviors:ExpandFiltersBehavior ParentBinding="{Binding}" />
                                        </i:Interaction.Behaviors>
                                        
                                        <telerik:RadTreeView.ItemTemplate>
                                            <HierarchicalDataTemplate ItemsSource="{Binding SubFilters, Mode=OneWay}">
                                                
                                                <StackPanel Orientation="Horizontal">
                                                    <CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}" />
                                                    <TextBlock VerticalAlignment="Center" 
                                                               Margin="5,0,0,0"
                                                               Text="{Binding Title, Mode=OneWay}" />
                                                </StackPanel>
                                                
                                            </HierarchicalDataTemplate>
                                        </telerik:RadTreeView.ItemTemplate>
                                        
                                    </telerik:RadTreeView>





System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set;  'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set;  'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set;  'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set;  'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set;  'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set;  'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set;  'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set;  'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='8322828'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='8322828'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='3060505'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='3060505'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='27544548'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='27544548'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'

Peshito
Telerik team
 answered on 25 Nov 2015
1 answer
180 views

Hi guys, my project is C# language, and WPF architecture.

I am having the issue of loading the page of the Richtextbox which take around 15 seconds to completely load the page. So, I insert the code as follow(picture is attached in this post): RadCompositionInitializer.Catalog = new TypeCatalog(typeof(HtmlFormatProvider), typeof(TxtFormatProvider),typeof()Hyperlink),typeof(IInsertHyperlinkDialog));

The page taken around 4 seconds to load and eventually solve my problem, but whenever I click the hyperlink button, the hyperlink dialog didnt show up. While the other function like font size, insert picture dialog, bold..italy... all is working well except the hyperlink dialog.

If I erase the new added code , the hyperlink dialog will prompt up but it took about 15 seconds again to load the entire page(background main page as the picture attached).

Quality Assurance reject my work as it took too long to load the page.
May I know how to prompt up the hyperlink dialog and also used less time to load the entire page?

Thanks.

Tanya
Telerik team
 answered on 25 Nov 2015
1 answer
99 views

Hello there,

I got a little problem Binding MinHeight and Height of DragResizeSlotHighlightContainer to a Property of a GanttTask.

So for the EventContainer everything works fine, I solved it this way:

<Style TargetType="telerik:EventContainer" BasedOn="{StaticResource EventContainerStyle}">
   <Setter Property="Background" Value="{Binding OriginalEvent.Background}"/>
   <Setter Property="MinHeight" Value="{Binding OriginalEvent.Height}"/>
   <Setter Property="Height" Value="{Binding OriginalEvent.Height}"/>
</Style>

But for DragResizeSlotHighlightContainer it doesn't work getting OriginalEvent.Height to set MinHeight...

<Style TargetType="telerik:DragResizeSlotHighlightContainer"
   BasedOn="{StaticResource  DragResizeSlotHighlightContainerStyle}">
   <Setter Property="MinHeight" Value="{Binding OriginalEvent.Height}"/>
</Style>

 

Polya
Telerik team
 answered on 24 Nov 2015
1 answer
78 views

Hi,

I add some ribbon tabs to my project and give them access text.

the key tool tips aren't in right place.

note :

my radribbonview has right to left flow direction.

i attach a picture and a project to show my problem.

thanks.

Kiril Vandov
Telerik team
 answered on 24 Nov 2015
1 answer
209 views

Hello! 

I have a question about the RadContextMenu. I created my class DataGridView so this class inherited from RadGridView. If I add contextMenu with    RadContextMenu.SetContextMenu(this, contextMenu) can't add new contextMenu. Look this:

public class DataGridView : RadGridView
{

   public DataGridView()
   {

          // create menu
            var contextMenu = new RadContextMenu();
            RadMenuItem item = new RadMenuItem();
            item.Header = "Hello";
            contextMenu.Items.Add(item);
            contextMenu.Opened += ContextMenu_Opened;
            //add something that we can use to get the data grid on context menu events
            contextMenu.ItemClick += ContextMenu_ItemClick;
            contextMenu.Opening += ContextMenu_Opening;
            // set menu Theme
            StyleManager.SetTheme(contextMenu, StyleManager.GetTheme(this));
            RadContextMenu.SetContextMenu(this, contextMenu);

   }
           

}

Nasko
Telerik team
 answered on 24 Nov 2015
3 answers
553 views
How to Save all rows from radgridview (wpf) to Sql database?
Dilyan Traykov
Telerik team
 answered on 24 Nov 2015
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?