Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds


  Asked By: Devika    Date: Feb 21    Category: Sharepoint    Views: 3109

I have been sidetracked into other work, and I am hoping that someone
smarter then me can help so I can still make progress.

I have a web part in c#. I'd like to know the best syntax to use in my
construction of a field to 'open a file for editing in <application>' so I
can code it in for a link. I think it would be something like javascript:
editdocumentwithProgID2(xxx,xx,xxx) where the x's are the argurments.



5 Answers Found

Answer #1    Answered By: Sheena Ray     Answered On: Feb 21

Check out SharePad on GotDotNet as it has an example of this.

Answer #2    Answered By: Jaime Weaver     Answered On: Feb 21

I have not yet had time to go
there. If anyone knows the answer to my question, I'd really appreciate the

Answer #3    Answered By: Damon Garner     Answered On: Feb 21

We just did a javascript.Window.Open on the file  name, it opened the associated application from the base Windows system.

Answer #4    Answered By: Karla Morrison     Answered On: Feb 21

I can not understand this, yet I am not an idiot, so I must
simply be uninformed.

Could someone please help  an idiot?

I want to open  a document for editing  in Microsoft word from c# code  in a
web part  on a sharepoint page.

Answer #5    Answered By: Patricia Richardson     Answered On: Feb 21

I think the string would be something like <A HREF javascript
onclick:editdocumentwithprogid2 .....>

I can not understand this for the life of me.

It is kind of simple I'm sure but I am a novice at some parts of this stuff
(obviously like constructing link  text).

Didn't find what you were looking for? Find more on editdocumentwithprogid2?? Or get search suggestion and latest updates.