This is a migrated thread and some comments may be shown as answers.

Radgridview drag drop issue in Chrome browser

4 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ratan
Top achievements
Rank 1
Ratan asked on 13 Jul 2015, 06:41 AM

in RadGrid_RowDrop event, I am fetching the index of row dragged, the index of the row dropped and then doing further operations on the grid.

 it's working absolutely fine in Mozilla firefox 39.0 and IE10 but in Google Chrome 43.0 its throwing an exception(System.NullReferenceException). 

 In the front end I noticed that exception is because

    Dim idxDestRow = e.DestDataItem.ItemIndex line as we get "nothing" value for e.DestDataItem,e.DestinationGrid and E.destinationTableView

but getting valid values in other browsers.

 

 

Below are the code used:

 Protected Sub RadGrid_RowDrop(ByVal sender As Object, ByVal e As GridDragDropEventArgs)

                 Dim idxRowToMove = e.DraggedItems(0).ItemIndex
                Dim idxDestRow = e.DestDataItem.ItemIndex
         'doing the stuff

 End Sub

 

Please help!!!!!

4 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 13 Jul 2015, 07:56 AM
Hello,

As you posted your request under the Telerik Platform forums, I cannot tell for sure which RadGrid component you're using. We provide a RadGrid for multiple platforms - WPF, WinForms, Silverlight, ASP.NET AJAX and therefore we would need to know which component you're inquiring about.

I would also recommend that you post your queries under the forum of the specific product as this will ensure that your questions reach the respective development community and our support specialists. You can also take advantage of our support plans to be able to submit support requests directly for the DevTools products and have a guaranteed 24hour response time.


Regards,
Tina Stancheva
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ratan
Top achievements
Rank 1
answered on 13 Jul 2015, 08:28 AM

Thanks for your quick reply. 

it is used in ASP.NET(aspx page) platform without ajax implementation. 

0
Ratan
Top achievements
Rank 1
answered on 13 Jul 2015, 01:57 PM

I have found below thread which i guess match my case. My code also work fine when I set zoom level to 100%.

http://www.telerik.com/forums/rad-grid-drag-and-drop-feature-is-not-working-in-chrome-browser-when-zoom-level-is-not-100

So Could you please let us know if it is resolved.if yes please provide us with necessary information.

 

Regards.

Ratan



0
Viktor Tachev
Telerik team
answered on 16 Jul 2015, 07:55 AM
Hello Ratan,

Note that the zoom feature of the browsers is not supported. This is because the feature is implemented differently in every browser and that produces inconsistent behavior.

Moreover when dragging items on a zoomed page the DOM events do not have the correct arguments. That breaks the script logic that is used in the drag-drop functionality.

Regards,
Viktor Tachev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Ratan
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Ratan
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or