How to: Drag&Drop to PivotTable/chartSpace

Z

ZurcioS

Hello,
I am developing application (olap browser based on OWC10) with its own field
list. I also want to embed OWC object in WebBrowser control. I'm using C#
(VS 2003).
Now the question is: How to implement drag&drop (especially drop) operation
from my component (treelist placed on windows form) to pivot table
_embedded_ in WebBrowser control ?
I was looking for any resources on the net, but none provide me any helpful
information (for me ;-)). What event/properties/object shoul I use/research
to implement such a functionality ?.

Slawek
 
A

Alvin Bruney [MVP]

I was looking for any resources on the net, but none provide me any helpful
information (for me ;-)).
The Microsoft Office Web Components Black Book with .NET
is the current, updated reference for the components.
Now the question is: How to implement drag&drop (especially drop)
operation from my component (treelist placed on windows form) to pivot
table _embedded_ in WebBrowser control ?
This is not that difficult assuming you are familiar with windows
programming. A high level overview involves retrieving the object for the
ondrag operation and passing it to the on drop event for the office web
component object. You may have to do some casting to get the correct data
type but that should hardly be a challenge. I discuss some relevant
programming tips in the OWC components for windows forms development. One
important point to remember is that the components cannot automatically
respond to events by default. They must be explicitly made to do so.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top