Telerik Forums
UI for WPF Forum
4 answers
263 views
Hi all !

I'm having a closer look to the new RadDiagram component (and Q2 Roadmap) and I was wondering if the GraphSource property was (or will be) supporting nodes with multiple parents or should this achieved manually ?
I've attached a sample diagram to give a better view of what I would like to achieve.
Many thanks for your help !
TheFlo
TheFlo
Top achievements
Rank 1
 answered on 27 Mar 2012
1 answer
145 views
Hello,

I'm evaluating the TreeView of "RadControls for WPF Q3 2011 SP1" on Windows 7.
I'm using the version 2011.3.1220.40 of Telerik.Windows.Controls.Navigation.

I want to use the drag and drop capabilities of the TreeView.
But it seems that the property Effects of the DragDropEventArgs object is always null.

public TelerikTreeview()
{
  InitializeComponent();
  RadDragAndDropManager.AddDropQueryHandler(m_cellTreeView, new EventHandler<DragDropQueryEventArgs>(OnDropQuery));
}
 
private void OnDropQuery(object sender, DragDropQueryEventArgs e)
{
  System.Diagnostics.Debug.WriteLine(e.Options.Effects);
}

How do you perform a copy or move operation with your drag & drop ?

Best regards.
Hristo
Telerik team
 answered on 27 Mar 2012
3 answers
100 views
I have an ObservableCollection that currently only has one ResourceType in it: Provider. I have 3 Providers in that ResourceType. I have a collection of Appointments that I have attached to the AppointmentSource.  When I did not have any ResourceType attached the appointments would appear in the scheduler just fine.  I have added the ResourceType and they are displaying correctly, but the appointments are not showing.  My collection of appointments is correctly populating still.  I have tried attaching the specific Provider I need to the Appointment's Resource, but I still cannot get them to show.  I am lost and would love any help that could be given.
Yana
Telerik team
 answered on 27 Mar 2012
1 answer
178 views
I noticed in my application that InvertedBooleanConverter (in the ScheduleView dll) was not working correctly for the convert back operation. I looked at it in JustDecompile and it is incorrect.

The InvertedBooleanConverter in Telerik.Windows.Controls.dll is correct.

Why are there multiple versions?
Konstantina
Telerik team
 answered on 27 Mar 2012
2 answers
505 views
I am using the ChartView control, and would like to be able to change the Zoom from code.
I have tried two things.

1. Set Zoom property directly from code.
i.e. Chart.Zoom = new Size(1,1);

2. Bind to a Zoom property on my view model, and set that property.

i.e. XAML gets

   <telerik:RadCartesianChart Name="Chart" Zoom="{Binding Path=Zoom, Mode=TwoWay}">

And code gets
     ViewModel.Zoom = new Size(1,1);

Either way, the view is not refreshed correctly.  However, on a re-size operation, it becomes OK again.

Is this a known problem, or is there something else I need to do?

Thanks
Craig Littlewood
Craig
Top achievements
Rank 1
 answered on 27 Mar 2012
3 answers
107 views
Hi telerik,

I have the following rather simple use of the GridViewCheckBoxColumn -- and the grid shows up with no checkmarks what-so-ever.

Can you see what I'm doing wrong?

I can see (by breakpoint) that the row data model is queried for relevant value (so binding should be correct) and that the value in all cases is True (so the underlying value is as I expect).

Any clues?

Thanks,

Anders, Denmark

Grid

        <Controls:RadGridView x:Name="grid"
                              AutoGenerateColumns="False"
                              ItemsSource="{Binding Items}"
                              Height="329"
                              ScrollViewer.HorizontalScrollBarVisibility="Auto"
                              ScrollViewer.VerticalScrollBarVisibility="Auto"
                              ShowGroupPanel="False"
                              VerticalAlignment="Top"
                              IsFilteringAllowed="False"
                              >
            <Controls:RadGridView.Columns>
                <Controls:GridViewCheckBoxColumn DataMemberBinding="{Binding IsChecked}" IsThreeState="False" Initialized="GridViewCheckBoxColumn_Initialized" />
            </Controls:RadGridView.Columns>
        </Controls:RadGridView>


"Items"

ObservableCollection<ICheckableViewModel> Items { get; set; }

Row data item


    public class CheckableStringViewModel : ICheckableViewModel
    {
        public CheckableStringViewModel(bool isChecked, string displayName, string identity, bool isReadOnly)
        {
            IsChecked = isChecked;
            DisplayName = displayName;
            Identity = identity;
            IsReadOnly = isReadOnly;
        }

        public bool IsReadOnly { get; private set; }
        public string DisplayName { get; private set; }
        public string Identity { get; private set; }
        private bool _isChecked;
        public bool IsChecked
        {
            get { return _isChecked; }
            set { _isChecked = value; }
        }
    }
Anders
Top achievements
Rank 1
 answered on 27 Mar 2012
1 answer
63 views
The "ChartPanAndZoomBehaviour" facility allows an area to be selected using the LeftMouseButton.  Is it possible to change this to the RightMouseButton?  If not, is it possible to add a custom facility?

Regards
Craig
Yavor
Telerik team
 answered on 27 Mar 2012
2 answers
129 views
Hello everyone,

I am using Version 2011.3.1116.40 of GridView for WPF, if the Gridview is grouped I am saving the open groups in a list.
Everytime the user expands or collapses a group I add or remove the IGroup Element in the list.
After a refresh of the DatasourceProvider I expand all the groups which are in my list, but then if I scroll down the list the group with the first element in the list (datasource) is also expanded (GroupRowIsExpandedChanged event fires). It seems that after an refresh the currentscellinfo points to the first element and then if i scroll over the collapsed group where this element is included the group expands.
Do you have any ideas?

regards 
Thomas
 
Thomas Gschweitl
Top achievements
Rank 1
 answered on 27 Mar 2012
1 answer
78 views
Hi,

I have a project with 3 forms, Form A/B/C. Form A call the showdialog of Form B and Form B call the showdialog of Form C.
Each form have a persistence Id. On the close of each form, I persist the form. Actually, when I close Form C, Form C/B/A are persisted at the same time!!! How I can persist a form only when it's needed???

Thank's
Petar Mladenov
Telerik team
 answered on 27 Mar 2012
5 answers
283 views
Hi.
I'm using radmenu like this:
<telerik:RadMenu Grid.Column="0" VerticalAlignment="Center" IsTabStop="False" Orientation="Vertical">
    <telerik:RadMenu.Items>
        <telerik:RadMenuItem Header="Modyfikuj" Command="{Binding Path=StartEditPartCommand}"/>
        <telerik:RadMenuItem Header="Zatwierdź" Command="{Binding Path=CommitEditPartCommand}"/>
        <telerik:RadMenuItem Header="Anuluj" Command="{Binding Path=RejectEditPartCommand}"/>
    </telerik:RadMenu.Items>
</telerik:RadMenu>

so basically, i'm binding menu items to some commands which have canexecute method:
StartEditPartCommand = new DelegateCommand(
    /*foo*/,
    () => !IsEditingPart && SelectedItem != null);


somewhere in code, raisecanexecutechanged method is properly raised:
StartEditPartCommand.RaiseCanExecuteChanged();

and... it doesn't refresh menuitems' IsEnabled property - they remain in previous state. Sliding mouse cursor over menuitem causes menuitems refresh, but not always.

When having changed radmenu to itemscontrols/stackpanels with buttons everything works fine, so it's probably bug with radmenu or radmenuitem?
Radek
Top achievements
Rank 1
 answered on 27 Mar 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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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?