Positioning Controls

Discussion in 'ASP .Net Building Controls' started by Colin Basterfield, Dec 23, 2003.

  1. Hi,

    What is the best way to position a set of runtime created controls, in my
    instance I need to build a set of controls, a label, and two text boxes per
    row returned from a web service, but obviously need to position them in a
    tidy fashion, I read somewhere that I can simply override the Render method,
    but wasn't sure how to proceed, any thoughts?

    TIA
    Colin B
     
    Colin Basterfield, Dec 23, 2003
    #1
    1. Advertisements

  2. Looks like a "repeater" would do the job (basically it will repeat a
    "template" for each row). Regarding positioning (you meant on the form ?) my
    preference is to use the flow layout mode and to position fields within a
    table...

    Custom rendering would be rather IMO to create your own feature specific
    controls...

    Patrice

    --

    "Colin Basterfield" <> a écrit dans le message
    de news:...
    > Hi,
    >
    > What is the best way to position a set of runtime created controls, in my
    > instance I need to build a set of controls, a label, and two text boxes

    per
    > row returned from a web service, but obviously need to position them in a
    > tidy fashion, I read somewhere that I can simply override the Render

    method,
    > but wasn't sure how to proceed, any thoughts?
    >
    > TIA
    > Colin B
    >
    >
     
    Patrice Scribe, Dec 23, 2003
    #2
    1. Advertisements

  3. Hi,

    cheers for that I'll have a play around in the morning, we live in NZ and
    it's now 22:20, and my eyes need to close for a few hours

    Compliments of the season.
    Colin

    "Patrice Scribe" <> wrote in message
    news:...
    > Looks like a "repeater" would do the job (basically it will repeat a
    > "template" for each row). Regarding positioning (you meant on the form ?)

    my
    > preference is to use the flow layout mode and to position fields within a
    > table...
    >
    > Custom rendering would be rather IMO to create your own feature specific
    > controls...
    >
    > Patrice
    >
    > --
    >
    > "Colin Basterfield" <> a écrit dans le message
    > de news:...
    > > Hi,
    > >
    > > What is the best way to position a set of runtime created controls, in

    my
    > > instance I need to build a set of controls, a label, and two text boxes

    > per
    > > row returned from a web service, but obviously need to position them in

    a
    > > tidy fashion, I read somewhere that I can simply override the Render

    > method,
    > > but wasn't sure how to proceed, any thoughts?
    > >
    > > TIA
    > > Colin B
    > >
    > >

    >
     
    Colin Basterfield, Dec 23, 2003
    #3
    1. Advertisements

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. Harry
    Replies:
    1
    Views:
    1,795
    Natty Gur
    Jun 25, 2003
  2. John
    Replies:
    0
    Views:
    399
  3. Guest
    Replies:
    1
    Views:
    462
    Tommy
    Nov 27, 2003
  4. Amilcar
    Replies:
    1
    Views:
    1,384
    Munsifali Rashid
    Dec 22, 2003
  5. Tim Marsden

    Sizing and positioning of dynamic controls

    Tim Marsden, Feb 25, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    3,167
    Steven Cheng[MSFT]
    Mar 2, 2004
  6. Mustufa Baig
    Replies:
    1
    Views:
    545
    Jeffrey Palermo [MCP]
    Nov 18, 2004
  7. Craig G

    positioning user controls on pages

    Craig G, Dec 2, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    383
    Kevin Spencer
    Dec 2, 2004
  8. =?Utf-8?B?UGF1bA==?=

    dynamic positioning of web controls

    =?Utf-8?B?UGF1bA==?=, May 27, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    666
    =?Utf-8?B?UGF1bA==?=
    May 31, 2005
Loading...