Using a calendar in a datagrid

Discussion in 'ASP .Net Datagrid Control' started by Philippe Pons, Feb 2, 2005.

  1. Hi,

    I use the calendar available from the Time Tracker Starter Kit.
    A click on the associated icon triggers a JavaScript procedure:
    OpenCalendar
    The name of the textbox that receives th selected date is passed to this
    procedure as an argument.
    It works fine on a normal page.
    I would like to use this calendar in a datagrid, to edit the date in a
    textbox.
    I added the icon beside the textbox in the EditItemTemplate, together with
    the call to OPenCalendar.
    I pass the name of the textbox to OpenCalendar.
    Problem: this name is not recognized.
    What should I do to make it work?
    Thank's
    Philippe
     
    Philippe Pons, Feb 2, 2005
    #1
    1. Advertising

  2. Philippe Pons

    Saravana Guest

    Check out this article, this will explain you how you can have calendar
    control inside datagrid
    http://www.microsoft.com/india/msdn/articles/PopupCalendarinASP.aspx

    --
    -Saravana
    http://dotnetjunkies.com/WebLog/saravana/
    www.ExtremeExperts.com



    "Philippe Pons" <> wrote in message
    news:%...
    > Hi,
    >
    > I use the calendar available from the Time Tracker Starter Kit.
    > A click on the associated icon triggers a JavaScript procedure:
    > OpenCalendar
    > The name of the textbox that receives th selected date is passed to this
    > procedure as an argument.
    > It works fine on a normal page.
    > I would like to use this calendar in a datagrid, to edit the date in a
    > textbox.
    > I added the icon beside the textbox in the EditItemTemplate, together with
    > the call to OPenCalendar.
    > I pass the name of the textbox to OpenCalendar.
    > Problem: this name is not recognized.
    > What should I do to make it work?
    > Thank's
    > Philippe
    >
    >
    >
    >
     
    Saravana, Feb 2, 2005
    #2
    1. Advertising

  3. Thank you very much for your answer.
    Philippe

    "Saravana" <> a écrit dans le message de
    news:...
    > Check out this article, this will explain you how you can have calendar
    > control inside datagrid
    > http://www.microsoft.com/india/msdn/articles/PopupCalendarinASP.aspx
    >
    > --
    > -Saravana
    > http://dotnetjunkies.com/WebLog/saravana/
    > www.ExtremeExperts.com
    >
    >
    >
    > "Philippe Pons" <> wrote in message
    > news:%...
    > > Hi,
    > >
    > > I use the calendar available from the Time Tracker Starter Kit.
    > > A click on the associated icon triggers a JavaScript procedure:
    > > OpenCalendar
    > > The name of the textbox that receives th selected date is passed to this
    > > procedure as an argument.
    > > It works fine on a normal page.
    > > I would like to use this calendar in a datagrid, to edit the date in a
    > > textbox.
    > > I added the icon beside the textbox in the EditItemTemplate, together

    with
    > > the call to OPenCalendar.
    > > I pass the name of the textbox to OpenCalendar.
    > > Problem: this name is not recognized.
    > > What should I do to make it work?
    > > Thank's
    > > Philippe
    > >
    > >
    > >
    > >

    >
    >
     
    Philippe Pons, Feb 2, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jay
    Replies:
    1
    Views:
    1,387
    Alvin Bruney [MVP]
    Feb 14, 2004
  2. Shevek
    Replies:
    3
    Views:
    6,049
    Shevek
    Jun 23, 2004
  3. Mike

    Calendar in a DataGrid column

    Mike, Jul 12, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    2,498
    Saravana [MVP]
    Jul 14, 2004
  4. Shevek
    Replies:
    0
    Views:
    390
    Shevek
    Jun 23, 2004
  5. Parthiv Joshi
    Replies:
    1
    Views:
    692
    Samuel L Matzen
    Jul 6, 2004
Loading...

Share This Page