Actually I solved the problem david i just want to set current date in text box when I select no date from date picker and search well finally I did it by setting value in textbox property when it has no value...let me know if you have any other idea for it..