|
 |
asp_components thread: Dynamic creation of ActiveX controls
Message #1 by Sumi <sumi.b@t...> on Fri, 29 Jun 2001 15:04:32 +0530
|
|
Hi,
I have dynamically generated ActiveX date controls which retrieves value from a
particular date field in a grid. the number of rows in the grid is same as the
number of records in the database.User can change the date. I want to save the
changed date back to the database.
For this ActiveX date controls has to be generated dynamicaly. We are using hidden
field sfor passing the value from the control to the server side script. But the
generation of the ActiveX control in the client side and the assignment of the
value to the dynamic hidden field is not working properly..
I request any one of u to help me on this topic...
Thanks
Sumi
Message #2 by <kb?sb@y...> on Fri, 29 Jun 2001 15:22:28 +0530
|
|
Hello can u send the code.May be I can
Karan Singh
FCSINDIA
Mohali
----- Original Message -----
From: "Sumi" <sumi.b@t...>
To: "ASP components" <asp_components@p...>
Sent: Friday, June 29, 2001 3:04 PM
Subject: [asp_components] Dynamic creation of ActiveX controls
> Hi,
> I have dynamically generated ActiveX date controls which retrieves value
from a
> particular date field in a grid. the number of rows in the grid is same
as the
> number of records in the database.User can change the date. I want to save
the
> changed date back to the database.
>
> For this ActiveX date controls has to be generated dynamicaly. We are
using hidden
> field sfor passing the value from the control to the server side script.
But the
> generation of the ActiveX control in the client side and the assignment of
the
> value to the dynamic hidden field is not working properly..
> I request any one of u to help me on this topic...
>
> Thanks
> Sumi
Message #3 by Prashanthi <murthy.prashanthi@t...> on Fri, 29 Jun 2001 17:00:33 +0530 (IST)
|
|
The solution is use generation of client side code using server side
script
ex: <%Response.write "<Script Language =3D"&""""&"vbscript"&""""&">"%>
<% Response.write "test.hide"&i%>.value =3D <%response.write
"test.dt"&i%>.value
In this example test is form name and hide is a hidden control and dt is
the date control. i is the server side variable to increment and generate
dynamically the names of the controls.
For any further clarification do mail
bye
-Prashanthi Adukuri
Lead Systems Engineer
Tata Infotech Ltd.
Bangalore.
On Fri, 29 Jun 2001, Karan Singh wrote:
> Hello can u send the code.May be I can
> Karan Singh
> FCSINDIA
> Mohali
>
> ----- Original Message -----
> From: "Sumi" <sumi.b@t...>
> To: "ASP components" <asp_components@p...>
> Sent: Friday, June 29, 2001 3:04 PM
> Subject: [asp_components] Dynamic creation of ActiveX controls
>
>
> > Hi,
> > I have dynamically generated ActiveX date controls which retrieves val
ue
> from a
> > particular date field in a grid. the number of rows in the grid is sam
e
> as the
> > number of records in the database.User can change the date. I want to s
ave
> the
> > changed date back to the database.
> >
> > For this ActiveX date controls has to be generated dynamicaly. We are
> using hidden
> > field sfor passing the value from the control to the server side script
=2E
> But the
> > generation of the ActiveX control in the client side and the assignment
of
> the
> > value to the dynamic hidden field is not working properly..
> > I request any one of u to help me on this topic...
> >
> > Thanks
> > Sumi
>
>
Message #4 by "Krishna Kishore\(Yerra\)" <kishore@y...> on Fri, 29 Jun 2001 17:40:39 +0530
|
|
Hai Karan Singh
I too have the same problem like you.
I am trying it. One thing that you get the solution please send me the
code.
If I get the solution first , then i will post the code.
regards,
Kishore
|
|
 |