When a view that has links to Office documents is added to a webpart the click event opens the document directly. But when the link is built using CAML and SP the click evokes the "Do you want to open the requested document." message
Is there some sharepoint magic dust that can be added to the programmatic construction of the link so that it opens the Office document similar to the view that is attached to the webpart?
Thanks