Recently, I came across a set of Internet Explorer Web Controls from Microsoft. These look to me to be older controls from the pre-standards era of Microsoft's asp.net development. I'm curious as to whether or not these controls work well with modern browsers, or if they're basically IE only. I know it says it will render to "downlevel" browser, but it seems to indicate that "any browser other than IE" is a downlevel browser.
Are there a modern set of controls from MS?
I wouldn't recommend using these - they aren't supported by Microsoft anymore and all the samples are on GotDotNet, which has been shutdown.
You'd have better luck developing with a more recent version of the .NET Framework.
THe four control provided (MultiPage, TabStrip, Toolbar, and TreeView) could be done using something like JQuery UI.
TreeView doesn't work properly in Chrome.
(the tree displays fine, but expand/collapse actions don't work)
Related
we're currently maintaining an enterprise application based on ASP.Net 3.5, MS Enterprise Lib 4.1 and Telerik ASP.Net AJAX 2010. The application consist of 2 different part, intranet and internet portion. We announced compatibility with IE6 and above and Firefox, back in 2011. It's been fine so far until IE10 and 11 came into the picture. Since launch, we've advise users to turn on compatibility mode for IE8 & 9. But for IE10, we found that we need to add App_Browser, and it still break certain pages.
Now we plan to provide support to IE9 and above so we've decided to update Telerik ASP.Net AJAX to the latest version. But during this transition period, we notice a lot of UI issues when switching between browsers. To minimized effort on updating every page, we want to try using "ua-x-compatible" in web.config to force all browser to render with the best fit rendering mode. But there's no mentioned of setting IE=6. We're wonder how to configure it so that all new IE browser switch into Compat view mode used by IE8. Another thing we notice is that with IE=8, there's minor differences in terms of look and feel when compare to using IE8 Compat View. We're trying to minimized the differences as much as possible, to preserve the user experience.
We also understand that in intranet, newer IE browser will fall back to Compat View automatically, but that doesn't seems to be the case for us.
If there's a direct answer to this, then I would really appreciate it, otherwise some direction would be a good starting point.
Thank you
We should no longer as community keep support for IE6
Several communities are promoting to remove total support for this browser.
http://www.ie6death.com/
But I understand this not always I call we can make. I would recommend you to try :
http://modernizr.com/docs/#support
This will polyfill your javascript and will help you with your browser support.
My web applications are designed in IE6 compatibility mode. Now I need to migrate to IE8, but most of my web pages are not in good allignment in IE8 browser. First I tried the compatibility view in IE8(the button near the address bar), but of no use. Then as per somebodies suggestion I have added the meta tag '' in the section of every html pages, but still it is not working. I am using Windows XP professional OS version 2002 with service pack3 and IIS version 5.1. I am not sure I can migrate to IE8 with this system configuration. Moreover I am a beginner in this session. Could somebody please explain how can I acheive this?
Thanks in advance,
Lakshmi.
A good place to start would be to open up the pages in a tool like visual studio and look at the list of violations listed. Go down the list and start fixing things that are deprecated or wrong. Notepad++ has an "HTML Tidy" feature that will reformat and correct some common mistakes. However, many of the problems that you are going to encounter are not trivial - as in the entire paradigm followed is probably wrong. Converting a site is, unfortunately not the type of thing that we can do by running the pages through a wizard. I would start by creating a new MasterPage (or global template for whatever framework) that uses CSS for formatting and layout. Then you can migrate blocks of text into the new "skeleton". Some of the CSS template sites offer really nice free templates. Hope this helps.
If this helps you, the new IE 9 has developer tools (F12) which allow you to use either the IE7, IE8 or IE9 rendering engines to view any page.
As a best practise, when making any content for the web you should be checking compatibility on at least the 3 main browsers (IE, Chrome, Firefox), and probably some of the others (Safari). There are Visual Studio add-ins that can help with this kind of thing, by choosing which browser(s) are used for debug mode.
Some of the developer tool suites also allow you to edit content in the browser which can be a big time saver. This lets you tweak CSS and HTML and see the results in real-time, you then just have to apply your changes to the original code. Chrome, FireFox and IE (newer versions) all have tools for this kind of thing, and/or free plug-ins.
You will find in IE8 that the behaviour is better than IE7 and IE6 but still far from perfect, but should notice that the behaviour across Firefox, Chrome, Safari etc is fairly consistent.
I upgraded my current IE6 version to IE8 recently, but one of my Asp.net web application has some problem with the allignment of some lebels, textboxes etc in the web pages. The application is working fine, but only with the design issue(some textboxes and labels are not in a proper order as before in IE6). I have selected the compatability view in IE8, but still the issue is there. I have changed the 'Absolute' positioning of the fields in the web pages to 'Relative', but no use. Could somebody help me which would be much appreciated.
ASP.NET isn't responsible of letting your application show expected layout styling.
Whenever a web browser is upgraded - Internet Explorer, Firefox, Opera, Chrome, Safari... - there're some breaking changes because technology goes forward, or some Web standards compliance break old and wrong ways of doing things.
Your upgrade to Internet Explorer 8 or newer versions would force you to fix your Web application in any Web platform, even in ASP.NET.
Just inspect your CSS and markup, and try to fit to Internet Explorer 8 standards mode in order to get your Web site rocking again!
Internet Explorer has something called compatibity mode if your site has issues, this can be used as a stop gab. But you should off course fix the html/css so that it works on all the browers.
To find and fix the html/css issues, pass the url to one of the many html verifiers on the internet it will normally tell what you need to fix.
you could placing the following tag in the head section of the html-document:
<meta http-equiv="X-UA-Compatible" content="IE=IE5" >
Causing the page to run in Quirks mode, what can perhaps fix the errors (or not ;). Depending on the (declared) doctype you could mess with several compatibility modes
However, I encourage you to change your css in a compatible way. Perhaps by overruling the failing css-classes with conditional comments and some stronger specificity
In our organization, we are still on .net 1.1 environment, using javascript, a few open source applications/widgets. Development is done using Visual Studio 2003, grid view, and iframes. Our application works in Internet Explorer 7 and IE 8 (in compatibilily mode). Can anyone give any basic steps we can take to get our application to work cross browsers? What are the starting locations we can get at to start making existing code work in different browsers?
Use jQuery for reliable cross browser JavaScript
Was it VS 2k or VS 2k3 that "helped" the developer by rewriting their HTML (in all CAPS no less)?
Make your HTML markup standards compliant. I find that developing my website following W3C standards ensure that my sites work in all major browsers.
I also develop in Firefox and then fix IE using conditional stylesheets.
The .NET version does not matter on browser compatibility.
Install and Run Firefox (and get the Firebug addon).
Enter your application and open the Firebug console (F12) to see what issues your application is encountering. (in the Console Tab)
Start with the Errors.
Change any JavaScript that is doing things like document.all.xxxx to use document.getElementById() or document.forms['name'].elements['name'] etc.
Change any CSS that is using IE only styles. e.g. "cursor:hand" should be "cursor:pointer" etc.
Repeat for Warnings once all the Errors are gone
If your app was running in Quirks mode, consider adding a doctype so that you can render in Standards mode (makes CSS/JS much more compliant)... however note that this will very likely "screw up" your pages for a bit until you iron out the kinks.
In the future, be sure to test in all major browsers. I'd recommend developing in Firefox or Chrome first, then tweaking if needed for IE.
.Net in its 2.0 iteration got a lot better (compared to 1.1) at producing cross-browser, and certainly more standards-compliant code (although not perfect by any means).
If you can upgrade to 2.0 this will get you a lot of progress on the standards compliance front for free (unless your own controls / html render as non-cross-browser html and/or javascript; then that would be the first main problem to tackle).
In .Net 2.0 don't forget to appropriately set the xhtmlconformance attribute in your web.config (if you're for example aiming for xhtml). This globally affects the produced html your controls produce.
I would like to make a browser toolbar like google toolbar for my website. It should be compatible with all popular browsers.
Which language should I use to make it? Is there any examples/guides I could use?
For Firefox, start here: https://developer.mozilla.org/en/Extensions
Internet Explorer, here: http://msdn.microsoft.com/en-us/library/bb250489%28VS.85%29.aspx
You can use Javascript and Xml (XUL) to write Firefox extensions and any language that can generate a COM component implementing the IObjectWithSite interface (VB, C++, C#...) for IE.
IE Examples:
https://web.archive.org/web/1/http://articles.techrepublic%2ecom%2ecom/5100-22_11-5078098.html (VB)
http://www.codeproject.com/kb/cs/attach_bho_with_c_.aspx (C#)
Firefox:
http://www.rietta.com/firefox/Tutorial/overview.html
http://kb.mozillazine.org/Getting_started_with_extension_development
You CANT make a single toolbar that is compatible with both IE and Firefox. You need to create two toolbars.
For IE you need to create a Deskband (http://www.codeproject.com/KB/shell/ietoolbartutorial.aspx), a kind of plugin that interfaces with IE via COM. You need to know C++ and COM to do this.
For Firefox, you need to create a Firefox Extension. https://developer.mozilla.org/en/Extensions is a good place to start. You need to know JavaScript and XUL (XML User Interface Language, what Mozilla uses to create user interfaces)
Browser toolbars are not compatible with other browsers. Some toolbars give you a different download link based on your browser, while others install plugins for each browser they recognize and detect.
But regardless, you will be writing one for each browser you want to support, unless they share a plugin model.
See Corbin's answer for ie and firefox, for safari, get started at:
http://developer.apple.com/documentation/InternetWeb/Conceptual/WebKit_PluginProgTopic/Tasks/WebKitPlugins.html
Have you tried http://www.Conduit.com/ ? It's completely free of charge! I love it. Even the big guys use it.
With regards to your game... Is it available online? Can I play it?