Re: dynamic create controls
From: adnan boz (ab_hardware_at_hotmail.com)
Date: 06/14/04
- Next message: Hans Kesting: "Re: shortcut url's and asp.net"
- Previous message: Joey: "Datagrid multiple links"
- In reply to: Grey: "Re: dynamic create controls"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Jun 2004 12:20:28 +0300
Hi,
Sorry, but i don't have currently any samples.
But, you can search on MSDN Knowledge Base about "Dynamically Create
Controls in ASP.NET ..." (PSS ID Number: 317794 for c# or 317515 for VB
(6/25/2003)).
Or,
If your buttons will shown in a list format,
you could use the DataList or DataGrid control and add a TemplateColumn with
a button in it.
And, adding a new DataRow would be enough to create a new button.
Same as, adding dynamic buttons, but limited on positions.
Good Luck
Adnan
"Grey" <erickwyum@i-cable.com> wrote in message
news:ebvC51eUEHA.712@TK2MSFTNGP11.phx.gbl...
> Can you provide some sample code for me as I am a beginner of ASP.NET
> "adnan boz" <ab_hardware@hotmail.com> ¦b¶l¥ó
> news:e7uLYweUEHA.544@TK2MSFTNGP11.phx.gbl ¤¤¼¶¼g...
> > Hi,
> > You have to recall your create method,
> > for every previously created textbox on every postback.
> > And manage states.
> >
> > Good Luck
> > Adnan
> >
> >
> >
> > "Grey" <erickwyum@i-cable.com> wrote in message
> > news:ex3fXkeUEHA.2716@tk2msftngp13.phx.gbl...
> > > I know i can use placeholder control for dynamic create controls. but
my
> > > requirement is i need to create multiple controls. when the user click
> the
> > > button, one textbox will be created. If user click three times, there
> will
> > > be three textbox created. However, just only one textbox was created
> > > whatever times I click.
> > > PLs help.
> > >
> > > Million thanks
> > >
> > >
> > >
> >
> >
>
>
- Next message: Hans Kesting: "Re: shortcut url's and asp.net"
- Previous message: Joey: "Datagrid multiple links"
- In reply to: Grey: "Re: dynamic create controls"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|