While developing a web application in Visual Studio, I want to be able to quickly open a source file (an xsl, a js, etc, not the "view source" result) in Visual Studio. My idea is to:
Write out http response headers (in debug mode), identifying the local files (c:...\bla.aspx) that helped build up the response
Read these http headers in FireBug to render them as clickable in a new tab
Make these clickable urls launch a an IDE (configurable) with certain parameters
I am pretty sure that this can be achieved using a combination of http headers, firebug and launchy. But I was wondering if anyone knows of an existing/easier way of achieving this?
For example Zend Studio toolbar.
Related
I am creating an IE browser extension using BHO,
I would like to create an option page like the on chrome or firefox.
I want this page to be accessible using manage add-ons page like it works in chrome and firefox. Is it possible? how do I do that?
I am using visual studio ATL and c++
Your Best Best is adding Context Menu or Tools Menu Item.
Basically There is no Standard IE Options Dialog that you can merge your stuff into.
you are gone have to have your own dialog.
as a warning starting with IE10 and IE11. your IE-Addons (BHO,Menu,Toolbar,DeskBank) will not have any access to registry or file system.
if you need to save some stuff. you are gone have to probably create a broker process.
for instance you need to create a windows service that listen on a socket (maybe some random port) and yo you can communicate with it from your options dialog on what to save and what to read.
Inserting context Menus into IE
Inserting Menu Options
I am using HTML and CSS, and willing to use a very simple JavaScript code if necessary.
I uploaded ResumeWord.doc and ResumePDF.pdf to the FTP. I created links for "View" "Download" and "Print" for each. ResumeWord.doc only seems to give me a pop-up with options to Open or Save instead of opening in the browser, while I was able to open ResumePDF.pdf in the browser but not create a clickable link to download it without viewing. I have tried the HTML target_blank and JavaScript window.open for the "View", unsuccessfully. I am self-taught and an amatuer.
How can I make the "View" link open ResumeWord.pdf in the browser without a pop-up?
How can I get ResumePDF.pdf to download when the user clicks "Download"?
Without some help, the browser won't assume that a user has Microsoft Word installed on their computer. That is why you only get the option to save it, rather than it opening.
The PDF, however, is something that can be viewed in-browser, and the browser can check if the right files are installed to make this happen. So if they are, the browser goes ahead and opens the file.
As for forcing the browser to open a word file, see this SO question.
And as for forcing a download of a PDF, see this SO question. It may not be possible, in your case, as the solution involves sending different server-side headers.
When trying to add the AjaxControlToolkit.dll file I am getting this message:
"Security Warning: This file is possibly downloaded from a network location, and it can potentially harm your computer. Only load assemblies from publisher you trust.
Do you want to load it anyway ?
"
I chose YES, and although the ajax controlls do not add to my tab.
What should I do ?
I just download the Ajax. So you might downloading it form not trusted site. Try, ajaxcontroltoolkit.codeplex.com and you go there go to downloads and choose either the first one which is Ajax Control Toolkit 4 or whatever you need. Let me know if you need any help or if you face any thing.
Try to add the AjaxControlToolkit using NuGet. See the official Codeplex page for instructions.
Adding a DLL does not necessary result in adding Controls to the toolbar. You can specificy in the settings dialog of the toolbar if controls from perticular assembly should be shown.
We have a number of popups (generated using Javascript) that are displayed during page navigation.
When we record the webtest, the script doesn't capture all of them.
If there a way around this?
The load tests do no render javascript, but operate solely by recording individiual http requests. So no, there is no way around this.
Investigate the new Visual Studio 2010 Coded UI test for testing the operation of the UI.
I think this is the tool for the job, however I do not have any experience with it.
I am using Visual Studio to compile and run my ASP.NET website. Now, one of the pages have searchbox acting very odd, because it's redirecting to typical "FileNotFound" page which we're using to redirect when there is a typo in URL or something (and definitely not for searches).
The search is a separate .ascx control, so it's exactly the same for all pages.
So is there a way I can see what's happening behind the scenes to trigger that redirect? It is not firing the click event of the search button either, something is taking place even before the click??!
Is there a way I can watch the code run in Visual Studio without placing a breakpoint, because I do not know where to place it!
I would use Fiddler or Firebug to watch the requests and responses. That might help diagnose where the redirect is happening.