The names of the controls inside a usercontrol get renamed when they're rendered on the page (rt click & ViewSource to see it) so you need to code the field name. You can do this:
var vdp = document.getElementById('<%= dp.ClientID %>');
alert(vdp.value);