Telerik Forums
UI for WPF Forum
0 answers
106 views
Hi Staff, 
    how to handle the event when a user delete a part of a text or a InlineUIContainer element?

Thank you in advice.

A.
Alberto
Top achievements
Rank 1
 asked on 31 Oct 2012
0 answers
96 views
hi,
i've integrated dynamic language switching into my project. I use the radgridview with the filtering options. I've noticed the filter does not have the required language resources for italian (although there is an italian language pack). it works fine with english/german/french/spanish so i'm just guessing the translation has been forgotten, or something went wrong with the dll.

i am using 2012.3.1017 wpf40
marc
Top achievements
Rank 1
 asked on 31 Oct 2012
1 answer
98 views
Hi Telerik

Is there any way of creating the chart as per attached image. We want to colour the difference between two line charts.

Rav
Petar Marchev
Telerik team
 answered on 31 Oct 2012
0 answers
123 views
Hi staff, 
   how to define a tooltip of a single button of RadRichTextBoxStatusBar control ?

Thank you

A.
Alberto
Top achievements
Rank 1
 asked on 31 Oct 2012
13 answers
458 views
Hi,
I want to learn how can i create page animation for a wpf applicattion like your RadControls for WPF Demos Application. As you know, it has left TreeView Menu with icons, and when you click a TreeView item, pages are sliding to left, and dissappearing.
Huas
Top achievements
Rank 1
 answered on 30 Oct 2012
7 answers
326 views
I was using the RadMaskedTextbox, but when moving from silverlight to WPF, I would get a red border around the RadMaskedTextbox for my currency.  These RadMaskedTextboxs were in a tabcontrol, and the red border would go away if I went to another tab and came back.  Since RadMaskedTextbox is being replaced, I thought I'd use RadMaskedCurrencyInput, but I ran into a few problems.

1. When I try to clear it, I'll get an error "Value '' could not be converted" - I'm guessing this is because I'm binding a decimal and not a double.  When you're dealing with currency, C# tells you to ALWAYS use decimal.  I guess I could add a converter to my binding, but I'd rather there be a better way.

2.  Those leading placeholders.  Even if I turn off autofillnumbergroupserpartors, I won't get the comas after I lose focus.

3. When I type focus on a RadMaskedCurrencyInput and type "123",   "321.00" shows up in the textbox

I'm leaning towards using a  RadMaskedTextInput and only allowing 1-9 and '.''s.  I guess it would be nice if I could keep using RadMaskedTextbox, but I can't expect you to fix an issue on a control that's outdated?  Is there a way to get rid of those red borders in a tabcontrol?  It works fine in Silverlight, but not WPF.  I could probably create a sample project for you, but I don't want to waste time because that control is outdated.




danparker276
Top achievements
Rank 2
 answered on 30 Oct 2012
2 answers
175 views
I updated to the latest WPF Rad controls this morning and it seems to have broken a view things.

I have a RichTextBox and some of the controls above it, like bold, italic, underline, etc. etc.  However after updating, all the alignment toggle buttons no longer work, they don't center, left, or right align the text in the document. I redownloaded the demos to see how it worked in there, and most of the code looks the same, except for in the code behind things like 

document.PageViewMargin = new SizeF(10, 10);

PageViewMargin isn't an option.
Vasil
Telerik team
 answered on 30 Oct 2012
1 answer
284 views
Hi
Is there any offline trail installer for The WPF Controls ?
My development machine is disconnected from the web and i need to check the Controls in my inner environment.
Thanks in advance
Low,
Andrey
Telerik team
 answered on 30 Oct 2012
2 answers
202 views
Hello!

I have following xaml:

<Window x:Class="WPFExample.MainWindow"
    xmlns:local="clr-namespace:WPFExample"
    Title="MainWindow" Height="350" Width="525"
    xmlns:sys="clr-namespace:System;assembly=mscorlib">
<Window.Resources>
    <x:ArrayExtension Type="{x:Type local:Model}" x:Key="Models">
        <local:Model StringProp="Some value" Int32Prop="3" />
        <local:Model StringProp="Another one" Int32Prop="12" />
        <local:Model StringProp="The same" Int32Prop="132" />
        <local:Model StringProp="Tired..." Int32Prop="-5" />
        <local:Model StringProp="End it" Int32Prop="43" />
        <local:Model StringProp="..." Int32Prop="11" />
        <local:Model StringProp="the end." Int32Prop="12" />
    </x:ArrayExtension>
</Window.Resources>
<ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Auto">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="*" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <telerik:RadGridView  x:Name="grid" ItemsSource="{StaticResource Models}">
            <telerik:RadGridView.Columns>
                <telerik:GridViewColumn >
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <ComboBox Width="200">
                                <ComboBox.Items>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                </ComboBox.Items>
                            </ComboBox>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewColumn>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
 
        <telerik:RadGridView x:Name="grid1" Grid.Row="1" ItemsSource="{StaticResource Models}">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn>
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <ComboBox Width="200">
                                <ComboBox.Items>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                </ComboBox.Items>
                            </ComboBox>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
 
        <telerik:RadGridView x:Name="grid2" Grid.Row="2" ItemsSource="{StaticResource Models}">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn>
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <ComboBox Width="200">
                                <ComboBox.Items>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                    <sys:String>String 1</sys:String>
                                </ComboBox.Items>
                            </ComboBox>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</ScrollViewer>

It's just simple window with three radgridviews, all of a kind.

Problem: if one of radgridviews not entirely visible and i click on combobox within this radgridview, then it first jumps into view, and just then combobox click processed. How can i remove this behaviour, coz i don't need radgridview to be fully visible?

Thank you.

Vera
Telerik team
 answered on 30 Oct 2012
1 answer
231 views
I have a RadDataForm that is bound to a heterogeneous collection. I'm using a DataTemplateSelector to select an appropriate DataTemplate for each Item, as it becomes current.

There is, of course, a different template for each type of item, but they all share some bothersome properties:
  • They all include a large number of controls
  • They all include a large number of validation rules
  • They all include many validation rules that operate between controls or on groups of controls.

As an example, each template has a three or more GroupBoxes, and validation rules that require that at least one checkbox in group A and at least one checbox in group B be selected, unless a checkbox in group C is selected, in which case all of the fields in groups A and B must be cleared.

The resulting rules were complex to construct, but they work correctly, now, when the form is being edited. The problem is when the form is being viewed.

When the form is open in view-only mode, and I navigate from one item to the next, using the prev/next buttons, it's taking more than a second for the new item to be displayed. And that's entirely unacceptable.  I've been digging into it, trying to identify where the time is being spent, and from what I can see the largest part is in the validation code. All of these fields are validating against each other, this checkbox is checking to make sure that that field is not empty, this groupbox is checking to see that it has at least one checkbox checked, and that the other checkbox does not, etc.

And what's really aggravating is that none of this is necessary. Even if the data in the database were somehow incorrect, when it is loaded into the form in view-only mode, I'd not want to display validation errors.  What is in the database is what is in the database, regardless of what it is. Validation should be occurring only in edit mode.

So, is there a way to turn off the validation checks? To load the data without running the validation checks?
Ivan Ivanov
Telerik team
 answered on 30 Oct 2012
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?