Dragging objects from a DataGridView into the Gantt Chart
Date:12/29/2008 11:17:39 AM
Product:ActiveGanttCSN Gantt Chart / Scheduler Component
Framework:.Net Framework 1.0
User's Development Environment:C# Visual Studio 2005
Subject:Drag Drop

I am evaluating this component for my company.

My issue is that we want to drag items from a datagridview to the activegantt. How do I determine which row I have dropped an item on using the X/Y coordinates provided by the dragdrop event handler?



The most recently published version has an undocumented function called ReturnRowIndexByPosition, and given a relative Y coordinate it will return the row number. And the MathLib class of the ActiveGanttCSN control has a function GetDateFromXCoordinate which given a relative X coordinate will return a date.


All trademarks are property of their respective holders, and are only used to directly describe the products and services being provided. Their use in no way indicates any relationship or endorsement between The Source Code Store LLC and the holders of said trademarks.