Telerik Forums
UI for WPF Forum
1 answer
128 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
96 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
172 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
79 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
152 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
222 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
85 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
159 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
198 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
201 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
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?