Telerik Forums
UI for WPF Forum
1 answer
169 views
I have an application with potential thousands of views (as radpanes with a single usercontrol) and therefore need to make sure they can be cleaned-up, when they are not needed anymore.
I had some trouble with the radpanes, but eventually got it working for most of my views.

However I have run into problems with views containing charts.
What I have come up with is that the trackball keeps a reference to the usercontrol containing the chart. So while I manage to get rid of the radpane, the usercontrol is beeing kept in memory.

With a memory-profiler I have found out that the offending class is Telerik.Windows.Controls.ChartView.DataPointInfo, which apparantly has some valueChangedHandlers that are not cleaned up.

I have given up trying to clean these up myself, so I really hope you have a fix for this in the works.

Is this something you are working on?

Best regards
Christian M. Madsen
Yavor
Telerik team
 answered on 02 Jul 2012
1 answer
150 views
I'm using RadTextInput and I want to specify the number of digits after comma, not before it. E.g. only two digits after comma should be allowed, but ANY number of digits before comma. What mask do I need for this?

Mask like "#.2" displays 123.12 as 3.12
Alex Fidanov
Telerik team
 answered on 02 Jul 2012
0 answers
99 views
My application saves the layout when exiting, and restores the layout when starting.
The specs tell me the restored layout has to be exactly the same as the layout when exiting the application.

For floating panes the size of the restored layout is incorrect, it is the size with which the pane was created, not the last size.
I think this is a bug.

To fix this I store the size of the pane myself when exiting the application, and try to set it in the ElementLoaded Event whens starting again. However only Floating panes should get the size they had before exiting the applications, the other panes are in the RadDocking layout and sized correctly.

The problem I'm facing is that the IslFloating property of floating panes is false in the ElementLoaded. So I can not detect which panes are floating. This is the second bug I think.

Does anyone have a clue how to solve the problem of the incorrect size of the restored pane?
Pieter
Top achievements
Rank 2
 asked on 02 Jul 2012
1 answer
170 views
I want my context menu item to have Text on left and keyboard shortcut on right. I dont want to give fixed width as my Text size can increase/decrease based on localized string

I tried putting Grid but the Width of the Grid is not getting 100% of the Item. 

 <telerik:RadMenuItem>
                <telerik:RadMenuItem.Header>                  
                    <Grid >
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="1*"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>

                        <TextBlock Text="Bigger Globalizeddddddddddd  TExt"  />
                        <TextBlock Text="Shift + Insert" Grid.Column="1" />
                    </Grid>
                </telerik:RadMenuItem.Header>
                <telerik:RadMenuItem.Icon>
                    <Image Source="someicon"/>
                </telerik:RadMenuItem.Icon>
            </telerik:RadMenuItem>


Is there any way we can add additional column to context menu item just as image column so it always come on right seperate from header?

Or is there any solution to this problem?



Dani
Telerik team
 answered on 02 Jul 2012
1 answer
156 views
Is it possible to show a Display Text next to the CheckBox when we use GridViewCheckBoxColumn  ? 

<telerik:GridViewCheckBoxColumn  DataMemberBinding="{Binding Dates}" Header="{Binding Dates}" ColumnGroupName="SCHEDULE">

I get only the checkBox in the column. Wondering if there is a way I can show a text next to it also.
Dimitrina
Telerik team
 answered on 02 Jul 2012
6 answers
354 views
Hi,

I would like to know if Telerik plan to develop "RadMetroControls" in order to simulate Metro App also on Windows 7.

I've seen that you have developped something for WinForms (DemoHub), but some features are missing (such as application bar, ...).
Currently, some projects are available on Codeplex (http://mosaicproject.codeplex.com/, http://newgen.codeplex.com/).

Do you plan to develop such controls/framework and integrate it into the WPF package for this year ?

Thanks in advance

Patrick
John
Top achievements
Rank 1
 answered on 01 Jul 2012
0 answers
94 views
Hello, Telerik Team! I began to study your library (trial), to see whether or not it is suitable for use in the production. And I have questions. Suppose we have RadGridView. One of the columns defined:

 <telerik:GridViewComboBoxColumn Width="250"
                                                Header="Класс"
                                                DataMemberBinding="{Binding CurrentFeatureClass}"
                                                ItemsSource="{Binding Path=FeatureClassesView, Mode=TwoWay}"
                                                Name="FeatureClassesGridComboBox"
                                                DisplayMemberPath="TypeName" />

In the model, which is the source of the data the FeatureClassesView is CollectionView for the ObservableCollection. But when I try to use SelectionChanged property of CollectionView it doesn't work. The items in the list I see, that is, binding occurred correctly. Previously, such a thing occurred, unless the property IsSynchronizedWithCurrentItem, But such a property, I just have not found (although it is DataGridComboBoxColumn in Microsoft standart library). Can you help me?
Sas
Top achievements
Rank 1
 asked on 01 Jul 2012
6 answers
424 views
When I enter an invalid value for a property and attempt to move focus, RadGridView functions as expected. It accesses IDataErrorInfo.Item[propertyName] and holds focus until I enter a valid value or cancel the edit. I would expect it to behave in a similar manner with regard to IDataErrorInfo.Error and row edits. But it doesn't. It never accesses IDataErrorInfo.Error when row edits end. When I create a new row, it only validates the properties as I change them. So any invalid properties that I have not touched remain invalid, and the row edit is accepted.

How can I make it validate all columns and/or the entire entity when a row edit ends? I can't use your implementation of INotifyDataErrorInfo because the projects containing entities don't reference Telerik libraries. Do I have to manually handle the RowValidating event?

Some of the other interfaces my entity implements include...
  • INotifyDataErrorInfo (local implementation to be replaced when .Net 4.5 is released)
  • IRevertibleChangeTracking
  • IEditableObject
Brian
Top achievements
Rank 1
 answered on 29 Jun 2012
3 answers
174 views
When the tile view has got PreservePositionWhenMaximized set to True, it would have a funny layout behaviour when new item is added to the view maximized.

Below is simple test code to reproduce this, it looks ok when the first and second tile is added, but when the third tile is added, the minimized second tile is placed at the same position as the first minimized tile and covered it up:

<Grid>
    <Grid.RowDefinitions>
        <RowDefinition Height="26" />
        <RowDefinition Height="*" />
    </Grid.RowDefinitions>
     
    <Button Content="Add" Click="Button_Click" />
 
    <telerik:RadTileView Name="tileview" Grid.Row="1"
                         PreservePositionWhenMaximized="True"
                         MinimizedColumnWidth="300"
                         MinimizedRowHeight="45"/>
</Grid>

private void Button_Click(object sender, RoutedEventArgs e)
{
    tileview.Items.Add(new RadTileViewItem() { TileState = TileViewItemState.Maximized });
}
Zarko
Telerik team
 answered on 29 Jun 2012
1 answer
302 views
Hi we are testing then new q2 version of your suite and found this issue.

I have a radCombobox with this configuration:
            <telerik:RadComboBox Margin="0,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Grid.Row="4" Grid.Column="1"  <br>                IsEditable="True"<br>                Name="RadCbo"<br>                Width="200" ItemsSource="{Binding ListaPaises}" <br>                DisplayMemberPath="Nombre"<br>                OpenDropDownOnFocus="True"<br>                SelectedItem="{Binding PaisSelecionado, Mode=TwoWay}"<br>                Text="{Binding TextoBusquedaPais, Mode=TwoWay}"<br>                IsTextSearchEnabled="False" StaysOpenOnEdit="True" />

We fill the associated list from a wcf service, and the list retrieved sohw ok in the rad combo, but when i move on the first element of the combo by pressing the down arrow key, the combo closes and no one element is selected.

Thanks for your help

It was my fault, syntax error.

Now i'm able to navigate inside the results with the arrows keys, then, when i press the tab button the element is selected and his name remains in the editable zone of the combo, but if I press the enter key, the element is not selected netiher the control and my viewmodel object.

thanks
Ventzi
Telerik team
 answered on 29 Jun 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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?