Quantcast
Channel: Internet Explorer Web Development forum
Viewing all 3527 articles
Browse latest View live

blocking the Security warning popup using jquery

$
0
0
 Does we block ie8 security warning popup using jQuery. if yes then how?

How to add column format on a webgrid in .cs file(asp.net mvc3.0)

$
0
0

Thanks for reading

When we add a webgrid column format on cshtml file, we often write code as below:

grid.Gethtml(columns:grid.Columns(grid.Column(format:(item)=>new HtmlString(Ajax.ActionLink("Next","someAction","someControllerName", new{....},new AjaxOptions{......})).ToString())))

now I want to create a webGridColumn list in .cs file, when I was adding column format, I could not make through. this is my code below:

WebGridColumn column = new WebGridColumn();

column.Format=(item=> new HtmlString(AjaxExtensions.ActionLink(thisAjaxHelper....).ToString());

we need a AjaxHelper here, but how can I get a instance or create one. Please teach me


loveslut


Disable Office Cache Location caching

$
0
0

I generate word document through a web site. Which then prompts the user to either Open / Save / Save As options.

One of our client has set OfficeCacheLocation, explained in the link.  

http://support.microsoft.com/kb/2020636?wa=wsignin1.0

Is there any way to disable this caching through Web [ASP.net ]

or

can we add some tag [XML] in our word document when its generated , so that office does not open / save it to cache ?

Config at client end

IE 9 and Office 2010

note: This is some thing that office does at the client side and we can not ask them remove the setting.

How to install a 32bit IE on a 64bit OS

$
0
0

Hi everyone,

I have a Win7 64 bit OS and I have a 64 bit IE9 on it. Now I need to install a software which requires a 32 bit IE. Is it possible to uninstall the 64 bit IE and then install the 32 bit one or is there any other solutions for this?

Thank you very much for your time and efforts.

regards,

Oliver

Getting webpage is not responding error for classic ASP page in IE10

$
0
0
Hi,

My web application is developed with classic ASP page, Java Applets and  VB script. It also communicates with ISAPI dll.In some machines My application is working fine in IE10.

In some other machines I am always getting webpage is not responding when trying with IE 10, but when trying with IE 9 and 8 its working fine in the same machines.IN the same machine the other websites are working fine in IE 10.

I tried with following troubleshooting methods, but nothing is helped me.

1. I reset the IE settings .

2. I disabled all the Add ons.

3. I cleared the cache

Whether the problem is because of any windows updates missing? PLease show me a direction for this problem.

Thanks in advance

Compare tool for web page changes

$
0
0

Hi,

I want to use webpage monitoring tools which can keep track of changes to webpage. I want to monitor some webpages of websites for changes occurred in that pages and also changes in any files linked that page. In normal any webpages has some download links to text file,pdf file etc. So i want to keep track of changes to those files also including visible changes to the webpage.I searched a lot in Google and got some tools.They are convextra,changedetection.com. But all of them didn't work as i expected(eg.some don't compare changes in linked files) . So is there any good free web compare tool which can do it?

Thank you

IE10: Pages in frameset displayed blank

$
0
0
Internet Explorer 10.0.9200.16384
Windows 8
Using compatibility-mode to IE8 on the site

Behaviour: Website with frameset is loaded and displayed correctly. But certain pages aren't displayed sometimes (I guess 25% of all requests). Response comes in and frame is white - but everything looks fine when I inspect the source code with the developer tools. When resizing the window vertically by only on pixel, the content appears immediately, without any further request. Same happens when I adjust the zoom level.

It seems to me that the rendering engine has some problems here.

I couldn't find any significant difference between this page and others. Problems occurs with ModernUI as well as Desktop view. It happens to pages which themself contain another frameset and also to sites which don't. Tried also some troubleshooting provided by MS support on twitter, unfortunately without any improvment: http://t.co/Rg5Yrlh

If you would like to reproduce the problem:
www.planetromeo.com (or: 83.98.143.20) and then click on "Help & Services" at the top several times with the aforementioned setup. After some attempts you should be able to reproduce the problem. This also affects several major sites within our community and people are complaining about this - if they can call the help section.

Would be great if anybody of you could help.

Thx & best wishes,
Christian

Image size is incorrectly cached when the image is modified.

$
0
0

On a web page you can dynamically load an image in javascript and then display the size of the image. No problem. Then if you overwrite the image with one of a different size (but the same name) the new image will display but the old size is cached.  The really bizarre thing is that if you close your browser and clear your cache and then go back to the page it STILL gets the size wrong.

 

Does anyone have a solution to this where the correct image size can be retrieved after the image has changed?  Why does IE cache this?

 

Sample page:

 

<

htmlxmlns="http://www.w3.org/1999/xhtml">

<

head>

<title>Test</title>

</

head>

<

bodyonload="LoadGif();">

<div>

<inputtype="button"id="btnTest"value="Get Size"onclick="return GetSize();"/>

</div>

<scripttype="text/javascript">

var obj = null;

function LoadGif()

{

obj = document.createElement(

"img");

obj.src =

"test1.gif";

document.body.appendChild(obj);

}

function GetSize()

{

alert(

"x: " + obj.width + " y: " + obj.height);

returnfalse;

}

</script>

</

body>

</

html>

 


On IE8 Zooming to 400% then back to 100%, size not changed well

$
0
0

Test html code is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML lang="en_US">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<title>Test Select Zoom</title>
</HEAD>
<body style="direction: ltr">
<table width="100%" cellspacing="0" cellpadding="0">
    <tr>
        <td>
        <select title='--- Select Action ---' name="PageAction"
            id="PageAction" >
            <option disabled="true" selected="true">--- Select Action --- </option>
            <option value="close">Close </option>
            <option value="Add">Add </option>
            <option value="manager">Manage</option>
        </select>    
        </td>
    </tr>
</table>
</BODY>
</HTML>

 

Steps: open the html in IE8, zoom to 400%, then zoom back to 100%

Problem is: the <select> size is NOT changed to 100% although the words "--Select Action--" is changed to 100%.

This problem is only in IE8, not in IE9.

Window XP, IE 8,


Use WCF as data for MVC site

$
0
0
I'm looking for some good information on "Best Practices" when it comes to using a WCF site as the data source for a ASP.NET MVC 4 website.

IE 10 Intermittently Crashing Application with Web Browser Control

$
0
0

We supply a business application that uses the Microsoft Web Browser Control to navigate to a website. Nothing fancy, it simply uses the Navigate call and the NewWindow2 event. We have had hundreds of users report to us that our system intermittently crashes while loading the webpage. Our staff has been able to reproduce it, however we have not reproduced it in a development environment yet as we do not use IE10 in dev, so we have not debugged it. We have confirmed this in Windows 7.

Once we instruct the user to roll back to IE 9, all issues go away. Below is all the VB6 code we use. Please fix it!

On Form Load

Dim bytPostData() As Byte
Dim headerStr As String
headerStr = "Content-Type: application/x-www-form-urlencoded" & vbCrLf

IEForm!CtrlWebBrowser.navigate https://secure.website.com/directory/WebPage.mht, 0, "", bytPostData, headerStr

Private Sub CtrlWebBrowser_NewWindow2(ppDisp As Object, Cancel As Boolean)
On Error GoTo ErrorHandler

Dim frm As Form
Set frm = New Form_frmIEEmbeddedPopup
Set ppDisp = frm.CtrlWebBrowser.Object
frm.Visible = True
frmCollection.Add Item:=frm, Key:=CStr(frm.hwnd)
Set frm = Nothing

Exit Sub
ErrorHandler:
Call Msgbox("ERROR: #" & Err.Number & " " & Err.Description, vbCritical + vbOKOnly, "Error Message")
End Sub



IE 10 displays option elements above select element

$
0
0
Hi

I've noticed that in IE 10 the options of a select box are display above the select element for the options above the selected index. Is there away to display all the elements below the select attribute?

I've used the following html to test
<!DOCTYPE html><html><head></head><body><select><option >1</option><option >2</option><option >3</option><option >4</option><option selected="selected">5</option><option >6</option><option >7</option></select></body></html>

IE 10 Download interrupted

$
0
0

Hi, users are unable to download files (mostly ms office and pdf documents) from our website using IE 10.  Older versions of IE, and chrome and firefox work to download the files, but in IE 10 the file is always "interrupted" before it finishes.  Changing the browser mode to IE 9 says that the download was interrupted as well, but changing to IE 8 allows the file to be downloaded.

Our website is written in asp.net webforms, and performs the download by doing a call to the method Response.WriteFile(string filename), after adding a header to the response for the Content-Disposition to set the filename, size, creation-date, modification-date, and read-date properties.

Is there something that we need to change on our end in the web code, or is there a setting in the IE 10 client that has to be changed? Thanks in advance.

I do not want the status bar information to be displayed

$
0
0

I am using IE10/Win8.

when the submit button in my website is onfocused,

its url information is shown in the status bar at the bottom of IE.

the user has chosen to not show the status bar IE will still display the url of links as a small popup window at the bottom left of the screen

it was not shown in IE7

And now i donnot want to show the information , any idea about it?

IE (9,10) aborts image requests, memory limits?

$
0
0

Hi,

We are working on a prototype that requires loading 100  200px x 2500px images into browser's memory.  So far, we have no problem getting Chrome/Firefox to load all 100 images but IE would abort some of the requests.  If I simply hard code <img /> tags on the page with different URIs to those 100 images, IE would aborts 10-20 of those 100 requests.  If the images are requested via ajax and stored those img reference in a js array, it would roughly fail after 45th image is loaded.  

So, I was wondering if there's any memory limitation with IE 9/10.

Edit: From Fiddler and IE Dev Tool, all those requests completed with 200.  So, it looks like IE made the requests but for some reason, it decided to drop the images.

Thanks,

Q-MO



How do I move the Tab Bar in IE9 to a more user-friendly location?

$
0
0
Who's descision was it to move the Tabs Bar to the top of everything? Why can't I move it back to a more accessible location like it was in IE8 (directly on top of the web pages)? On a general note; it appears that on every new realease of Microsoft"something" it becomes more stressful and cumbersome to perform "general tasks" (I can perform general task quicker in older versions than I can in new - and it's not because I am used to the "old" but it's because I am human).

IE9 having issue with windows authentication

$
0
0

We have an SSO application for our Intranet. Now the application works fine with the IE7, IE8 but with windows 7 and IE9, for authentication it keep asking for user id and password. If we put the credential 3 times then it shows the 401 Authorization required error.

 

The application is developed in VC++ and running as a windowes service on windows 2003 boxes. Even on IE10 that seems to be working. We tried same application on google chrome on windows 7 and it's passing the authentication there. So seems some issue with IE9 ?

Can some one help..

IE10 does not display icons on webpage served from Linux

$
0
0

I create a set of webpages that use .ico files in the body of the pages.

This is NOT about the favicon. That works fine. Shorcut works:
<link rel="shortcut icon" type="image/x-icon" href="depot.ico" />

I develop on Windows 7 Pro x64 SP1.
The production server for my pages is Linux/Apache.

On several different computers the icons (.ico) are not displaying
using the IE10 browser when the page is served on the Linux commercial host (justhost).

The icons display ok on my Windows development machine (using IIS).
The icons also display ok on Linux using other browsers (Firefox, Safari, Chrome).

Images using .png, .gif, and .jpg display fine (all browsers).
I have tried altering the type clause in the <img> element:

Fails:
<img type="image/x-icon" src="help.ico" />
<img type="image/vnd.microsoft.icon" src="help.ico" />
<img src="closedoc.ico" />

htlp.ico is 24x24
depot.ico is 128x128
closedoc.ico is 32x32

The .ico files are on the server in the location specified.
I used F12 to see Developer Tools > Network > Start Capturing
Then refreshed the page with the icons, then chose Go to Detailed View > Response Body
I can see the image of the icon file.
There are no errors or warnings shown anywhere in Developer Tools when I do this.

However one of the .ico images shows <aborted>
It is the help.ico, which is the first .ico encountered. Relevant?

The browser is using:
Acceptimage/png, image/svg+xml, image/*;q=0.8, */*;q=0.5

I am using IE10 64-bit. Version 10.0.9200.16576
My Windows 7 system is fully updated.
I tried using IE10 with no add-ins. Did not fix it.

These pages with the icons have worked for more than a year. Yet recently I have seen this error.
I have tried using Compatibility mode on IE10, but it has no effect (as expected).
I have tried Browser Mode for IE8, IE9 with no effect (as expected).

My pages are built with html/php. The doctype is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

I think I could convert all my .ico files to .png, but I want to understand this .ico issue.
I think IE10 should support .ico in the body of a webpage <img> element.

What could be happening? 

I have made a small page to test. (I cannot upload the .ico files in this forum. The help.ico is a question mark in a round area. The closedoc is a tiny-document-with-an-x. The depot.ico is a celtic trefoil.)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="shortcut icon" type="image/x-icon" href="depot.ico" /><title>Testing icon display</title><style type="text/css">
	img	{ height: 16px; width: 16px; margin: 2px; float: left;}
	p { width: 50%; border: 1px solid black; margin: 5px; padding: 5px; }
	p.big { font-size: 1.5em; color: darkblue; margin: 5px; }</style></head><body><div><p class="big">Test to display icon and png files.</p><p>This is the help icon (type x-icon specified).<img type="image/x-icon" src="help.ico" /></p><p>This is the help icon (type vnd.microsoft.icon specified).<img type="image/vnd.microsoft.icon" src="help.ico" /></p><p>This is the closedoc icon (type not specified).<img src="closedoc.ico" /></p><p>This is the remove png (type not specified).<img src="remove_16.png" /></p></div></body></html>

Downloaded New ver. 10 but after install see that is UK version, not US version. How do I get to US version??

$
0
0

Got an advertisement stating that Explorer 10 was ready for download and tryout. So,... I did the download. Everything seemed to install correctly, only when I came to try it out for the first time, found that it was an app built for UK and UK users.

How do I get the US version?

Thanks,

TN stumbler

Can't write registry with .HTA on IE10

$
0
0

Hi all,

Below, part of code I used on my HTA files. Code works fine on I8, but on IE10, registry isn't updated.It would be verynice ifsomeone hadan idea tohelp me out.

<HTML><HEAD><TITLE>TEst</TITLE><META http-equiv="Content-Script-Type" content="text/vbscript"/><HTA:APPLICATION ID="oHTA"
                APPLICATIONNAME="TEstmoi"
                BORDER="yes"
                CAPTION="yes"
                ICON=""
                MAXIMIZEBUTTON="yes"
                MINIMIZEBUTTON="yes"
                SHOWINTASKBAR="yes"
                SINGLEINSTANCE="yes"
                SYSMENU="yes"
                SCROLL="auto"
                SCROLLFLAT="yes"
                VERSION="1.0"
                WINDOWSTATE="normal"/></HEAD><SCRIPT Language="VBScript">
On Error Resume Next
Err.clear
Public Const HKEY_LOCAL_MACHINE         = &H80000002
Public Const HKEY_CLASSES_ROOT          = &H80000000
Public Const HKEY_CURRENT_USER          = &H80000001
Public Const HKEY_USERS                 = &H80000003
Public Const HKEY_CURRENT_CONFIG        = &H80000005
Public Const HKEY_DYN_DATA              = &H80000006


Set objSHELL = CreateObject("WScript.Shell")
If (Err.Number <> 0) Then
        strTitle = "WU-Report : Unable to load object WScript.Shell"
        strText = "Error Number      : " & Err.Number & VbCrLf _& "Error Description : " & Err.Description
        MsgBox strText,vbOK + vbExclamation, strTitle
        WScript.Quit
End If

Set objWMIRegistry = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:stdRegProv")
If (Err.Number <> 0) Then
        strTitle = "WU-Report : Unable to load object winmgmts\stdRegProv"
        strText = "Error Number      : " & Err.Number & VbCrLf _& "Error Description : " & Err.Description
        MsgBox strText,vbOK + vbExclamation, strTitle
        WScript.Quit
End If

strKey = "Test1"
strRegKey = "Test01"
strValue = "Value1"


errSetRegKey = objWMIRegistry.CreateKey(HKEY_LOCAL_MACHINE, "SOFTWARE\ESRF" & "\" & strKey)

msgbox "HKLM\SOFTWARE\ESRF\" & strKey & "\" & strRegKey
objSHELL.RegWrite "HKLM\SOFTWARE\ESRF\" & strKey & "\" & strRegKey, strValue, "REG_SZ" 
If (Err.Number <> 0) Then
        strTitle = "WU-Report : Unable to load object winmgmts\stdRegProv"
        strText = "Error Number      : " & Err.Number & VbCrLf _& "Error Description : " & Err.Description
        MsgBox strText,vbOK + vbExclamation, strTitle
        WScript.Quit
End If</SCRIPT><BODY></BODY></HTML>

Thank & Regards,

Arnaud

Viewing all 3527 articles
Browse latest View live




Latest Images