How To Force Open Document In Edit Mode From Code-Behind (Chrome and Firefox)?

Hello,
Currently I am developing an IHttpHandler which at the should redirect the user to an Edit mode of a document located in a Document Library.
The Problem is that in Firefox and Chrome it downloads the document in the temp folder. In IE it works as expected.
The following code is used for the redirection:
SPUtility.Redirect(urlOfTheNewDocument, SPRedirectFlags.Trusted, context);

Hi,
Please try to use IE Tab.
Chrome IE Tab:
https://chrome.google.com/webstore/detail/ie-tab/hehijbfgiekmjfkfjpbkbammjbdenadd?hl=en 
Firefox IE Tab:
https://addons.mozilla.org/en-us/firefox/addon/ie-tab/
Here is a similar thread for your reference:
http://stackoverflow.com/questions/14455212/how-to-open-sharepoint-files-in-chrome-firefox
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support

Similar Messages

  • Unable to attach documents in Edit mode of Reply to a Discussion

    Hi SCN,
    I am unable to attach documents in Edit mode of Reply to a Discussion (No Choose file button). Is it a bug or a specific case due to some circumstances?
    Referring to thread How to maintain total asset price  where I was trying to replace an attached file (It was being removed but no way to attach)
    Jogeswara Rao K

    I am able to see the Choose File option.
    I'll first post this reply.
    Then open it in edit mode to try attaching a file image.
    Image can be attached as well as embedded.

  • Open file in edit mode

    I need to open a file in edit mode. In my web part on item click I need to do some action before hand (like create a folder and copy file, then open it in edit mode).
    I came across the code segment below to set to a hyperlink's onClick() event
    <a onfocus="OnLink(this)"    href="/Shared Documents/myDoc.docx"    onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')"        onclick="return DispEx(this,event,'TRUE','FALSE','FALSE',            'SharePoint.OpenDocuments.3','1', 'SharePoint.OpenDocuments',            '','','','1','0','0','0x7fffffffffffffff')">Click</a>
    But in my case, it would be nice if I can open in C# code behind, after the folder operations in my Visual web part.
    SPfile's file.OpenBinary() give a byte[], but was unable to open file.
    I am using a LinkButton for the user to click on. Any advise ?

    Hi Ahamed,
    I guess you need to undertake some action server side before you redirect the user. There are a number of different ways to do it ... maybe using a long running process with redirect at the end ... or some jQuery that calls a "handler" waits for a response
    and then redirects the user.
    For the code to duplicate or copy the file see here:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.aspx
    if the existing code you have to open the document in edit mode works you should be able to reuse it.
    Thanks Chris

  • Open vi in edit mode programatically

    I am trying to programatically alter the build number global variable. I open a VI reference to global.vi form a seperate vi which has no stact linkage to the global.vi and i have altered the values programatically but when i use invoke node for "Make current values default" it complains that the vi is not in editable mode. How do i make it work?
    Thanks,
    Anand
    I found the bug immediately after posting here. I had a static linkage to the global.vi in the type conversion for "build".
    Message Edited by Anand S R on 10-12-2005 01:38 PM
    Attachments:
    blockdiag.JPG ‏54 KB

    "turbot" <[email protected]> wrote in message
    news:[email protected]..
    > May I know how to use a command to open&nbsp;a .vi file&nbsp;in edit mode,
    if the vi's name is given.
    Use VI Server. Open a reference to the VI, and set the front panel open
    property to true.
    > Also if the file is new and not an existing file, how to create and open
    it in edit mode by command line.
    That is not possible. You could use an empty VI template (.vit). Open it,
    and when the user is done, he is asked to save it under a different name.
    > Finally, if the file in edit mode is closed, can I detect it by any event
    cases.
    Use dynamic event registeration. When you have a reference to the VI, wire
    it to a dynamic event registration node, and select the panel close event.
    Then use an event structure to catch the event.
    Regards,
    Wiebe.

  • Can't open photos in edit mode

    I can;t open photos in edit mode in iPhoto '08. When I double click on a photo the main window remains blank (no "!" no"?"). This problem occurs with every photo in the library. My permissions are OK. I've also tried setting the preferences to edit in Photoshop but double clicking on the photos then still accomplishes nothing.

    Steve:
    Do you get a blank white window in the edit mode? If so that may mean you do not have access to the files. Try the following:download and run BatChmod on the iPhoto Library folder with the settings shown here, putting your administrator login name, long or short, in the owner and group sections. You can either type in the path to the folder or just drag the folder into that field.
    FYI:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window". That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu). This way you get the best of both worlds
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How do I open documents created in apple works that will no longer open?

    How can I open documents created in appleworks that will no longer open now that I have pages?

    If you have the Apple iWork '09 suite installed, you can open pure AppleWorks word processing, spreadsheet, or presentations in Pages, Numbers, and Keynote respectively. You can not open AppleWorks documents in Pages v5, Numbers v3, or Keynote v6.
    If you do not have the above iWork '09 suite, then download the free LibreOffice suite. Drag and drop your AppleWorks documents on the LibreOffice icon, and it will sort out what will open them. Note: LibreOffice will pause shortly after it takes you to an optional donation page — before continuing the download. Everything installs under /Applications/LibreOffice.

  • I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?

    ?I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?

    pkg4ibm wrote:
    editing a url on the graphic...
    Not sure what you mean by that: is that URL in an image, or is it actual text?
    If it is in an image, then you need to extract the image, edit it with something like Photoshop, then add it back to the PDF.
    If the URL is actual text, I suggest that you remove the entire URL, then add the corrected link.

  • How do I open documents in already in ibooks with Reader?

    How do I open documents already in ibooks in Reader?

    You realize that Adobe Reader doesn't read EPUB files (most of what iBooks does), right? It only reads PDF files.
    If you have a PDF already that in iBooks, you'll have to get it out of iTunes on your Mac or Windows computer. iBooks doesn't allow sharing with other PDF/EPUB readers.
    Follow the instructions in this document about using iTunes (the section called Personal Computer thru iTunes). You'll need to export the PDF to your computer, then re-import it using the instructions into Adobe Reader.
    iBooks is not a good sharing citizen!

  • IPhoto:  I have several photos that will not open in the edit mode.  They also will not open to a screensaver.

    I have Version 10.6.8 and iPhoto 9, versiono 8.1.2.
    Two questions: 
    1)  I can't find the 9.0 to install so I can then update thru 9.3...
    2)  I have several pictures that will not open in the edit mode.  There is just a blank screen when I attempt to open them.  I cannot export them to the desktop either.  Message is:  Unable to create/Users/(my name)/Desktop
    Help!

    What about a work-around?
    Ios 7.1 etc. has a problem with communicating with exchange.  There are lots of reports of problems with pdf files.
    The work-arounds mentioned here may be of assistnace.
    https://discussions.apple.com/thread/5992793?start=0&tstart=0
    get a gmail account.
    There are lots of ways of moving files.
    A simple and popular way to copy files and share files among your devices.
    https://www.dropbox.com/
    "Box lets you store all of your content online, so you can access, manage and share it from anywhere. Integrate Box with Google Apps and Salesforce and access Box on mobile devices" Rated the most secure cloud storage by SkyHigh Networks.
    https://www.box.com/
    Files Connect -- "Cloud Storage services like Dropbox, MobileMe iDisk, Google Docs/Picasa, Facebook photos, FTP, SFTP, WebDAV ... AFS (Apple File Shares) SMB (Windows shares)  protocols"
    https://itunes.apple.com/us/app/files-connect/id404324302?mt=8
    Windows File server
    http://itunes.apple.com/us/app/filebrowser-access-files-on/id364738545?mt=8
    "Dukto is a simple application that allows you to share files between devices connected to the same (wireless) LAN network."
    http://www.tidal.it/?page_id=309&lang=en
    http://www.msec.it/blog/?page_id=11

  • How do you open Photoshop in Administrator mode?

    how do you open Photoshop in Administrator mode?

    In Windows, right-click on the PS icon, choose "run as administrator", enter your admin password when asked for it.

  • IWorks has disappeared. How can I open documents saved as Word 97 from Pages stored on Dropbox?

    iWorks has disappeared.  How can I open document saved as Word 97 through Pages stored on Dropbox?

    Thanks but I don't think this will help. Like I said, all of my add-ons were working fine and compatible until after running a previous version of FF. I am sure they are still compatible, but they are not working at all.
    I even checked my profile folder and all of the extensions' data is all still there but FF5 is just not reading it correctly. (like adblock plus... I see the folder for it but FF5 doesn't have it on the add-on manager page when I run FF5)

  • How do i open photoshop to edit a picture?

    how do i open Photoshop to edit a picture?

    I guess it depends on your operating system.  In Windows 7 hit the Start button > All Programs and launch from there.  Windows 8 it will have launch icons on both the Start screen and desktop.  I don't know how Apple computers do it.
    What version of Photoshop are you using, and what operating system?

  • I can not find mozilla firefox folder in Start All Programs how can i open firefox in safe mode i am using win7 and firefox 4.ob10 ?

    i can not find mozilla firefox folder in Start>All Programs> how can i open firefox in safe mode i am using win7 and firefox 4.ob10 ?

    A quick workaround - Go to Start > Run, and paste this in the box: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -safe-mode

  • How to switch editing mode from PAL to NTSC on existing project?

    Hi,
    I'm editing some NTSC footage and half way through it I realized that I am editining in PAL mode. How can I switch my project editing mode to NTSC without loosing all my editing work? When I go to menu Project-Project Settings-General, the Editing Mode drop down for PAL, NTSC is grayed out.
    Thank you,
    Pavel.

    Brilliant.
    I have managed to scratch together the following Nikkors.
    All optics are clean and sharp.(I had some serviced) I am enjoying collecting as well as using them. Looking for an F2 85mm (manual focus now to complete the acquisition process)
    Nikkor 24mm AF f/2.8D 603947 2006
    Nikkor 28mm MF f/2.8 479495 1981
    Nikkor 35mm MF f/2.8 776970 1974-78
    Nikkor 50mm MF f/1.4 362602 1962>
    Nikkor 50mm MF f/2 3718402 1979
    Nikkor-P micro 55mm MF f/3.5 687849 1971-73
    Nikkor 105mm MF f/2.5 1009507 1981>
    Nikkor QC 135mm MF f/2/8 391789 1973>75
    Zooms:
    Nikkor 28- 85mm AF f/3.5 n.a 1986-90
    Nikkor 35 70mm MF f/3.3-4.5 2060284 1984>
    Nikkor 70- 210mm AF f/4-5.6 n.a 1987

  • How do I open documents that are grayed out?

    How do I open documents that are grayed out?

    Do these files have a file extension (e.g. .dmg, .jpg, etc.)?
    Clinton
    MacBook Pro (15” Late 2011), OS X Yosemite 10.10, 16GB Crucial RAM, 960GB M500 Crucial SSD, 27” Apple Thunderbolt Display

Maybe you are looking for

  • Install purchased Adobe Photoshop Elements 11 without DVD Drive

    I purchased Adobe Photoshop Elements 11 but I am unable to load it onto my Ultrabook as it does not have a DVD drive. Is there a way in which I could download Photoshope Elements from the Adobe Elements website using the serial number from my purchas

  • My site works in firefox but not safari?

    title says it all. my website is www.royaltee-design.com

  • Error in XPATH

    I had an error determining the receiver of the message.  When I restarted it and increased the trace level, I found out that it is routing to the wrong XPATH.  But when you look into the Receiver Determination, the XPATH of the configured receivers a

  • How to maintain mulitple versions of universe

    We are planning multiple projects related to BO reports and each project is going in different time. How to maintain 2 versions of Universe, when we migrate universe for the Project 1 which is going ahead of the Project 2, I don't want to show the Cl

  • Can i run ddr500 at 500 on neo4??

    hey all, two questions: 1:  i've just purchased 2GB of Crucial Ballistix (1GBx2) and am wondering if theres a way to get these to run at 250MHzx2?  When in the bios it seems the settings only go up to 200MHz.  2:  And does it matter that these sticks