Telerik Forums
UI for WPF Forum
1 answer
134 views
I had drag and drop working and now it doesn't seem to be working.

I have a DragQuery handler that creates Custom Appointment objects from ListViewItems (DataRowView) to the ScheduleView and adds them to an ObservableCollection to be added as the payload.
if (appointments.Count > 0)
                {
                    e.Options.DragCue = CreateDragCue(appointments);
                    ScheduleViewDragDropPayload payload = new ScheduleViewDragDropPayload(null, appointments);
                    e.Options.Payload = payload;
                }

However, now in my custom ScheduleViewDragDropBehavior class, the objects being dragged are Telerik Appointment items instead of the CustomAppointment object that I created and added as the payload. Did something change? I already figured one thing out and that was that I had to add the new ExecutionMode property to get my drag to occur from my ListView. What else has changed? Kind of upsetting that I keep having to changing things everytime I upgrade the controls.

Is there a more current example of how to drag listviewitems to the scheduleview?
Yana
Telerik team
 answered on 01 Aug 2011
1 answer
104 views
When using 'Collection Editor: Columns' to edit the Columns collection, in the 'Select item:" combobox I only have the option to add a column of type GridViewColumn.  I know I can add columns manually, but is there some way to add the other supported column types to this dropdown?

Is there any documentation for GUI?  What about for the product in general?  

Thanks.
Dimitrina
Telerik team
 answered on 01 Aug 2011
6 answers
186 views
Mouse wheel in RadNumericUpDown not working. I tried different mice and different computers, but RadNumericUpDown doesn't react on mouse wheel. Mouse wheel in standard numericUpDown works good. I can't imagine what is the problem. Any ideas?
Yana
Telerik team
 answered on 01 Aug 2011
0 answers
83 views
Hi
I need to validate some rules befor user can fill special column in GridView (Such as previous column shouldn't be null). How can I mark cell invalid in BeginEdit event? OR any other idea?

All the best
Mehri
Mehri
Top achievements
Rank 1
 asked on 01 Aug 2011
1 answer
154 views

Hello Telerik,

Here is the style:

<Window.Resources>
        <Style TargetType="telerik:GridViewColumn">
           <Setter Property="HeaderTextAlignment" Value="Center"/>
      </Style>
 </Window.Resources>

And here is the grid:

<telerik:RadGridView Name="radGridScenario" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserFreezeColumns="False" IsFilteringAllowed="False" ShowGroupPanel="False" AutoGenerateColumns="False" >
   
     <telerik:RadGridView.Columns>
     <telerik:GridViewDataColumn DataMemberBinding="{Binding BusName}" UniqueName="BusName" Header="Bus Name" Width="100" />
    </telerik:RadGridView.Columns>

</telerik:RadGridView>

Observe the style is not working and the column is left centered (default behaviour). To make it working I have to create a named style and assign this style by key to every column. Why can't I create a global default style for all the columns automatically?
Just in case somebody wants to point out that I should create style for GridViewDataColumn (instead of GridViewColumn) my answer is that GridViewDataColumn is derived from GridViewColumn and even if I do that in the style definition it's stil not working.

If I apply the same technique to other grid properties, for example to center check box then it is working.

Thanks,
Cezar

 

Vanya Pavlova
Telerik team
 answered on 30 Jul 2011
7 answers
232 views
Hi..
Is there any way to implement an incremental search field or combobox in the grid.
So a user can Type in 'Sm'  and the Grid will locate the first column value of 'Sm'
and when they type 'Smith' it will locate 'Smith'
thanks in advance..
john
Top achievements
Rank 1
 answered on 30 Jul 2011
0 answers
91 views
There any examples for doing this? I notice that in DragInfo DataObject has Ole stuff in it, but since the object is dynamic, I can't really figure out what methods are available.

I suspect there's some easy way to check whether this contains a file path.

[EDIT]

Nevermind. That was easy. I must have been blind.
Jerome
Top achievements
Rank 1
 asked on 29 Jul 2011
2 answers
169 views
Hello everybody! :)

I would like to know how to implement drag and drop functionality between 2 GridViews.
I appreciate it, if you send me a working WPF project sample with this funtionality.

Thanks in advance for your time.
Best regards!
Jorge
Jorge Alberto
Top achievements
Rank 1
 answered on 29 Jul 2011
1 answer
205 views
HI

I wanted to make some modifications to the tools in the command  "commands:ImageEditorRoutedCommands.ExecuteTool". I tried to look for the documentation but could not find it anywhere. Is possible please provide a link to the documentation so I could modify the code to suit my needs.
Ivailo Karamanolev
Telerik team
 answered on 29 Jul 2011
1 answer
206 views
Hi!

Is there a possiblility that RadWizard is going to be available for WPF? (please please please, pretty please with a cherry on top?) Has anyone attempted to host the winform RadWizard in a wpf control? If not, I'll give it a go. Is there any initial complications that come to mind that may hinder hosting the winform RadWizard in a wpf control?


Louis
Valeri Hristov
Telerik team
 answered on 29 Jul 2011
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)
DesktopAlert
WatermarkTextBox
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?