Hello,
I have a Panorama with one Group (Group A) that contains a few tiles. I have changed the AllowDrag and AllowDrop for allow of these tiles to false to prevent Users from rearranging "Group A" tiles. At run-time, more groups and tiles are dynamically added based on individual user setting files. I am using the panorama.PanoramaElement.DragDropService.PreviewDragOver event to prevent users from dragging dynamically added tiles to "Group A".
First I get the position of the cursor on the Panorama using panorama.PointToClient(MousePosition). Then I get the left most Group (Group B) that is not "Group A" and set the EventArgs.CanDrop to false if the cursor is left of "Group B's" ControlBoundingRectangle.Left.
However, I found that if you drag a tile by first clicking on the right most edge of the tile and position the cursor just to the right of "Group B's" ControlBoundingRectangle's left edge, most of the tile hovers over the "Group A" but the cursor is within "Group B" and EventArgs.CanDrop is set to true. So when the user release the mouse, it puts the tile in "Group A".
I looked at panorama.PanoramaElement.DragDropService.PreviewDragDrop and the EventArgs.DropLocation.X was 165 when in the panorama.PanoramaElement.DragDropService.PreviewDragOver the panorama.PointToClient(MousePosition).X was 250 (under 250 is when EventArgs.CanDrop is set to false).
How can I determine if a tile is going to be dropped into "Group A" and cancel or prevent it?

Hi,
I deleted the Telerik.Windows.Maths dll from my project as I saw on another thread it was no longer required with the 2016 Q1 release. However, deleting it has caused it to stop my IWorkbookFormatProvider code from working (bringing up the 'Could not load file or assembly Telerik.Windows.Maths ...' etc. error), and obviously now, I can't re-download it. What should I do now?
Thanks for your help.
Hi to all,
I would change back color of Pinned Column, I would use same color of unpinned columns.
How can I do?

I have a problem with the Select All option in the RadCheckedDropDownList control to try Uncheck all items the application crashes when the number of items is greater than 400. Please help me....
Regards


public RadDocument ImportDocx(){ RadDocument document = null; IDocumentFormatProvider provider = new DocxFormatProvider(); OpenFileDialog openDialog = new OpenFileDialog(); openDialog.Filter = "Documents|*.docx"; openDialog.Multiselect = false; DialogResult dialogResult = openDialog.ShowDialog(); if (dialogResult == System.Windows.Forms.DialogResult.OK) { using (FileStream stream = new FileStream(openDialog.FileName, FileMode.Open)) { document = provider.Import(stream); } } return document;}
Hi there
I asked this question a day ago and it wad deleted!
I asked how can i use buttons to zoom and pan a chart???
regards
Jeremy

Hi,
I'm having a problem with setting a header in a radprintdocument. I'm setting a leftheader only. It looks fine on the the first page, but on further pages, it prints on top of the content of the document -- as in, the content and the header start at the same point on the page, instead of the content being printed below the header.
Here's my code:
Header = "Date: " & lblDateTime.Text & " To: " & txtTo.Text
If txtCC.Text <> "" Then
Header = Header & " CC: " & txtCC.Text
End If
Document.LeftHeader = Header
Document.DefaultPageSettings.Landscape = False
Document.DefaultPageSettings.PrinterSettings.Copies = 1
Document.AssociatedObject = txtEmail
Document.PrinterSettings.PrinterName = Printer
Document.Print()
exporter.RunExport(
Me.RadGridView1, strFilename, ExportToExcelML.ExcelMaxRows._65536, exportThemeColors)
Thanks for any hint.
regards
raju
