Telerik Forums
UI for WPF Forum
3 answers
296 views

Hello,

is it possible to accept that the negative sign is put at the end of the number, when editing?

For example: typing "55-" will enter "-55" and will be formatted correctly when the cursor leaves the control.

Dinko | Tech Support Engineer
Telerik team
 answered on 06 Oct 2016
1 answer
192 views
Hi!
I need to use that function:

ElementHost.EnableModelessKeyboardInterop(window);

If window object is "RadWindow" type, that method does not accept, becouse that is not of type "System.Windows.Window"
How can I solve it? Or is there other way to open wpf Telerik Window from WindowsForm App?

Thanks!
Nasko
Telerik team
 answered on 06 Oct 2016
8 answers
702 views
I saw that by default RadRibbonView color is black, but I need to move to another custom color and I'm not getting, even managed to change the color of RadRibbonView in general, but when I add a RadRibbonTab the color set to the main RadRibbonView is behind and superior color remains black, fasso change in the Background of the controls, but the look remains the same. How can I solve this.?


 <Grid>
        <telerik:RadRibbonView Margin="0,3">
            <telerik:RadRibbonView.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF0098C5" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                </LinearGradientBrush>
            </telerik:RadRibbonView.Background>
            
            <telerik:RadRibbonTab Header="Tab 1">
                <telerik:RadRibbonGroup>
                    <telerik:RadRibbonGroup.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF0098C5" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                        </telerik:RadRibbonGroup.Background>
                    <telerik:RadRibbonButton Content="Teste">
                        
                    </telerik:RadRibbonButton>
                </telerik:RadRibbonGroup>
            </telerik:RadRibbonTab>
        </telerik:RadRibbonView>
    </Grid>

I changed the background color of each component, but only RadRibbonView was changed, but stayed behind the other

graciously
André
Kiril Vandov
Telerik team
 answered on 06 Oct 2016
0 answers
136 views

We have upgraded our Telerik control Toolkit  from 2011.3.1116.40  to 2016.1.217.45 and have found many issues to take care manually in order to satisfy our UI requirement so user will not experience any difference with this upgrade in our system. So far we were able to resolve other issue except the one that I have mentioned below. That is our primary concern as of now and need to resolve ASAP. Please advice or provide any information that will speed up our work.

Here is the issue.
With Telerik version 2011.3.1116.40  our grid control will have validation error and message if input is mandatory like this  and that is what our expected behavior :

refer the  attachment : 2011_telerik.png

But with Telerik 2016.1.217.45, we have lost this functionality. see below :refer the  attachment 

refer the  attachment : 2016_telerik.png

More Inf 

1. we are implementing the validation through the IDataErrorInfo and INotifyDataErrorInfo .

2.  using text boxes inside the gridview.

3. applying the validations on some cell's in the row ,

4. didn't understand why pink color is showing in the background. we didn't want this.

.5. we want red highlight border color for this validation.

 

 

 

Vinod
Top achievements
Rank 1
 asked on 05 Oct 2016
1 answer
84 views
We have a project which was writen by telerik version 2010 (use Scheduler). Now we have to upgrade it to newest version of teletik that use ScheduleView. We foud that there are many differences between Scheduler and ScheduleView. Do you have any suggestion for this case ?
Yana
Telerik team
 answered on 05 Oct 2016
7 answers
252 views

 Hi,

   I have three choices for one of the property and I am showing them in combobox.Once user changes the choices we will take confirmation from user if he says no I have to retain the old value and show in the combo the selected value as oldvalue.But here I am not changing the value of model property but combobox value changing to new value.How to stop it??

 

For Example:

  Property Name :Transportation

Property Values : Enum vehicles

                             {

Bus,

Car,

Walk

                              }

 

 

Dharmavaram
Top achievements
Rank 1
 answered on 05 Oct 2016
3 answers
1.0K+ views

Hi ,

   In our project we used to use Winform PropertyGrid and for some Properties we used TypeConverter to show list of values in comboboxes.

  Now as telerik not supporting complete TypeConverter and sending null value in ITypeDescriptionContext,I can't use it in RadPropertyGrid.

So I thought of Binding List<string> properties to the property as combo and store selectedvalue in another Property once user Select a value in PropertyGrid.

But When I try to bind List<string> Property it is showing it as CollectionEditor but I want to show it as Combobox and once user select I want to store in on another Property so that I can use it further.

And I will get the List dynamically ,so I can't change the type to Enum.

I have tried to create Combobox Template and Combobox userControl I am not able to understand how to pass ItemSource to this usercontrol or template.

I can't create ten templates for each Property.I have to reuse the same template. 

So please suggest something that is feasible as early as Possible.

I have attached two image files. I Want Company,employees,Designations,similar to Countries.

I have created Sample Application but not able to attach here.

Dharmavaram
Top achievements
Rank 1
 answered on 05 Oct 2016
1 answer
159 views

We would like to disable the Undo feature of the underlying TextBox in the RadNumericUpDown control.

It interferes with our global Ctrl+Z undo command when the RadNumericUpDown is keyboard focused.

Thanks.

 

Nasko
Telerik team
 answered on 05 Oct 2016
1 answer
123 views

I have problem with using DragAndDropManager for Telerik version 2012.1.326.40. Recently I find out that one of my old projects has problem with drag end drop with some list boxes. It was using RadDragAndDropManager to handle drag and drop. So I switched to DragAndDropManager. However in 2012.1.326 version of controls there is no DragDropPayloadManager. All examples are using this class to pass data so my question is can I implement DragAndDropManager in this version of controls and how to replace DragDropPayloadManager.

Nasko
Telerik team
 answered on 05 Oct 2016
2 answers
257 views

Hello. I try to set ChartAnnotationLabelDefinition.Template in the way where the label of annotation has red color. But I havn't got the required result yet. I wrote the following XAML markup:

<telerik:RadCartesianChart Visibility="{Binding IsAbsoluteBarChartVisible}">
            <!--The definition of an annotation line-->
            <telerik:RadCartesianChart.Annotations>
                <telerik:CartesianGridLineAnnotation Axis="{Binding ElementName=verticalAxis}" Value="{Binding AnnotationValue}" Label="{Binding AnnotationLabel}" Stroke="Red" StrokeThickness="2" DashArray="8 2">
                    <telerik:CartesianGridLineAnnotation.LabelDefinition>
                        <telerik:ChartAnnotationLabelDefinition Location="Inside"  VerticalAlignment="Bottom"  HorizontalAlignment="Center">
                            <!--HERE IS THE TEMPLATE DEFINITION-->
                            <telerik:ChartAnnotationLabelDefinition.Template>
                                <DataTemplate>
                                    <TextBlock Foreground="Red" FontWeight="DemiBold"/>
                                </DataTemplate>
                            </telerik:ChartAnnotationLabelDefinition.Template>
                        </telerik:ChartAnnotationLabelDefinition>
                    </telerik:CartesianGridLineAnnotation.LabelDefinition>
                </telerik:CartesianGridLineAnnotation>
            </telerik:RadCartesianChart.Annotations>
            <!-- X axis-->
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:CategoricalAxis/>
            </telerik:RadCartesianChart.HorizontalAxis>
            <!-- Y axis-->
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis x:Name="verticalAxis" Title="Децибелы [Дб]" Minimum="{Binding ChartMinimum}" Maximum="{Binding ChartMaximum}" MajorStep="{Binding CurrentStep}"/>
            </telerik:RadCartesianChart.VerticalAxis>
            <!--The chart itself-->
            <telerik:RadCartesianChart.Series>
                <telerik:BarSeries ShowLabels="True" CategoryBinding="Category" ValueBinding="Value" ItemsSource="{Binding Data}"/>
            </telerik:RadCartesianChart.Series>
        </telerik:RadCartesianChart>

But when I run my application and navigate to the View where charts are displayed then I see only annotation without label (please see 'AnnotationWithoutLabels.PNG' file attached). When I comment the following part of XAML markup

<telerik:ChartAnnotationLabelDefinition.Template>
    <DataTemplate>
        <TextBlock Foreground="Red" FontWeight="DemiBold"/>
    </DataTemplate>
</telerik:ChartAnnotationLabelDefinition.Template>

then I see annotation with black colored label (please see 'AnnotationWithBlackColoredLabel.PNG' file attached). How do I get a bright red color for the annotation label?

Dmitry
Top achievements
Rank 1
 answered on 05 Oct 2016
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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?