Telerik Forums
UI for WPF Forum
1 answer
174 views

Hi.

I want to use pdf integrated RadBook.

but this is important to having a ToolBar for Paging, zooming, Panning.

please tell me the best APIs, Controls, Senario, ...... 

Thanks.

Martin Ivanov
Telerik team
 answered on 14 Jul 2015
1 answer
109 views

Hi,

I'm trying to change the culture number format as italian format on my gridview and keep the english language.

If I copy and paste number without enter on edit mode, the cell is keeping the right format (for example 33.000,58)

Otherwise if I'm entering on edit mode the cell lost the number format

 

I uploaded the demo on support ticket

Thank you

 

Dimitrina
Telerik team
 answered on 14 Jul 2015
5 answers
137 views

Hi there,

 in one of my apps I'm doing the following inside RadGridView:

<telerik:GridViewColumnGroup Name="WeightMonthMatchingGroup">
   <telerik:GridViewColumnGroup.Header>
      <TextBox Text="{Binding Path=ParameterOverrides.WeightMonthMatching, StringFormat=F1}" Style="{StaticResource ParamTextBoxStyle}"/>
   </telerik:GridViewColumnGroup.Header>
 </telerik:GridViewColumnGroup>

Until version 2015.1.225.45 this XAML resulted in a usable TextBox inside the GridViewColumnGroup header. Today if updated the Telerik.Windows.Controls.GridView assembly to version 2015.2.623.45 and now the header only displays "System.Windows.Controls.TextBox" as a string and no more a TextBox as before. Is this a bug or did you change this behavior on purpose?

 Cheers,

Marcel

Vera
Telerik team
 answered on 13 Jul 2015
2 answers
85 views

Hello,

 I finally got my group panel items to show the name of the column rather than the type of the object stored in the Header property.  A picture is attached.

 Unfortunately, now I lost the nice built in functionality that comes with it.

 Such as:

  • The border around the column name
  • The ability to sort the group by (asc/desc)
  • The X that slides in from the right to remove the item from the group by.

Is there a way to get that back?  Or perhaps I should be doing it a different way?

Here is my XAML:

<Style TargetType="telerik:GridViewGroupPanelItem">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate>
                <TextBlock Text="{Binding Column.Header.Name}" />
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>

  Thanks in advance!

Dimitrina
Telerik team
 answered on 13 Jul 2015
1 answer
453 views

I'm using your TabControl as a region for Prism.  It is working fine in most respects, but I can't figure out how to set the header.  I've seen some related posts on this, but can't quite work it out.  I've associated the tab control with a region "Main" and host a view in it thusly:

            var mainRegion = _regionManager.Regions[RegionNames.Main];
            var workView = _container.Resolve<MultiWorkspaceView>();
            mainRegion.Add(workView);
            mainRegion.Activate(workView);

I added a property to MultiWorkspaceView called Title.  It seems to me that the context of the tab would be the view that is being hosted, but it seems not.  This doesn't work:

        <telerik:RadTabControl Grid.Row="1"
                               x:Name="MainTabControl"
                               prism:RegionManager.RegionName="{x:Static inf:RegionNames.Main}">
            <telerik:RadTabControl.ItemTemplate>
                <DataTemplate>
                    <StackPanel>
                        <TextBlock Text="{Binding Title, diag:PresentationTraceSources.TraceLevel=High}"></TextBlock>
                        <TextBlock Text="Workspace"></TextBlock>
                    </StackPanel>
                </DataTemplate>
            </telerik:RadTabControl.ItemTemplate>
        </telerik:RadTabControl>

I can see the Workspace text, but the binding is empty.  Any ideas?  Thanks!

 

Kiril Vandov
Telerik team
 answered on 13 Jul 2015
1 answer
89 views

Hi, I'm having a problem with the date format when I parse a date and its doesn't show the right date.

I set RadDatePicker Culture to fr-CA xaml side. and my application culture + cultureUI is set to fr-CA

I parse 03/07/2015 --> it shows 2015-03-07 = March 07 2015 it should be July 03 2015 (2015-07-03)

CodeSnipet Below.

<telerik:RadDatePicker  Grid.Column="1" Grid.Row="1"Style="{StaticResource leftRadDatePicker_style}"  Name="dateFacture"DateTimeWatermarkContent="{x:Static resources:Facture.DateWaterMark}"SelectedDate="{Binding DateFacture, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,NotifyOnValidationError=True}">  </telerik:RadDatePicker >

<Style TargetType="telerik:RadDatePicker" x:Key="leftRadDatePicker_style">
        <Setter Property="Height" Value="36" />
        <Setter Property="FontSize" Value="16" />
        <Setter Property="VerticalAlignment" Value="Top" />
        <Setter Property="Culture" Value="fr-CA" />
        <Setter Property="Margin" Value="20,5,20,0" />
        <!--<Setter Property="Template" Value="{DynamicResource RadDatePickerControlTemplate}"/>-->
        <Setter Property="Validation.ErrorTemplate">
            <Setter.Value>
                <ControlTemplate>
                    <StackPanel>
                        <!-- Placeholder for the TextBox itself -->
                        <AdornedElementPlaceholder x:Name="textbox"/>
                        <TextBlock Text="{Binding [0].ErrorContent}" Style="{StaticResource ErrorText_style}" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsKeyboardFocusWithin" Value="True">
                <Setter Property="IsDropDownOpen" Value="True" />
            </Trigger>
        </Style.Triggers>
    </Style>
 

Thread.CurrentThread.CurrentCulture = new CultureInfo(ConfigurationManager.AppSettings["Culture"]);//Is fr-CA
 
Thread.CurrentThread.CurrentUICulture = new CultureInfo(ConfigurationManager.AppSettings["Culture"]);//Is fr-CA

 

 

 

Nasko
Telerik team
 answered on 13 Jul 2015
1 answer
135 views

Hy Team !
I am showing the DropDown menu on focus with this code :

private void RadAutoCompleteBox_GotFocus(object sender, RoutedEventArgs e)
        {
            var autoComplete = (RadAutoCompleteBox)sender;
            string searchText = autoComplete.SearchText;
            if (autoComplete.SelectedItem != null)
            {
                searchText = BindingExpressionHelper.GetValue(autoComplete.SelectedItem, autoComplete.DisplayMemberPath).ToString();
            }
            autoComplete.Populate(searchText);
        }

 

This works but it also disable the left click when I try to select something from this list. Every other way are working (right click, keyboard control, ...) just the left click doesn't.

So what can I do to fix this issue ?

Nasko
Telerik team
 answered on 13 Jul 2015
3 answers
133 views

Hi,

I'm using the lastest version of telerik version 2015.2.623.45 with implicit theme.

I'm able to add items to outlookbar at runtime by adding view in the Items collection of OutlookBar. But when the items are added or when i'm playing with the outlookbar horizontal splitter, the control never accept my first resizing and i'm always mandatory to do operation twice to be able to resize correctly the area.

You can found a sample here.

To reproduce :

1- Click many times on the button in the right side. It adds view to the outloobar in the left side.

2- Try to collapse new header with the horizontal splitter. For samples collapse two rows and release the mouse button.

3- The area is automatically resize to original size. 

4- Repeat exactly same operation works.

 

Can you help me ?

Thanks

Regards

Luc

 

Peshito
Telerik team
 answered on 13 Jul 2015
1 answer
172 views

Hi,

 I add in my charts series as trend lines (linear, logarithmic, polynomial,...). All work good but the best solution is show it as annotation that is not depending on a set of datapoints but that is draw on all current visible chart area (as a line annotation).

 Exists a strategy to draw a custom annotation (or other instrument) as a math function instead of a simple line?     

marc.

Petar Marchev
Telerik team
 answered on 13 Jul 2015
6 answers
319 views
After dynamically applying a palette to a chart, how do I find the color of a particular series on that chart based on the palette application?

My xaml is as follows:
<Controls:RadCartesianChart x:Name="chart" Palette="{Binding SelectedPalette, Mode=TwoWay}" >

If the value of  SelectedPalette changes, I want to know the resulting color of any given Series in the chart's  SeriesCollection in my xaml.cs. The types of these charts may be BarSeries, LineSeries or AreaSeries .

Thanks
Petar Marchev
Telerik team
 answered on 13 Jul 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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?