Home / ASP.NET Weblogs

Latest Microsoft Blogs

Browse by Tags

Related Posts

  • More Details on the “Closing Tag Problem”

    We are testing a fix for the “closing tag problem” bug, but it will still take some time to deliver the fix to customers. The work-around posted earlier will alleviate the problem now and should not need to be undone once the fix is shipped. This bug has actually been in the product for several release, but was previously hidden by another bug. When you begin typing an HTML tag, an Intellisense completion list is displayed. The earlier bug was that this list blocked keystrokes bound to commands from firing. An obscure command, “AutoCloseTagOverride” was bound to the key combination Ctrl+Alt+Period in the HTML Editor. It turns out that this is also fired by the key combination AltGr+Period. So, in Visual Studio 2012, this...


  • Workaround for HTML closing tag problem

    In Visual Studio 2012, HTML tags will fail to be automatically closed when using the following keyboard layouts: Canadian Multilingual Croatian Czech Hungarian Latvian Polish Romanian Serbian Slovak Slovenian On these keyboards, the “>” character is typed by pressing AltGr+. or RightAlt+. Work around Open the Tools/Customize dialog Click the “Keyboard…” button In the “Show commands containing:” text field, enter: view.autoclose The list view will display “View.AutoCloseTagOverride” “Shortcuts for selected command” will display: Ctrl+Alt+. (HTML Editor Source View) Press the “Remove” button Press the “OK button In the Customize dialog, press the “Close”...


  • ZenGallery: a minimalist image gallery for Orchard

    There are quite a few image gallery modules for Orchard but they were not invented here I wanted something a lot less sophisticated that would be as barebones and minimalist as possible out of the box, to make customization extremely easy. So I made this, in less than two days (during which I got distracted a lot). Nwazet.ZenGallery uses existing Orchard features as much as it can: Galleries are just a content part that can be added to any type The set of photos in a gallery is simply defined by a folder in Media Managing the images in a gallery is done using the standard media management from Orchard Ordering of photos is simply alphabetical order of the filenames (use 1_, 2_, etc. prefixes if you have to) The path to the gallery folder is...


  • Drawing transparent glyphs on the HTML canvas

    The HTML canvas has a set of methods, createImageData and putImageData, that look like they will enable you to draw transparent shapes pixel by pixel. The data structures that you manipulate with these methods are pseudo-arrays of pixels, with four bytes per pixel. One byte for red, one for green, one for blue and one for alpha. This alpha byte makes one believe that you are going to be able to manage transparency, but that’s a lie. Here is a little script that attempts to overlay a simple generated pattern on top of a uniform background: var wrong = document.getElementById( "wrong" ).getContext( "2d" ); wrong.fillStyle = "#ffd42a" ; wrong.fillRect(0, 0, 64, 64); var overlay = wrong.createImageData(32, 32), data...


  • Play Sound in HTML5 and cross browser support with backward compatability.

    In the last post in this series [ read here ] I added the clock timing logic to the HTML workout timer. The next feature to add is round and interval audio. I want to ring a bell at the beginning and the end of each round, a warning before a change in work state, [...] Read More...


  • Building an HTML App – Workout Timer – Clock Logic

    In [ this post ] I introduced an HTML application that I intended to build. I’ve been picking away at the logic (though haven’t gotten to the HTMP “5″ stuff yet) and thought I’d share the milestone. Note that the gray area in the screen shot below is not implemented yet. Here are some of [...] Read More...


  • Beginning an HTML5 Application – The Requirements

    More and more developers are starting to think about building applications that have both on-line and off-line features using HTML5. I’ve been giving this some thought and have decided to build one myself. I thought for a while about what sort of application would make for a good showcase. It’s one of the though things [...] Read More...


  • So what are zones really?

    There is a (not so) particular kind of shape in Orchard: zones. Functionally, zones are places where other shapes can render. There are top-level zones, the ones defined on Layout, where widgets typically go, and there are local zones that can be defined anywhere. These local zones are what you target in placement.info . Creating a zone is easy because it really is just an empty shape. Most themes include a helper for it: Func<dynamic, dynamic> Zone = x => Display(x); .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd...


  • Visual Studio 2010 Web Standards Update

    Over the last several months the “new wave” of web standards have been  moving at an accelerated pace, All the popular browsers are pushing the envelope including Microsoft’s own IE9 and the new standard open up exciting new opportunities for developers. Microsoft at large and the ASP.NET and Visual Studio teams are heavily invested in [...] Read More...


  • Getting started with custom themes in Orchard

    Read More...


Page 1 of 6 (57 items) 1 2 3 4 5 Next > ... Last »

Archives