I'm trying to open Word & Excel docs in a new browser window. The windows opens and then closes straight away. I think I may need browser plugins. Can someone provide some advice on how I can achieve this?
I'm exporting the GridView to Excel. It works fine and I receive a prompt to Save/Open/Cancel the file although I need the file to be saved automatically in the provided (passed to the Export function) location and opened in the same browser window where the Gridview was.
I have a word document which opens in a web browser using ASP.NET 2.0 this is the code:
THIS WORKS, PROMPTING THE USER WITH "OPEN" "SAVE" "CANCEL" OR SOME USERS WITH "SAVE" "CANCEL" DEPENDING ON USER INTERNET SECURITY SETTING. BUT FOR SECURITY ISSUES, MY BOSS WANT THIS WORD DOCUMENT TO BE OPENED IN WORD PROGRAM. (MICROSOFT WORD 93,97 ETC) IS THIS POSSIBLE....? OFCOURSE SAVING THE FILE IS OKAY, JUST OPENING THE DOCUMENT SHOULD BE NOT BROWSER.
Is it possible to Open a new browser tab/window using c#. I have query string info I don't want to put in a hidden field due to it showing on the client side. I do save the data in ViewState and encrypt the viewstate; however, I don't know how to access that information on client side.
I can access the viewstate data fine on Server Side but I need to open the new browser window on server side in order to access the ViewState. I may be wrong. Is there a trick to this?
I did find a way; however, on any other click after the initial click everything goes to a new window:
I was playing with some files the other day and one of them was a word document. That then got me thinking whether it was possible to open thos files in my browser. Saves Opening/Saving everytime i click on a document.
I have the following hyperlink code that opens a new browser window to display a page. The page (browser) opens not full size (maybe something like 500x500). How can I modify this code to make the new browser window open full-size?
I can't use RegisterStartupScript('window.open...), because Chrome blocks the popup without even informing the userI can't use "onclientclick=window.open(..." in the markup, because I have to invoke code in the button click event handler before opening the popup window.I can't expect every user of the website to add the site as an exception in Google Chrome's popup blocker, since they'll assume it's an error on the website and not with the popup blocker
We have a page that is opened in the child window using window.open. Now the user will copy the child's window Url and copy-paste it in the browser. We need to restrict this scenario. How should we do this. I mean I need to know in my page load method whether the request has come from window.open or whether the user copy-pasted the Url on the Browser's Address bar.
i have a gridview and in that there is a dropdown and hyperlink hyper link href changes accordingly by dropdown thats working fine... i need to open the file of any type in browser/Application e.g .doc should open in ms word/browser, .xls should open in ms excell and .pdf should open in acrobat reader, if application is not installed on the machine it should ask to save it.
i have a folder in d:program filesCRM...Library and i want to access these files from it after searching on Google i come to know its impossible to access files from different drives and folders other than virtual directory?? so i made virtual directory of library(it has a small white icon on the folder in iis) under my localhost [URL] website when i access any file e.g. [URL] it just throws error resource could not be found???
I am sending mail using .net c# code. In that mail i am providing link of customer website. When anyone click on link (in outlook mail) then it will open new window if already not opened any window. Suppose user already working in IE browser [URL] and then user click on link using outlook mail then link open in new tab in already opened IE browser window. So i want that everytime open new browser window when click on link.
When I run this code as non secure with HTTP, everything works just like it should. The report opens.
Is there any difference using those two different URLs with default.aspx and without it, because in development it behaves the same way, but under HTTPS one page doesn't exist and another is blank?! Is HTTPS the reason for that?