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
All Posts in September 2009 Subscribe our RSS Feed Subscribe Feed
  • How to Sort and Filter Generic List of Object using LINQ

    Blog post about How to Sort and Filter Generic List of Object using LINQOne of the best things of using LINQ is how easy we could sort or filter objects with a line of code. Consider we have a generic list of object of Employees and we want to filter them with their age. Using LINQ, we don't have to connect to the data source and get the SQL to do the where query. We can just do something like this...

    Read on... Posted by: Alec On Thursday, 17 September 2009 - in
    • ASP.NET C#
    • LINQ
  • Making sure Lightbox still works in Ajax UpdatePanel

    Blog post about Making sure Lightbox still works in Ajax UpdatePanelI recently updated the homepage portfolio section with an Ajax filtering dropdown, allowing readers to filter my portfolio with different technologies and themes. However, that caused my old lightbox effect to lose ground somehow. After days of debugging, I found a way to deal with it, that is...

    Read on... Posted by: Alec On Thursday, 17 September 2009 - in
    • ASP.NET C#
    • JavaScripts
  • Setting Default Button for Textbox Upon Hitting Enter

    Blog post about Setting Default Button for Textbox Upon Hitting EnterThis has to be pretty simple, but I never actually realised it. That is, when we have a textbox, and a button aside, and we want to enter text into the textbox and do a postback by hitting enter on our keyboard instead of hitting the button aside. This can easily be done by wrapping the controls inside a panel, and then set the defaultButton property to the button's id. Gee, I never knew that...

    Read on... Posted by: Alec On Tuesday, 15 September 2009 - in
    • ASP.NET C#
  • How to show DateTime as Time Left

    Blog post about How to show DateTime as Time LeftI recently needed to show a datetime as amount of time left or past. This can be done by using TimeSpan, which you can get by subtracting one DateTime from another...

    Read on... Posted by: Alec On Tuesday, 08 September 2009 - in
    • ASP.NET C#
  • Using StringBuilder to improve performance

    Blog post about Using StringBuilder to improve performanceJorge pointed out the other day that when we do a lot of string concatenation, it is better to use StringBuilder instead of the String class (e.g. str += "something more"; ). This is because StringBuilder gives a better performance when in memory than the standard String class, which requires garbage collection to remove.

    Read on... Posted by: Alec On Friday, 04 September 2009 - in
    • ASP.NET C#
  • Wordpress, Safe Enough from Hackers?

    Blog post about Wordpress, Safe Enough from Hackers?I still remember the first time I started using Wordpress, that was not so long ago when the word 'blogging' started to appear on every media. Blogs have grown dramatically popular. Some blog for making pennies out of it, some blog for fun and variety reasons. Back in that time, there weren't many blogging platforms available, apart from those written as open source, such as Wordpress. It quickly became a hit year after year partly because of its simplicity of usage and free of charge.

    Read on... Posted by: Alec On Wednesday, 02 September 2009 - in
    • Web Design
    • Wordpress
  • Why Should Businesses Look into Search Engine Marketing

    Blog post about Why Should Businesses Look into Search Engine MarketingSearch engine marketing is becoming one of the most important strategies for businesses these days. With research confirming that up to 80 percents of prospective web consumers use search engines or internet directories to find targeted content, search engine marketing is the most widely used method of attracting targeted visitors to a website.

    Read on... Posted by: Alec On Wednesday, 02 September 2009 - in
    • SEO
  • How to connect ASP.NET application to use MySQL

    Blog post about How to connect ASP.NET application to use MySQLA very easy way to connect ASP.NET application to use MySQL database is to use the MySQL Net Connector. With just the following lines of code, you can easily hookup your ASP.NET application to any MySQL db.

    Read on... Posted by: Alec On Tuesday, 01 September 2009 - in
    • ASP.NET C#
  • How much does a website cost?

    Blog post about How much does a website cost?Time and time I have been asked the question, how much does a website cost and most of the time the response I got from them would be, "Wow, that's a bit too expensive, etc". Well, the truth is, since the .COM bubble era, web design industry has evolved and I have to say, one of the very important job as a web designer/ developer today is to educate clients the whole story of getting a professional website.

    Read on... Posted by: Alec On Tuesday, 01 September 2009 - in
    • Web Design

Search

 

Latest Posts

  • 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 ...
  • Auto Complete returns giant list of undefined
  • Integrate Ajax Control Toolkit into Sharepoint

Categories

  • Browsers (1)
  • Projects (1)
  • Web Design (6)
  • Sharepoint (20)
  • Telerik (5)
  • Wordpress (1)
  • Internet (1)
  • SQL (5)
  • LINQ (3)
  • ASP.NET C# (33)
  • JavaScripts (3)
  • IIS (0)
  • Industry (1)
  • Tools (8)
  • SEO (4)

Archives

  • 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