How can i use the calendar in datagride in the Edit mode????

asp.net Bahrain
  • 13 years ago

    Hiiii all..................

    i have datagride display field of date and i want to edit in this field

    in the Edit mode i convert the date label to a button and textbox........

    what i want is...when i click on the button ,a calendar appear then select the date which returns in the textbox

    My problem is:

    How can i make a click event on this button to open the calendar in edit mode inside the datagrid??????

  • 13 years ago

    Have a look at http://www.developerfusion.co.uk/forums/t/51277/

    Then use the user control in the edit template of the grid. Manipulate the code a little and you should have what you want. 

    Joe 

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” - Martin Fowler