Telerik Forums
UI for WPF Forum
7 answers
130 views
I have an MVVM project with Several RadGridViews inside of a RadTabControl and a RadTabControl containing Listboxes which are defined in an datatemplate.
I had Drag and Drop working fine when using version 2011.2.712.40
However, when I upgraded to the current release the drag and drop functionality does not work.

I found the following thread (see below) and downloaded the last example contained within, sure enough it has the same problem...
if you run the example with the version contained in the lib folder Drag and Drop works fine, then if you upgrade the controls to the current  version, Drag and Drop no longer functions.

http://www.telerik.com/community/forums/wpf/draganddrop/drag-drop-related-problem-in-mvvm.aspx

What has changed that would impact Drag and Drop, and how can I correct it?
Vlad
Telerik team
 answered on 27 Mar 2012
3 answers
564 views
I currently have a RadGridView with a RowDetailsTemplate that expands when a row is selected by using RowDetailsVisibilityMode="VisibleWhenSelected".  When I click on another row, the previously selected row collapses and the new row expands like I want.  However, how do I make the selected row collapse when I click on the selected row a second time instead of clicking on a different row?  I'm basically trying to get back to where all rows are collapsed.  I am not using the '+' button control so it will have to respond to a click anywhere on the selected row.  Thanks.
Rossen Hristov
Telerik team
 answered on 27 Mar 2012
4 answers
282 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
157 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
116 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
209 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
522 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
115 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
73 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
143 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
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?