How to open any documents in EDIT Mode from custom ASPX page

Hello Reader,

I have moved to new site and here is new article link from where you can post comments/feedback.

Sorry for any inconvenience.



2 Responses

  1. Do you have an example of the script and how to use it?

    • Here is Script with example, you need to add below script into hyperlink or button control in which user is going to click for opening any documents.


      string str = “return editDocumentWithProgID2(‘’, ”, ‘SharePoint.OpenDocuments.3’, ‘0’,’’, ‘0’);”;
      ExcelIconHyperLink.Attributes.Add(“onclick”, str);


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: