Cjuidatepicker Not Displaying ?

In a admin.php page i use a Link Button to "Add new client registration" using a form.

when enter data in a date field CjuiDatePicker is not displaying.?


when open the form without "link button" the date field displays the clendar to enter date.

plz see my code ,where is the problem…???.thanks

<?php echo $form->labelEx($model,'p_end_date'); ?>


        $this->widget('zii.widgets.jui.CJuiDatePicker', array(




                // additional javascript options for the date picker plugin










        //echo $form->textField($model,'p_end_date',array('size'=>40,'maxlength'=>100)); ?>


                <?php echo $form->error($model,'p_end_date'); ?>