fr3dr1k on August 5th, 2010

Ajax is not new, its not revolutionary, but it has changed the way I view web development. Javascript no longer comes as a might-have, instead it comes as a critical part of any website application. These days I use JavaScript as the UI scripting tool of choice, and I try to steer away from doing [...]

  • Share/Bookmark

Continue reading about Ajax in the .NET environment…

fr3dr1k on June 18th, 2010

Microsoft come in for a lot of flack from the OSS world and the Mac users think they are better than everyone else when it comes to software. But I was surprised again today by how good Windows Live Writer integrates with my WordPress Blog, to such an extent that I will in all probability [...]

  • Share/Bookmark

Continue reading about Windows Live Writer

fr3dr1k on April 27th, 2010

After following a link from Kevin Dente to a twitter client called Mixero and installing it I thought I would just list my 2 favourite Twitter clients, why I like them and what I dont like. First of all to those who do not see or understand the value of Twitter, its NOT Facebook and [...]

  • Share/Bookmark

Continue reading about 2 Twitter Clients I use

fr3dr1k on December 12th, 2009

Yesterday I was busy with HTML to PDF conversion and for this I used the HTML Agility Pack. Everything worked great, except it seemed IE and FF/Chrome render different HTML. So today I took some fairly straightforward HTML and pushed it through HTMLAgility: New Website Under Construction And if I use this code to loop [...]

  • Share/Bookmark

Continue reading about Interesting code with HtmlAgilityPack

fr3dr1k on November 4th, 2009

Today I had this scenario where I wanted to post items from multiple HTML input elements to a generic handler (.ashx) file without using the action attribute of the form. Specifying the action meant that that you are navigated away from the page where the action is happening, which means re-creating UI logic. How did [...]

  • Share/Bookmark

Continue reading about Getting POST values with an ASHX file

fr3dr1k on October 30th, 2009

So A < a, which means if you use the sort() function and your array contains elements starting with upper and lowercase then the uppercase will appear first, i.e.: Art, ASP.NET, LawDeed, LINQ will appear as: ASP.NET Art LawDeed LINQ To get this working correctly you need the following function: charOrdA: function(a, b) { a [...]

  • Share/Bookmark

Continue reading about JavaScript alphabetical sorting (A is less than a)

fr3dr1k on October 30th, 2009

JQuery, prototype, scriptalicious, moo tools and Microsoft Ajax are all JavaScript libraries that encapsulate common functionality, or rather commonly repeated tasks, into a re-usable form. One such example is accessing DOM elements. Usually you would type document.getElementById to get to a div element for example, which also implies for each element you access you have [...]

  • Share/Bookmark

Continue reading about Choosing a JavaScript library/strategy

Earlier today I posted a blog about using a generic handler (.ashx) to upload a file to a web server, and in the back of my head I wanted to use it somewhere neat and special, and I also want to find the most reliable and working version. And I also want to learn what [...]

  • Share/Bookmark

Continue reading about Mimicking AJAX behaviour with Generic Handler (.ashx) file uploader

fr3dr1k on October 16th, 2009

One of the things that are quite weird to get use to, from a C# developer’s perspective, is JavaScript’s prototypical nature. Check out this basic example: var objXMLHTTP = { getXMLHTTPObject: function(url,elementName) { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else if (window.ActiveXObject) { // code [...]

  • Share/Bookmark

Continue reading about Getting to understand JavaScripts prototypal nature

fr3dr1k on October 1st, 2009

I mean really, the performance sucks! The Firebug add-on is a 600Kb+ download and it feels as if it really, really slows it down. I have for a while now switched over to Google Chrome, because it is such a fast and responsive browser. I have found one or two issues when using Facebook with [...]

  • Share/Bookmark

Continue reading about Is Firefox slowly dying?

Get Adobe Flash playerPlugin by wpburn.com wordpress themes