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

Compatibility mode in Microsoft edge

$
0
0

Hi All,

        How to setup compatibility mode in Microsoft edge , I have some application like VPN that I need compatibility mode to set to Open Up. please advise


HTML5 Native Support for Drag and Drop

$
0
0

Internet Explorer is listed among browsers that offer native support for HTML5 drag and drop but it doesn't appear to work for

dropdown lists ie select and option tags. All that's required for ability to drag is setting the draggable attribute to "true"

I am able to achieve this successfully using Mozilla Firefox but it doesn't work for the most current version of Internet Explorer nor for Google Chrome. Perhaps there is a workaround. I suspect default behavior in the dropdown list is causing the dragstart event not to get fired. Help!!!

Thanks

HTML5 native support for Drag and Drop

$
0
0

I am unable to get the Drag and Drop dragstart event to fire for an item (option tag) dropdown list (select tag). I set the draggable attribute of the option tag to true as required but the dragstart event does not get fired neither does the item become draggable. It works for other elements like a div, ul etc. Is there some default behavior of the dropdown list that is somehow preempting the Drag and Drop dragstart event?

Thanks

New bug in IE11 -- scrolling position:fixed + background-image elements jitters badly.

$
0
0
visit the following page in IE10 and IE11, and use your mouse wheel to scroll the page:

http://www.oussamaharb.com/

In IE <= 10, Safari, Chrome, and FireFox, the header section of that page stays put when scrolling.  However, only in IE11, when you scroll the page the the header jumps around and jitters.  Essentially IE11 will do this on any div with a fixed background image.

Note the jitter does not happen if you grab the scrollbar with the cursor and move it up and down (which people rarely do).  Some sort of bug when using mouse wheel has been introduced in IE11.

IE 11 Div With "border-radius" Bug.

$
0
0

Hi

I've just upgrade to Windows 8.1 with IE 11 and suddenly the web site I am working on has a CSS problem, which was not there in IE 10, or Chrome. Using the following HTML I can reproduce it:- 

<html><head><title>IE 11 Div With "border-radius" Bug.</title><style>
			.div1
			{
                background-color: #bbbfd8;
                border-radius: 1px 0 0 0;
			}
			.div2
			{
                background-color: #bbbfd8;
			}</style></head><body><h1>IE 11 Div With "border-radius" Bug.</h1><div class="div1">Div 1</div><div class="div2">Div 2</div></body></html>

This produces the following in IE:-

The problem is the white line between the Div 1 and Div 2 tags. Remove the "radius: 1px 0 0 0;" and it goes away.

I am sure lots of you have found this, but I though I would fill MSs forum with it, to make the point.

That said, does anyone suggest a good (won't break on other browsers) fix.

John

HtmlDlgSafeHelper not working in Edge?

$
0
0

My web page uses HtmlDlgSafeHelper. It works in IE 11 but not working in Edge. Any suggestions?

I use the object tag to open the color dialog classid:3050f819-98b5-11cf-bb82-00aa00bdce0b


vRam

window.open() method works differently in IE11

$
0
0

Hi everyone, I use the function window.open() to get an already open IE Window with the same WindowName and change the Content of one Frame there.The Implementation is like:

var WinName = "somename";

var Position = "something";

var newUrl = "someURL";

mainWin = window.open("",WinName,position);

mainWin.fhidden.location.href = newUrl;

This works fine in IE8 (the URL opens in the existing window).

In IE11 it always opens a second (new) window.

What can I do to get the same behavior like in IE8?

Thanks for your help,

Bjorn

التخلص من الصفحات الاعلانية

$
0
0

السلام عليكم

بالنسبة للصفحات الاعلانية والتي تظهر اثناء التصفح فكما تعلمون بانها جدا مزعجة

ولكن لم اجد طريقة لكي امنع ظهورها لذا أتمنى من لديه طريقة ان يفيدني

شاكر ومقدر


IE 11 throws not enough storage is available to complete this operation

$
0
0

I have a problem in one of my angularjs applications. That is, it constantly throws the "not enough storage is available to complete this operation" error in IE 11 and in chrome it throws a different error. I thought that there are memory leaks and reviewed the code and found the bug and fixed it. It worked just fine in Chrome. And I can see the memory blocks getting deallocated in chrome. But strangely IE is still throwing the same error.

There are basically 2 pages (or states) in my application. One that shows list of some entries. The other one is a page which contains the angular ui-grid. The bug reproduction steps are

  1. Go to the first page
  2. Click on one of the entries that opens the grid
  3. Go back to the first page after data is loaded into the grid.

Continue steps 1 - 3 repeatedly and after 3 times IE throws the error. This is a SPA and all these state transitions are done using angular ui-router.

I am loading some 60MB of data into the grid using ajax call. The debugger shows the error is while reading the xhr`s responseText.

Any suggestions?

Thanks.

pdf in edge on windows 10

$
0
0

Hi,

I was hoping we would have fixed this in the edge version, much to my disappointment..can someone help

Problem with downloads in Edge Browser

$
0
0

When I download files using the Edge browser, I am not prompted, or given an option to specify where the file will be saved. It immediately starts the download into \users\{username}\downloads.  Is there an option or setting that I need to make? Other browsers, like Chrome work fine.

Thanks

multibox not working for IE7/8

$
0
0

The multibox in jsp, the checked value couldn't pass by request and not being populated by DynaValidationActionForm.

<html:multibox tabindex="${requestScope.tabIndex}"property="checkBoxIndex"value="${status.count}"/>

This is only happen in IE7/8, it works fine in IE10.

Change the cursor can not take effect immediately in IE10 unless I move the mouse

$
0
0

I am using below code and it is working for all browse except IE10 can you please help me for proper solution.

When I change the cursor by JS in IE10, it will not be effective unless I move the mouse.  PLEASE HELP...

function AjaxProcessingIndicator() {
            $('html, body').addClass('busy');
        }
function AjaxCompletionIndicator() {
            $('html, body').removeClass('busy');
            document.body.style.cursor = 'default';
        }


Win 7 IE 11 ToolTips are not displayed on Charting object

$
0
0

In Win 7 IE 11 the DataVisulation Charting object does not display tooltips on hover.

This functions properly in WinXP IE8, Win 8.1 IE 11,  Firefox, and Chrome. I've seen similar issues reported, but have not seen a resolution.

Has anyone out there encountered this issue?

Thanks,
Carl


CryptoOperation and KeyOperation

$
0
0

I went through the below link and came to know that CryptoOperation and KeyOperation objects works in IE11. But I need to know how to create these objects?

https://msdn.microsoft.com/en-us/library/dn904640(v=vs.85).aspx

I couldn't find any examples regarding this. Any help?


Information required on CRTVDIR.EXE

$
0
0

Hi,

    We are looking for more information on how we can use CRTVDIR?  Where can we download the installable/sources?  and what is the license required for this?

     We would also like to have the information that is present in the link below.  We are unable to access this since it is probably been moved to a different location.

support.microsoft.com/default.aspx?scid=kb;EN-US;188954

Thanks and Regards,

Tressy

[Help] Problem with links inside iframe in IE

$
0
0

Hi all,

I'm developing a webpage that has an iframe and a footer. The iframe source is an external url. This is my page:

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><metahttp-equiv="Content-Type"content="text/html; charset=ISO-8859-1"><title>Test </title><styletype="text/css">
		html, body, div, iframe { margin:0; padding:0; height:100%; }
		iframe { display:block; width:100%; border:none; }</style></head><body><iframesrc="http://test.com/"></iframe></body></html>

The external URL, opens correctly in the iframe. My problem is when I click on a link in the page inside the iframe. It opens the iframe source and not the clicked link. The links in the page are like this:

<ahref="?controller=produtos&amp;method=lista&amp;pagina=2">Link</a>

I do not have access to the external page. I repeat, I cannot change anything in the external page.

The iframe works correctly in Firefox, but not in Internet Explorer.

There is any way, to make the external page works correctly on the iframe in Internet Explorer?

Thanks in advance.

ASP.Net MVC 5 and SQL Server Database

$
0
0

Hello,

    I am having a development issue that I cannot seem to figure out here.  So the layout is that I have a database that has multiple schemas and multiple tables that are joined giving a many to many.  I have classes that I written in C# for the MVC and when I go to make the views, I cannot seem to bind the other tables with my model.  So here is what I have:  A picture of the tables from SQL Server

Here is the Visual Studio representation from ADO EF6:

Here are the three classes for the view that I am trying to create:

Asset.cs

namespace HomeInventory.Web.Areas.Classes
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Asset.Asset")]
    public partial class Asset
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Asset()
        {
            Locations = new HashSet<Location>();
            Photos = new HashSet<Photo>();
        }

        public int AssetID { get; set; }

        [Required]
        public string AssetName { get; set; }

        [Required]
        [StringLength(50)]
        public string AssetType { get; set; }

        [StringLength(255)]
        public string AssetSerial { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime AssetDate { get; set; }

        [Column(TypeName = "money")]
        public decimal? AssetPurCost { get; set; }

        [Column(TypeName = "money")]
        public decimal? AssetValue { get; set; }

        public string AssetNotes { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Location> Locations { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Photo> Photos { get; set; }
    }
}

Location.cs

namespace HomeInventory.Web.Areas.Classes
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Common.Location")]
    public partial class Location
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Location()
        {
            Assets = new HashSet<Asset>();
            Books = new HashSet<Book>();
            Musics = new HashSet<Music>();
            Videos = new HashSet<Video>();
        }

        public int LocationID { get; set; }

        [Required]
        public string LocationName { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Asset> Assets { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Book> Books { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Music> Musics { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Video> Videos { get; set; }
    }
}

Photo.cs

namespace HomeInventory.Web.Areas.Classes
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Common.Photo")]
    public partial class Photo
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Photo()
        {
            Assets = new HashSet<Asset>();
            Books = new HashSet<Book>();
            Musics = new HashSet<Music>();
            Videos = new HashSet<Video>();
        }

        public int PhotoID { get; set; }

        [Required]
        [StringLength(50)]
        public string PhotoName { get; set; }

        public byte[] PhotoStorage { get; set; }

        public Guid RowGuid { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Asset> Assets { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Book> Books { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Music> Musics { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Video> Videos { get; set; }
    }
}

Here is the View:

@model HomeInventory.Web.Areas.Classes.Asset

@{
    ViewBag.Title = "Add Assets";
    Layout = "~/Views/Shared/_AssetLayout.cshtml";
}

@{
    var lgrid = new WebGrid(source: ViewBag.Loca,
                            defaultSort: "LocationName",
                            rowsPerPage: 10, canSort: false,
                            pageFieldName: "pg");
}<p id="pAAddHead" style="font-family:'Times New Roman', Times, serif; font-size:16px; text-align:center">Add Assets to Inventory</p>
@using (Html.BeginForm())
    {
    @Html.AntiForgeryToken()<div class="form-horizontal"><hr /><div class="form-group col-md-6">
            @Html.ValidationSummary(true, "", new { @class = "text-danger" })<div class="form-group">
                @Html.LabelFor(model => model.AssetName, htmlAttributes: new { @class = "control-label col-md-2" })<div class="col-md-4">
                    @Html.EditorFor(model => model.AssetName, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.AssetName, "", new { @class = "text-danger" })</div></div><div class="form-group">
                @Html.LabelFor(model => model.AssetDate, htmlAttributes: new { @class = "control-label col-md-2" })<div class="col-md-4">
                    @Html.Editor("DatePicker", new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.AssetDate, "", new { @class = "text-danger" })</div></div><div class="form-group">
                @Html.LabelFor(model => model.AssetPurCost, htmlAttributes: new { @class = "control-label col-md-2" })<div class="col-md-4">
                    @Html.EditorFor(model => model.AssetPurCost, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.AssetPurCost, "", new { @class = "text-danger" })</div></div><div class="form-group">
                @Html.LabelFor(model => model.AssetSerial, htmlAttributes: new { @class = "control-label col-md-2" })<div class="col-md-4">
                    @Html.EditorFor(model => model.AssetSerial, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.AssetSerial, "", new { @class = "text-danger" })</div></div><div class="form-group">
                @Html.LabelFor(model => model.AssetType, htmlAttributes: new { @class = "control-label col-md-2" })<div class="col-md-4">
                    @Html.EditorFor(model => model.AssetType, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.AssetType, "", new { @class = "text-danger" })</div></div><div class="form-group">
                @Html.LabelFor(model => model.AssetNotes, htmlAttributes: new { @class = "control-label col-md-2" })<div class="col-md-4">
                    @Html.EditorFor(model => model.AssetNotes, new { htmlAttributes = new { @class = "form-control col=21 rows=5" } })
                    @Html.ValidationMessageFor(model => model.AssetNotes, "", new { @class = "text-danger" })</div></div></div><div class="form-group col-md-6">
            @Html.ValidationSummary(true, "", new { @class = "text-danger" })<div class="form-group">
                @Html.LabelFor(model => model.AssetValue, htmlAttributes: new { @class = "control-label col-md-3" })<div class="col-md-3">
                    @Html.EditorFor(model => model.AssetValue, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.AssetValue, "", new { @class = "text-danger" })</div></div><div class="form-group">
                @Html.LabelFor(model => model.Locations, htmlAttributes: new { @class = "control-label col-md-3" })<div class="col-md-3">
                    @lgrid.GetHtml(tableStyle: "grid", columns: lgrid.Columns(lgrid.Column(format: (Locations) => Html.CheckBox("LocationID")), lgrid.Column("LocationName", "")))
                    @Html.ValidationMessageFor(model => model.Locations, "", new { @class = "text-danger" })</div></div><div class="form-group">
                @Html.LabelFor(model => model.Photos, htmlAttributes: new { @class = "control-label col-md-3" })<div class="col-md-3">
                    @Html.Editor("File", new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.Photos, "", new { @class = "text-danger" })</div></div></div><div class="form-group"><div class="col-md-offset-2 col-md-4"><input type="submit" value="Add" class="btn btn-default" /><input type="button" value="Cancel" class="btn btn-danger" /></div></div></div>
    }

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}

and here is the portion of the controller for that view:

public ActionResult AddAsset([Bind(Include = "AssetID,AssetName,AssetType,AssetSerial,AssetDate,AssetPurCost,AssetValue,AssetNotes")] Assets asset)

{
            if (ModelState.IsValid)
            {
                adb.Assets.Add(asset);
                await adb.SaveChangesAsync();
                return RedirectToAction("AssetMain");
            }
            {
            var _loc = new List<Location>();
            _loc = cdb.Locations
                .OrderBy(l => l.LocationName)
                .ToList();
            ViewBag.Loca = _loc;
            return View();
            }

Now first off When I generated the view it gave me the information for the Asset table everything in the view up to locations.  I had to add Locations and Photos, I cannot get any of the locations in the database to show up, though they show up in the view for creating, editing, deleting the locations, and in another view I am trying to work using the exact same code.  Plus I cannot get a file browser to show up for the photos... I have tried a few different pieces of code there, but nothing works.  I have also tried submit data to the database, because it doesn't necessarily need a photo at this time, and nothing was sent to the database.  So I am wondering where I am going wrong with this.  I guess what I thought was slightly simple has put me in way over my head.  Any help would be appreciated.


Michael R. Mastro II

security pop ups

$
0
0

I have read all these fixes and nothing is working. I have windows 7 pro, and IE8. I use the net all day for my work, and am about crazy trying to get anything done with all these security boxes asking me yes or no to trust the site that is trying to open. the biggest culprit is google syndication boxes, they come up as soon as I open the internet. Making me hate life here. Please help. I enabled mixed content, that did not work. Thanks!   

Multiple forms handling in IE7/8/10/11

$
0
0

If a jsp has multiple forms, like: <html:form><form:paginationForm></form><form:paginationForm></form><tbody>....INPUT DATA....></html:form>

CAN NOT WORK IN IE7/8, INSTEAD SUBMITTING INPUT DATA, IT SUBMITTING PAGINATION DATA. BUT IT WORKS FINE IN IE10.

if change the syntax to: <form action="#"><form:paginationForm></form><form:paginationForm></form><html:form><tbody>....INPUT DATA....></html:form></form>

IT STARTS WORKING FINE FOR ALL IEs. Can you explain it? give me the correct solutions.

The problem jsp code:

<html:form action="./selectPullback">
<xx:group>

<xx:pagination actionURL="./search" resultSet="${SearchPullback.paginatedResultSet}"><table >..<xx:paginationHeader /> </table></xx:pagination>

<xx:pagination actionURL="./search" resultSet="${SearchPullback.paginatedResultSet}">
 <table><tfoot><xx:paginationFooter /></tfoot>
 <tbody>....</tbody></table></xx:pagination></xx:group></html:form>

<div class="button"><ul><li><html:link href="#" onclick="return document.forms['searchPullbackForm'].submit();"
validate="false" tabindex="10"><span>Select</span></html:link></li></ul></div>

 

Viewing all 3527 articles
Browse latest View live




Latest Images