Dear Friends
i have found below solution....
my textbox is <asp:TextBox runat="server" ID="txtDate1" Width="120px" onclick="tryPlaceholder(this,'dd MMM yyyy')" onblur="tryPlaceholder(this,'dd MMM yyyy')" />
function tryPlaceholder(txtbox, placehold) {
if (txtbox.value.length == 0) {
txtbox.value = placehold.toString();
txtbox.style.color = "#959595";
}
else {
if (txtbox.value == placehold.toString()) {
txtbox.value = '';
txtbox.style.color = "#000000";
}
}
}
its run okay with javascript. but i want solution through server side for textbox withing placeholder control inside asp.net