Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
Datetime picker control in webgrid
posted

Hi,

I am using webgrid in my asp.net 2.0 application. In web grid, i have one date coulmn which i want to edit, at the time of editing i want to see datetime picker control to select the code.

 

Can i get sample code for this..

 

Thanks...

 

  • 334
    posted

    Hi,

    I do this, I put one webdatechooser on a hidden div and on the column I put the code below:

    <igtbl:UltraGridColumn  DataType="System.DateTime" IsBound="True"
                   EditorControlID="NameOfWebDateChooser" Type="Custom">
    </igtbl:UltraGridColumn> 

    I hope this helpful.