Hi All
I have a listbox and a pie chart and you can drag from the listbox to the chart to populate it with some default values.
The scenario I am trying to actually implement is this: When the user clicks on a pie segment, a popup/new window (ideally I would like to use a DialogWindow so once the user clicks on a segment, they will be forced to edit or cancel their edit) opens up and allows the user to change the underlying data of the segment. At the same time, if the user clicks and drags the pie segment, it is removed from the chart.
I am handling all the drag and drop and the ItemClick event. The problem is that ItemClick is fired when the mouse button is pressed, NOT when it is released - that is, it responds to MouseDown rather than MouseClick. Therefore I cannot implement this scenario because as soon as the user clicks, the popup is shown and they are unable to perform any drag and drop.
In short, I would like to click and edit or click and drag. I also tried using the MouseUp event, but this is fired all over the RadChart. I want this to only happen when the user clicks on just a pie segment and so far I cannot seem to find a working solution.
Is there anyway to get around this limitation. This functionality is a requirement for us, but so far we don't seem to have a clean solution for the problem. Hope the Telerik team can give us some ideas.
Thank you very much. We are using 2010 Q1SP2 and 2010Q2Beta.
I have a listbox and a pie chart and you can drag from the listbox to the chart to populate it with some default values.
The scenario I am trying to actually implement is this: When the user clicks on a pie segment, a popup/new window (ideally I would like to use a DialogWindow so once the user clicks on a segment, they will be forced to edit or cancel their edit) opens up and allows the user to change the underlying data of the segment. At the same time, if the user clicks and drags the pie segment, it is removed from the chart.
I am handling all the drag and drop and the ItemClick event. The problem is that ItemClick is fired when the mouse button is pressed, NOT when it is released - that is, it responds to MouseDown rather than MouseClick. Therefore I cannot implement this scenario because as soon as the user clicks, the popup is shown and they are unable to perform any drag and drop.
In short, I would like to click and edit or click and drag. I also tried using the MouseUp event, but this is fired all over the RadChart. I want this to only happen when the user clicks on just a pie segment and so far I cannot seem to find a working solution.
Is there anyway to get around this limitation. This functionality is a requirement for us, but so far we don't seem to have a clean solution for the problem. Hope the Telerik team can give us some ideas.
Thank you very much. We are using 2010 Q1SP2 and 2010Q2Beta.