Alec Tang

Professional Web Developer/ Web Designer

I build websites based on the latest web standards providing the best possible solution to your company

  • Home
  • About
  • Portfolio
  • Contact
  • Blog
Subscribe our RSS Feed Subscribe Feed
  • How to check if Constraint exist

    Blog post about How to check if Constraint existA very useful statement to check if a constraint exists before do something to it. Note, we can never edit a constraint before deleting it and re-create. SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE CONSTRAINT_SCHEMA='dbo' AND CONSTRAINT_NAME='FK_37_Page_FK' AND TABLE_NAME='PageContent'

    Read on... Posted by: Alec On Tuesday, 11 August 2009 - in
    • SQL
  • How to create Gradient effect background using C#

    Blog post about How to create Gradient effect background using C#Ever wanted to create a gradient image dynamically? This can easily be done using C# with the following snipplet of code. We can also specify the width, height, gradient direction (horizontal or vertical), and the two colors. By using LinearGradientMode class, a beautiful gradient image can be drawn in a sec.

    Read on... Posted by: Alec On Monday, 10 August 2009 - in
    • ASP.NET C#
  • Creating a XML based Dynamic Sitemap

    Blog post about Creating a XML based Dynamic Sitemap Having a working sitemap in an ASP.NET application can't be anymore important. You can use it for navigations, breadcrumbs, etc. The default web.sitemap file is an XML file which provides the root node of the site, the SiteMapProvider used, and tracks the provider objects. System.Web.SiteMap inherits from System.Object. The default provider XMLSiteMapProvider works through the Web.sitemap. Besides being useful for site navigation, the sitemap also provides a easy way for search engines to look for pages on the site.

    Read on... Posted by: Alec On Wednesday, 15 July 2009 - in
    • ASP.NET C#
  • Make Firefox show fonts nicely as Internet Explorers

    Blog post about Make Firefox show fonts nicely as Internet ExplorersI found something very interesting to know this morning, that is Firefox's always shown fonts in web page a little differently than IE browsers. IE tends to show fonts more smooth and nice. There's actually a way to change the settings so that Firefox could show fonts and lines more nicely like Internet Explorer. To do that...

    Read on... Posted by: Alec On Tuesday, 14 July 2009 - in
    • Browsers
  • DataBinder.Eval: 'System.Data.DataRow' does not contain a property

    Blog post about DataBinder.Eval: 'System.Data.DataRow' does not contain a property For some reason, DataBinder.Eval(Container.DataItem, "id") will not work in li tag within the item template of a repeater. I had to use this: ((System.Data.DataRow)Container.DataItem)["id"].ToString()

    Read on... Posted by: Alec On Monday, 13 July 2009 - in
    • SQL
  • Doroton, Leading French Food Manufacturer Website Up

    Blog post about Doroton, Leading French Food Manufacturer Website UpDoroton, a leading adelaide based food manufacturer specialising in wholeselling french tarts & patisserie has contracted Xplore to power their website. The website will showcase their wide range of popular products for leads and enquiries.

    Read on... Posted by: Alec On Tuesday, 07 July 2009 - in
    • Projects
    • Web Design
  • How to call parent and get data from usercontrol

    Blog post about How to call parent and get data from usercontrolUserControls are great, particularly in making the code more eye friendly, seperating big bunch of codes into different parts and be able to re-use them throughout the application. However, there are times when we need to reference something in the parent page or control from the usercontrol level. That's when I had an issue today, and finally solved it using the brilliant delegate.

    Read on... Posted by: Alec On Tuesday, 16 June 2009 - in
    • ASP.NET C#
  • Regular Expression for validating Australian phone numbers

    Blog post about Regular Expression for validating Australian phone numbersA very useful regular expression for validation Australian wide phone number, including mobile phones. This would accepts all forms of Australian phone numbers in different formats (area code in brackets, no area code, spaces between 2-3 and 6-7th digits, +61 international dialing code).

    Read on... Posted by: Alec On Monday, 11 May 2009 - in
    • ASP.NET C#
  • FCKEditor - Best Open Source WYSIWYG Editor

    Blog post about FCKEditor - Best Open Source WYSIWYG EditorHave been playing a lot with a number of WYSIWYG text editors, such as RadEditor and many other free ones, but the one that I liked the most would be FCKEditor, which is open source editor, written in Javascripts and support a wide number of languages like PHP, ASP, JAVA, .NET, CFM, etc. It's extremely easy to integrate, especially in .NET

    Read on... Posted by: Alec On Friday, 01 May 2009 - in
    • Tools
  • Elegant Flexigrid for Your Web App

    Blog post about Elegant Flexigrid for Your Web AppI have been playing around with a free datagrid control available, called FlexiGrid. It has to be one of the very best grid control available as open source. Having a very elegant user interface and very easy to integrate and customised codes, we could integrate FlexiGrid into any existing applications.

    Read on... Posted by: Alec On Monday, 27 April 2009 - in
    • Tools
Previous1234567Next

Search

 

Latest Posts

  • List Attachments Open as Read Only
  • Website finally back up from Google's block
  • Sys.WebForms.PageRequestManagerParserErrorException
  • How Google treats Content Duplication
  • How to create HTML column in Sharepoint List View
  • How Sharepoint stores User Data
  • How to send email via Sharepoint
  • Malaysia Airlines launched iPhone Application: MHMobile
  • Intranet, the next big market
  • How to retrieve and update from a multi choice Checkboxlist ...

Categories

  • Browsers (1)
  • Projects (1)
  • Web Design (7)
  • Sharepoint (21)
  • Telerik (5)
  • Wordpress (1)
  • Internet (2)
  • SQL (5)
  • LINQ (3)
  • ASP.NET C# (34)
  • JavaScripts (3)
  • IIS (0)
  • Industry (1)
  • Tools (8)
  • SEO (5)

Archives

  • September 2010 (1)
  • August 2010 (1)
  • May 2010 (1)
  • April 2010 (3)
  • March 2010 (5)
  • February 2010 (4)
  • January 2010 (11)
  • November 2009 (3)
  • October 2009 (1)
  • September 2009 (9)
  • August 2009 (3)
  • July 2009 (4)
  • June 2009 (1)
  • May 2009 (2)
  • April 2009 (8)
  • March 2009 (6)
  • February 2009 (2)
© Copyright 2009 Alec Tang. All Rights Reserved.
This site is conform to W3C Standard XHTML & CSS