Telerik Forums
UI for WPF Forum
1 answer
160 views
Hi,

I am trying RadDocking Control for my project, and I encounter several problems and hope you give me some suggestion.

Now I can add new panes in docking area dynamically

1. If I add to many panes and these panes outside of main window, how can I
let the added new panes just fit in the main window and adjust their size
automatically?

2. How can I change the layout of panes dynamically, for example: let
current panes layout vertically or horizontally?

3. Is the compass size  in RadDocking can be changed? Cause the compass is
a little small to place the floating pane.

4. If I drag the folating window to center of compass, it will become a tab
of target pane, can the behavior be change to switch the place of these two
panes?

5. May the property CanFloat=False, and I still can dock panes, cause I
dont want floating panes.

So many questions, I'll be very appriciate for your advices. Thanks!
Miroslav Nedyalkov
Telerik team
 answered on 10 Jun 2010
1 answer
148 views
Hello,

we have a project where the Grid.AutoGenerateColumns is turned off, and we create the columns programmatically.
During the create-process, we set the Column.Width to a fixed integer value.

When we do this, the application hangs when we try to scroll horizontally.

If we do not set the Width property for each column, everything works fine.

We use the Telerik WPF Q1 2010 package, with Visual Studio 2010
Vlad
Telerik team
 answered on 10 Jun 2010
4 answers
825 views
Hello,

I believe I've run into another breaking change with the Q1 2009 version of the grid.  In my app I have some functionality where the user can define some of the properties of a grid, one of them being the column widths.  When the user is looking at some data in the grid and they resize a column I need to update by business object so that I can display the grid with the same widths the next time.

In the previous version I accomplished this by having a two way binding between the Width property of a grid column and a width property on my business object (using a converter to translate back and forth between a numeric value and a GridLength).  This worked perfectly as every time the user changed a column width my object was updated. 

In the Q109 version, resizing a column doesn't seem to update the column width anymore so my object never gets updated.  The only time the width gets updated is when you double click in the header to make the column fit the contents.  This also has the unfortunate side effect of setting the column with to Auto and the value to 1, which is not desired.  I would expect that the column would be resized, but the mode stay in Pixel mode like it used to.

Is there any way to get the grid to behave like it used to?  If not, can someone please suggest a way for me to know when a column gets resized and then get the actual width of the column?  I had a similar post a while back but that method doesn't seem to work anymore either.

Thanks,

Joel
Yavor Georgiev
Telerik team
 answered on 10 Jun 2010
10 answers
820 views
As we know, The treeview control enables check boxes for all nodes. Is it possible to show the check boxes for sepecific nodes? For example, I want to use a treeview control to list all files in Drive C with forders, only the file node has a check box, but the root and folder nodes do not have checkboxes shown.

Thank you very much.
Tina Stancheva
Telerik team
 answered on 10 Jun 2010
1 answer
489 views
Is it possible to have my groups which I have defined with a Group Descriptor in the grid view mark-up automatically expanded when the grid view is loaded?
Yavor Georgiev
Telerik team
 answered on 10 Jun 2010
2 answers
289 views
How can I change the mouseover of the contextmenu when I add a checkbox? I can easily change radmenuitems but haven't found a way yet to change the checkbox' team. I did check in the contextmenu itself for teams but nothing exists there whatsoever about mouseover themes.
Pana
Telerik team
 answered on 10 Jun 2010
1 answer
122 views
By Default we need to hit Insert Key to add a new record to RadGridView. how can i change this behavior to Default WPF Grid i.e. just upon hitting tab on last record a new record will be inserted.
Nedyalko Nikolov
Telerik team
 answered on 09 Jun 2010
1 answer
109 views
Is it possible to draw in the charting area? For example, I would like to draw a red line, perhaps, through the chart at the Y-Value of 60 (assuming this chart has one Y-Axis). Or perhaps I would like to shade the area above the Y-Value of 100 red. I know I can do the shading by setting the background brush, but its critical to know where the Y-Value of 60 or 100 is in these examples. Is this possible with RadChart?
Velin
Telerik team
 answered on 09 Jun 2010
1 answer
169 views
Hi,

I am binding the following list of dataseries to a RadChart ItemsSource to get dynamic updates:
           var chartSeries = new RadHierarchicalObservableCollection<ObservableCollection<AnalogDataPoint>>(); 
 
Because this supports the INotifyCollectionChanged event, the RadChart attaches to this event.

However, if I later close my window and set ItemsSource to null, the event handler is not removed. Therefore, the whole RadChart is still connected to the data and is not collected. (Actually, the whole view is retained because the RadChart keeps references to its parent...).

Please correct this to remove any event handler when the item source changes.

Kind regards
Dr. Hartmut Kocher
Velin
Telerik team
 answered on 09 Jun 2010
1 answer
275 views
Hi All

I have tried all manor of solutions to this problem.

Basically I have an attributes table which contains a type. this type is bound to a GridViewComboBoxColumn. when the selection in this column is changed, it needs to set the isvisible value of other columns in the same grid row.

So, in the usual way, I have created a converter such as this:
public class AttributeIntTypeToEnabledConverter : IValueConverter 
    { 
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 
        { 
            if (value != null) 
            { 
                int count = (int)value; 
                if (count == 1) 
                    return true; 
                else 
                    return false; 
            } 
            else 
            { 
                return false; 
            } 
        } 
        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 
        { 
            return null; 
        } 
    } 

in the xaml, the converter is called like this:
<telerikGridView:GridViewDataColumn x:Name="gridAttributes_attrValInt" Header="Value"  
                                                                        DataMemberBinding="{Binding attribute_id}"  
                                                                        IsVisible="{Binding attribute_id, Converter={StaticResource AttributeIntTypeToEnabledConverter}}"> 

The value for the cell is updated when the attribute_id is changed, but the visibility converter is never called.


the second option that I have tried is to use the GridViewdataColumn element, such as this:
IsVisible="{Binding ElementName=gridAttributes_AttributeType1, Path=SelectedValue, Converter={StaticResource AttributeIntTypeToEnabledConverter}}" 

gridAttributes_attributeType1 is the name of the GridViewComboBoxColumn.

This also does not call the converter as I suspect that the path SelectedValue does not exist in a GridViewComboBoxColumn.

The solution does call the converter however, if I bind it to a combo outside of the gridview..

Is there any solution to this problem.

Regards

Nick
Maya
Telerik team
 answered on 09 Jun 2010
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?