Home All Groups Group Topic Archive Search About
Author
2 Feb 2005 4:56 PM
Philippe Pons
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

Author
2 Feb 2005 6:12 PM
Saravana
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

Show quoteHide quote
"Philippe Pons" <Philippe.Pons19_nospam@wanadoo.fr> wrote in message
news:%23ctIngUCFHA.2600@TK2MSFTNGP09.phx.gbl...
> 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
>
>
>
>
Author
2 Feb 2005 6:18 PM
Philippe Pons
Thank you very much for your answer.
Philippe

Show quoteHide quote
"Saravana" <sarav***@sct.co.in> a écrit dans le message de
news:eu8R8KVCFHA.3924@TK2MSFTNGP15.phx.gbl...
> 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" <Philippe.Pons19_nospam@wanadoo.fr> wrote in message
> news:%23ctIngUCFHA.2600@TK2MSFTNGP09.phx.gbl...
> > 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
> >
> >
> >
> >
>
>