internet-explorer

How do I create a IE Add-On in .NET?

If somebody may knows a blog posting with a basic example, that would help a lot. Google search gives me mostly links to add-in-express.com. tia ...

How to redirect WebBrowser control of another Application

I have Application, and i cann't modify it. This Application contain IEControl (WebBrowser control), which display some URLs and open some txt files. How can I get IWebBrowser2 and redirect this control to specified URL? For example i need redirect this control to http://stackoverflow.com every time control trying to open txt file? ...

jquery $.post not working in Firefox

I am begging to use jquery. I have the following call that works in IE7 but not FF 3.0.4. But if I change the null to {} it works fine. Is null not valid for this case and I just got lucky that it worked in IE or is this an error with jquery. $.post("complexitybar.ashx?a=init&vc=" + validationCode, null, loadInitialValues, "json"); ...

Why does this "width: auto" style work as an inline style in both browsers but break when moved to an external stylesheet only in IE?

I have an INPUT element that is defaulting to "width: 100%". This causes it to push other elements next to it down onto the next line. To fix this temporarily I added an inline style attribute on the element like this: <input style="width: auto" ...> which worked just fine. Now I'm going back to clean up the temporary fixes and I'm...

scripted files download under Windows

Hey, I'm about to be forced to write a script to download some number of files under Windows XP. The machines the script will be run at are all behind a proxy, and the proxy settings are entered into the IE configuration. What came to my mind was either to somehow call IE from the command line, and using its configuration download file...

Has anyone fixed the jQuery dialog button format in IE6 while using a Themeroller'ed theme?

I used Themeroller to generate an app theme and I am using jQuery and jQuery UI to create some modal dialog alerts. They work fine (and look great) on Firefox 2 and 3, but the buttons are shifted to the right on IE 6 and 7. It looks like it's being bitten by the IE margin bugs, but I wanted to see if there was an easy fix before digging ...

Is there any way to change the taskbar icon of a browser in windows?

Is there any way to change the taskbar icon of a browser in windows? I open alot of browser windows, and I like to group similar websites (in tabs) by window. So I was wondering if there was a way to assign a taskbar icon to them so that you can more easily differentiate between them. ...

Bypass IE "The webpage you are viewing..." pop up

Is there a way to bypass the following IE popup box: The webapge you are viewing is trying to close the window. Do you want to close this window? Yes|No This is occurring when I add window.close() to the onclick event of an asp.net button control ...

Why do IE and Firefox render the same image differently, how can I prevent it?

On the left you will notice the google logo rendered by IE, I drew a black line at the top and bottom of the G which extends into the FF windows which rendered the same exact logo yet the FF version renders the image larger. There is NO css linked to this page, just plain and simple Html. Can anyone tell me why this is happening and ...

Internet Explorer: What happens when you select a non-existing file for upload in an HTML form?

On Internet Explorer, the standard HTML file upload form also allows for direct input of the file name (instead of using the file selector dialog). This makes it possible to enter non-existing files. On other browsers (which do not let you do that) I suppose this case can still occur if you delete the file after having selected it. In o...

Mozilla Firefox & Internet Explorer Clipboard ASP.NET

Hi Guys, I need to copy a text from a textbox into the clipboard with ASP.NET, I want a code that is compatable with Mozilla Firefox and IE? Have you any idea? Thanks Alot! ...

IE6 Table cell alignment problem with ajax

This one is weird, I have a page that consists of a html table in a div called 'rates-viewer'. If you load this page in IE (6 or 7), you will notice that the contents of the table headers is misaligned over to the left. http://tinyurl.com/666zcv If you choose a country from the dropdown, it triggers an ajax call to a script. This scri...

Why do I get an error using moveTo in JavaScript?

I am opening a new window from a button using var myWindow = window.open(...). I then want to move that window to the correct location on the screen. I use myWindow.moveTo(10,10) to do this but I get an Access Denied error. The window I open contains information from another server to the one I am executing on. When it isn't, the window...

Internet Explorer as Document Viewer

I need a document viewer control, so I got an idea to use embedded Internet Explorer (version 7) web browser control to display a content of a document. The control don't allow changes for some types of documents (plain text document, for example), but for the others (Word's document) it allows user to change and save a document. Is th...

What are the most likely causes of Javascript errors in IE8?

I'm seeing a lot of Javascript errors in IE8 on pages which worked fine in IE7 (and Firefox, Chrome, and Safari). I know that IE made some changes to things like Javascript security. Some of these don't give clear error messages - things like cross-domain violations can end up throwing very vague exceptions. Let's make a checklist of to...

IE6: window.onresize works on IIS, blows up on asp.net Dev Server... help!

Update 1: Cannot reproduce this on a co-worker's computer (same setup as mine) so I assume this is a problem with my workstation and not a general one. I'd appreciate it if someone would close this question as I don't have enough reputation to do it myself. @MatthewMartin. Thanks for your comments :-) Update 2: Unlike my coworke...

Workaround for IE's Non-Bubbly Submit Events

I'm working on a large web application with a lot of AJAX whose event handling has gotten out of control. I'm trying to set up an event delegation system to manage all of it, but am wondering if there's a workaround for IE's non-bubbling form submits (there are a lot of forms that get inserted/updated via AJAX). The best thing I've com...

Persistent cookies from a servlet in IE

I have a cookie which is generated from a servlet and that I would like to be persistent - that is, set the cookie, close down IE, start it back up, and still be able to read the cookie. The code that I'm using is the following: HttpServletResponse response = (HttpServletResponse) FacesContext.getCurrentInstance() .getExterna...

How can I get desired z-index behavior from IE when using nested DIVs?

I have three DIVs, something like this: <div id="header"> ... </div> <div id="content"> <div id="popup"> ... </div> </div> DIV#header is "position: fixed" and used as a non-scrolling header at the top of the screen. DIV#content has some content in it and is "position: relative". DIV#popup is "position: absolute" ...

Is there ANY way to suppress the browser's login prompt on 401 response when using XmlHttpRequest

I am using jQuert .ajax function to call a page method. The site is using FormsAuthentication. So when an authentication ticket expires a call to the page method will obviously cause a redirect to the login page. Now, the geniuses that wrote the System.Web.Handlers.ScriptModule decided that if for some reason a REST style call to a pag...