Posts

Showing posts from May, 2006

Webride - web page discussion

Webride.org allows you to have discussions on any pages you visit on the World Wide Web. Requires JavaScript and cookies enabled to signup and login (so not fully accessible). Doesn't have a rating system though (for users or pages). Uses CAPTCHA in the signup process (so hopefully spam should not be a major problem). jQuery is used for some of its scripting backend. Provides an API so you can integrate some aspects of it on your own site (i.e. you could include comments people have made with Webride on your own pages, rather than visitors loading the Webride site). Tags: Web Developer Blog , Webride , jQuery

Free Icons

Silk Icons - under Creative Commons Attribution 2.5 License (use for any purpose, can modify, but have to credit author) Mini Icons - free for any purpose graphicPUSH: Free icons - under Creative Commons Attribution-ShareAlike 2.5 License (use for any purpose, can modify, but have to credit author and share modifications under same license). IconBuffet - free icons every month (registration required). You can also buy icons from them. No royalties to pay. Ganato - Free Icons - in PSD (Photoshop) format KDE-Look.org icons - under GPL (so not sure if that would mean the page they are on has to be as well, but I assume not as the format is different) Sweetie | Free icon set - under Creative Commons Attribution-ShareAlike 2.0 License There is also a list that is updated @ MaxPower - Free! Icons for your website or application There probably are more sites with free icons, which I will try to add if I find them. Tutorial on creating your own icons with GIMP: GIMP - Creati

FixListControl - select correct item on PostBack for CheckBoxList/DropDownList/ListBox/RadioButtonList (ASP.NET)

When you add a DropDownList (or any other web controls that inherit from ListControl) to a page and bind it on page load, the first value ends up being selected (or to be more accurate, no value gets selected, so by default the first item is shown) on PostBack (rather than the one you selected). One solution to this is to check if a PostBack has occured and only set up the DropDownList on initial page load. private void Page_Load(object sender, EventArgs e) { if(!IsPostBack) { SetupMyDropDown(); } } This helps in most cases, but not if you do a DataBind for the whole page. private void Page_Load(object sender, EventArgs e) { if(!IsPostBack) { SetupMyDropDown(); } BindData(); } This could cause a "Object reference not set to an instance of an object" error, because your DropDownList is bound to an object that needs to be set up on each page load (it is not persisted in view state). One solution would be to bind everything but the DropDownList, but that would not

Lots of free software for almost any purpose

You can do just about anything with free software (freeware or open source). eConsultant has a big list: I want a Freeware Utility to ... 450+ common problems solved (does not include open source in the list). There is a seperate list for open source: Open Source Freeware : 400+ free applications and utilities Tags: Web Developer Blog , Freeware , Open Source

Direct Manipulation Using JavaScript and CSS

ToolMan DHTML Library is a useful JavaScript library that allow you to: drag and drop, sort (lists and toolbars) and edit in place (edit content by double clicking on it in the page). Tags: Web Developer Blog , JavaScript

A Multipart Series on ASP.NET 2.0's Membership, Roles, and Profile

From 4GuysFromRolla.com . 4 parts so far. And a feed of the series . Part 1 - membership basics, a look at the SqlMembershipProvider class. Part 2 - creating roles and assigning to users. Part 3 - adding membership related schemas to a SQL database using aspnet_regsql.exe . Part 4 - show messages to users who cannot login (i.e. why they can't), keep log of login failures. Tags: Web Developer Blog , ASP.NET