Asp Control ASP.Net

<%@ Page Language="C#" %>



    Popup Date Selector
    
    function PickDate(controlName)
    {
        var wnd = null;
        var settings = 'width=300,height=200,location=no,menubar=no,toolbar=no,scrollbars=no,resizable=yes,status=yes';
        var url = 'Popup.aspx?control=' + controlName;
        wnd = window.open(url,'DatePopup',settings);
        if (wnd.focus){ wnd.focus(); }
    }
    


    
    

    Start Date:
    
           ImageUrl="~/images/cal_allday.gif" 
       OnClientClick="PickDate('txtDateStart')" />
    
    End Date:
    
           ImageUrl="~/images/cal_allday.gif" 
       OnClientClick="PickDate('txtDateEnd')" />
    

    Press enter key to continue.