Telerik Forums
UI for WPF Forum
6 answers
96 views
The release notes for Q1 2013 state that the TabStripPlacement property is now supported for RadDocking.

Could somebody please provide an example of this working?
Y
Top achievements
Rank 1
 answered on 29 Jul 2013
8 answers
314 views

Hi,

 


I’m binding CategotiesSource to my Categories collection and TimeMarkersSource to my TimeMarkers collection.

While categories are displaying perfectly right in the Edit Dialog, TimeMarkers drop down displays only Brushes’ colors I have defined; no text appears next to them.

What can be wrong?

thank you

Yana
Telerik team
 answered on 29 Jul 2013
1 answer
136 views
Hi

I'm not sure if this is the proper category for my question but I wasn't sure which to use.

I tried to compile for Release after previously successfully compiling in Debug.  I get many "Could not locate the assembly" errors.  Any ideas on how this may happen would be appreciated.

I am using Windows 8.1, and Visual Studio 2012 Desktop Express.

Thanks
Rich
Steliyan
Telerik team
 answered on 29 Jul 2013
1 answer
104 views
Hello,

Is it possible to set a custom sorting for a column, using an implementation of ICompare?

I've got a list like
1.1
1.5
1.10

With default sorting it sorts as 
1.1
1.10
1.5

Please let me know :-) Thanks in advance!

Best regards,
Ben
Yoan
Telerik team
 answered on 26 Jul 2013
2 answers
252 views
My project uses a RadMenu in the upper-right of the screen.  The menu needs to open from right to left so we use the flow direction "RightToLeft".  When using this flow direction, some header text with punctuation is rearranged.  Consider this example:

<telerik:RadMenu x:Name="radMenu2" ClickToOpen="False" Grid.Column="0" FlowDirection="RightToLeft">
  <telerik:RadMenuItem Name="testMenuItem" Header="Test">
     <telerik:RadMenuItem Header="123.ABC"/>
     <telerik:RadMenuItem Header="123ABC"/>
  </telerik:RadMenuItem>
</telerik:RadMenu>

In this case, when the menu is shown the first menu item will display "ABC.123" instead of "123.ABC".  The second item (without the period) displays fine.

  Other examples: 
  •   "Test_" will display as "_Test"
  •   "(Test" will display as "Test("
  •   "100%Effort" will display as "Effort%100"

 
  For some reason, setting a flow direction of "RightToLeft" will rearrange any text that contains certain special characters.

  Is there a way to stop this reversal of the menuitem header text?

Hristo
Telerik team
 answered on 26 Jul 2013
1 answer
142 views
Hi,

I have a question about dynamic series binding.

This is code example:
public class MyViewModel
{
  public List<ChartData> chartItem {get;set;};
  public List<List<ChartData>> ChartData {get;set;};
 
}
 
public class ChartData
{
  public DateTime Xvalue{get;set;}
  public DateTime Yvalue{get;set;}
}

ChartData has some chartItem, and one ChartItem will be graph a line in the ChartView.
ChartItem's quantity is dynamic in the ChartData. 

What ways can be binding this data in the ChartView? (Lineseries are dynamic.)

Thank you.
Rosko
Telerik team
 answered on 26 Jul 2013
1 answer
399 views
Hi,

I have three columns (Eg:ID ,Name, Location) ID column is readonly. When i insert new row by setting ShowInsertRow="True" and CanUserInsertRows="True" i need to enter the value for the ID column. How to achieve this? I am following MVVM pattern.

Thanks in Advance. 
Yoan
Telerik team
 answered on 26 Jul 2013
2 answers
376 views
Greetings,


I have been evaluating your excellent RadPDFViewer control which I am pleased with.

But the ScaleFactor does not appear to be working? I set in code and nothing happens. I also set it in the DocumentChanged event as you suggest and still nothing?

I hope you can help us?

Any help would be greatly appreciated.

This is really urgent since I am a freelance contractor working on a short-term project and the client needs a very quick turn around, ideally before my contract ends very soon! :)

Many thanks,
David.
P.S. It also appears REALLY slow when used in a frame, has anyone else seen this?
Petya
Telerik team
 answered on 26 Jul 2013
1 answer
205 views
How to Suspend Find Replace Dialog when Pressing Ctrl +F
Anna
Telerik team
 answered on 26 Jul 2013
1 answer
148 views

hi

i was given a solution to enable to re-template the AxisLabel2d controls which worked fine. See attached

When i resize the window, the labels revert back to the defaulted state (timedate), initally it is fine.

My converter does nothing but return a string. I restyle using the code below (as per the suggestion by you guys)

            ChartArea area = _CA;
            HorizontalAxisLabels2D axisLabelsContainer = area.FindChildByType<HorizontalAxisLabels2D>();
            var axisLabels = axisLabelsContainer.ChildrenOfType<AxisLabel2D>();
            System.Windows.Style style = _GD.Resources["CustomLabel"] as System.Windows.Style;
            foreach (var item in axisLabels)
            {
                item.Style = style;
            }


    public class GetTextConverter : IValueConverter, IMultiValueConverter
    {
        public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
        {
            return "I Am HERE";
        }
       
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            return "I Am HERE";
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { throw new NotImplementedException();}
        public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) { throw new NotImplementedException(); }
    }

 


<Style x:Key="CustomLabel" TargetType="telerikCharting:AxisLabel2D">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="telerikCharting:AxisLabel2D">
                <Border Background="{TemplateBinding Background}">
                    <Border.DataContext>
                        <MultiBinding Converter="{StaticResource GetTextConverter}">
                            <MultiBinding.Bindings>
                                <Binding Path="DataContext" ElementName="_GD"/>
                                <Binding Path="CurrentIndex"/>
                            </MultiBinding.Bindings>
                        </MultiBinding>
                    </Border.DataContext>
                    <TextBlock Style="{TemplateBinding ItemLabelStyle}" Text="{Binding .}">
                        <TextBlock.LayoutTransform>
                            <RotateTransform x:Name="PART_RotateTransform" />
                        </TextBlock.LayoutTransform>
                    </TextBlock>
                </Border>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>

Evgenia
Telerik team
 answered on 26 Jul 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
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
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?