Put sugar, vinegar, salt, mustard, and onion in blender and blend until mixed. With blender running on low, slowly add oil and then turn to high. Blend for 15 more seconds, or until it reaches a creamy consistency. Add poppyseeds and blend a few more seconds.