Wednesday, March 10, 2010

how to execute javascript after ajax request is completed

If you are using the microsoft ajax framework, you might encounter a scenario where you need to execute javascript after your ajax call is completed.

The key is to add your javascript method using

Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);

put the javascript method that you need to execute in EndRequestHandler function.

Checkout this very useful post.

Saturday, March 6, 2010

power of jquery - 1

1.Checkout this amazing effect using jquery for your navigation

2.This article shows you the dynamic tabs using jquery

3. This article shows an alternative way to show validation error

4. Wizard like form filling experience

5. This article shows dropdown menu navigation using jquery

6. This article shows very good effect message box effect to show after you saved something

7. This article shows better UI experience by highlighting the row during data entry into the form.

Checkout all the jquery tutorial from Janko, you will be impressed.

Monday, March 1, 2010

CSS Message box 101

This article shows different permutation on message box using div


Look at the trick number 10 in this post, to highlight the navigation item of the user's location in the website, to help users orientate themselves.

tricky issue using profile in asp.net 3.5

This problem will take u at least one hour to figure out why the behaviour in asp.net 2.0 and asp.net 3.5 is different.

Checkout this article to use profile in asp.net 3.5.

Sunday, February 28, 2010

10 UI Design fundamental

came across a good article on UI design

article on 12 useful technique for good UI Design

article on 11 great UI design resources

Thursday, February 25, 2010

Test Driven Development

Checkout this article to learn how to use VS Test Project to apply test driven development methology in your project. This article highlights the details on data driven test case

One point to note is that, it is possible to keep your test data in database, which is very useful in doing testing, instead of coding on the logic for your test data, you can leverage on the framework.

[TestMethod]
[Owner("Mark Michaelis")]
[TestProperty("TestCategory", "Developer"),
DataSource("System.Data.SqlClient",
"Data Source=.\\SQLEXPRESS;AttachDbFilename=\"";Integrated Security=True",
"LogonInfoTest",
DataAccessMethod.Sequential)]
public void ChangePasswordTest()

Sunday, February 7, 2010

Excellent Linq Example

This webcast describe the linq concept clearly, it is very useful for beginner.

After you see this webcast, it is very likely you can unleash the power of LINQ-to-sql