Re: dynamic create controls

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: adnan boz (ab_hardware_at_hotmail.com)
Date: 06/14/04


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
> > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Has Something Happened to soc.retirement
    ... try a Google search for possible remedies. ... >I know other people have had this problem, but I don't recall the ... It could also be a problem with your ISP. ... >Good luck, ...
    (soc.senior.issues)
  • Lake Arlington Bass
    ... I saw the 7/22 post from arccos and wanted to add a couple of beginner ... I too am a a beginner never having fished before but having gone out 4 times ... now (twice with luck in Wisconsin, no luck in my "home" lake). ...
    (rec.outdoors.fishing)
  • Re: GSXR750 mini review
    ... I suspect it'll be a nail. ... But best of luck. ... I still recall my several ...
    (uk.rec.motorcycles)
  • Re: OT good thought please, OMG LEAD
    ... I don't think I recall anyone ever having lead troubles. ... Hope there is some help for the child. ... Hugs and good luck to you all. ...
    (rec.crafts.textiles.quilting)
  • Re: Cube speakers
    ... suspect I may be out of luck. ... Re the disk drive - yes I recall a similar trip to Maplin to get torx ...
    (uk.comp.sys.mac)