Posts tagged Web Development

Posts about web development, including ASP.NET, jQuery and Bootstrap.


















Jquery/Javascript

Back to top button like Facebook app

by John Avis | September 15, 2017
The Facebook app on Windows phone has a nice and unobtrusive back to top button that only appears once you scroll past a certain point, and only when you start scrolling up the page. This code offers similar functionality using jQuery.









Web Development

Is ASP.NET better than PHP?

by John Avis | September 21, 2016
This posts stems from my own curiosity. It's a question not a statement. I've been developing in ASP.NET for many years and I like it. I've dabbled a bit in PHP and there are some things I like and some I don't like, but maybe I haven't immersed myself in it enough to know what's great about it.

























ASP.NET Web Forms

UpdatePanel in incomplete state after using browser's back button

by John Avis | January 27, 2015
I recently experienced an issue with an ASP.NET Web Forms page with various UpdatePanels. The page has two DropDownLists, the selection of one results in populating of possible values in the other, and the selection of the other results in enabling of a Button. Then if the Button is clicked the user is redirected to another website, based on their selection.




Web Development Reviews

Review of freelancer.com contests

by John Avis | November 5, 2014
After my bad experience with fiverr.com I decided to try my luck with freelancer.com. Freelancer.com offer a contest service where you create a project and open it up for people to submit their concepts or designs. Then you can award a winner.




ASP.NET Web Forms Databases

Using SqlDataReader NextResult to improve performance

by John Avis | July 31, 2014
On database-driven websites it is commonplace to execute multiple database queries to generate just one page. For example, on the home page of an ecommerce website you might get a list of categories, a list of banner advertisements to display, a list of featured products, and a list of top selling products. I investigate whether it was more efficient to put these multiple queries into one stored procedure and use the SqlDataReader's Next Result method to get the data all in one go.












ASP.NET Web Forms

Custom 'Fuzzy' search system in ASP.NET

by John Avis | June 19, 2013
Many or perhaps most websites have the need for a search facility to search the website content or other things like products. Ideally you want an intelligent search, a bit like a search engine, where search results are ordered by relevancy, misspellings are tolerated, and maybe even word stemming is used (so a search for "teach" also returns results for "teacher", "teaches", "teaching", "taught", etc).














Jquery/Javascript

Jquery/Javascript plugin to truncate text to fit container height and width

by John Avis | July 6, 2011
I recently needed a Javascript function to truncate text to fit a container such as a DIV, not just in width but in height. I found plenty of functions that truncate to width but couldn't find anything by height so I created this Jquery plugin that does the job. Please note that it does not handle HTML so if HTML content is truncated it may truncate mid-tag and break the display.







Classic ASP

Classic ASP Master Pages

by John Avis | March 27, 2010
When developing websites most of them have common elements like headers, footers and navigational menus that are common throughout the site. In Classic ASP we mostly use multiple server side includes to accomplish this. I like ASP.NET master pages and this page details the technique I use to achieve something similar in Classic ASP.




















Classic ASP

ISBN Functions

by John Avis | July 31, 2007
This Classic ASP function will convert your old 10 digit ISBN numbers to the new ISBN-13 standard. It requires one parameter: either a 9 or 10 digit ISBN-10.

Tags

About me

...random postings about web development and programming, Internet, computers, electronics and automotive topics.

Subscribe

Get the latest posts delivered to your inbox.