Programming, Web News, Web Hostings, Technology
Archive for May, 2009
Desperate Stranger
May 7th
I was signing up register as normal forum member in one of the famous forum in Malaysia which I do not want to mention the forum name. Early morning when I was checking email realized that I got a new private message from this forum and I was wondering does I know anyone in this forum.
Right after open up this private message and I read out the message, I am wondering is this message sending out by a guy or girl. That is just two answer here:
1. If is he, meaning that he is trying to making fool;
2. If is she, meaning that she is so desperate in love;
Anyhow, I just ignore this. You can have a look on the message below:
Consuming ASP.NET Handler By jQuery Ajax With JSON
May 5th
Step towards Web 2.0 development nowdays, ajax is one of the important element in web development. There are various way of doing asynchronous call to server or web service to execute a job.
In this post, I am using jQuery to consume ASP.NET handler through a simple javascript codes. In the normal scenario, if client side requesting a simple string, server just have to return response context with plain/text. If you wish to return a set of data to be return in formatted string, you can either have the options like text/xml or application/json. My example code here will be using application/json with the assistance of third party component, Newtonsoft Json.
Scenario
“I Wish to use javascript to execute a job asynchronously to ASP.NET and receiving set of data in object. I do not wish to make my asynchronous call to any of my ASP.NET aspx pages because it is not a best practice. How can I do it?”
Expectation
- Data return from server in JSON object
- Calling ASP.NET handler
- Using jQuery
Prerequisite Component
- jQuery 1.3.2
- Newtonsoft Json
Solution File Structure

Download hellojson_050509_1229
Mouse Not Working After Installed VMware Tool
May 1st
If you are in the case that your mouse is not working correctly in your VMware Virtual Machine, it is due to the conflict happened between Microsoft VM mouse driver and VMware VM mouse driver.
Resolution
========
1. Go to regedit and find out the key below:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}
2. Remove the value msvmmouf from the UpperFilters Regvalue.
And then reboot your OS.
Good luck
