HighTechTalks DotNet Forums  

Positioning Controls

ASP.net Building Controls microsoft.public.dotnet.framework.aspnet.buildingcontrols


Discuss Positioning Controls in the ASP.net Building Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Colin Basterfield
 
Posts: n/a

Default Positioning Controls - 12-22-2003 , 10:42 PM






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



Reply With Quote
  #2  
Old   
Patrice Scribe
 
Posts: n/a

Default Re: Positioning Controls - 12-23-2003 , 03:48 AM






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" <colinbasterfield (AT) hotmail (DOT) com> a écrit dans le message
de news:ecYvPbQyDHA.2620 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Quote:
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




Reply With Quote
  #3  
Old   
Colin Basterfield
 
Posts: n/a

Default Re: Positioning Controls - 12-23-2003 , 04:23 AM



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" <nobody (AT) nowhere (DOT) com> wrote

Quote:
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" <colinbasterfield (AT) hotmail (DOT) com> a écrit dans le message
de news:ecYvPbQyDHA.2620 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
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






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.