Displaying control

Discussion in 'ASP .Net Web Controls' started by Tony, Feb 14, 2005.

  1. Tony

    Tony Guest

    When creating a control dynamically (code behind) how do you show it on the
    page and position it on the page.

    Thanks
    Tony
     
    Tony, Feb 14, 2005
    #1
    1. Advertisements

  2. you need to do it with the style tag:
    style="Z-INDEX: 101; LEFT: 96px; POSITION: absolute; TOP: 96px"

    or you can do it the easy way. put a place holder in the place you want the
    control to be and add the dynamic control in code.




    "Tony" <> wrote in message
    news:%...
    > When creating a control dynamically (code behind) how do you show it on
    > the page and position it on the page.
    >
    > Thanks
    > Tony
    >
     
    Sean McKaharay, Feb 14, 2005
    #2
    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. Duncan
    Replies:
    3
    Views:
    591
  2. Earl Teigrob
    Replies:
    0
    Views:
    473
    Earl Teigrob
    Oct 30, 2003
  3. Nikhil Patel
    Replies:
    0
    Views:
    461
    Nikhil Patel
    Feb 25, 2004
  4. Lucas Tam
    Replies:
    2
    Views:
    1,316
    Lucas Tam
    Feb 26, 2004
  5. =?Utf-8?B?SmltIE1hY2U=?=

    Displaying images from a database in an image control

    =?Utf-8?B?SmltIE1hY2U=?=, May 5, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    490
    Ashish M Bhonkiya
    May 5, 2004
  6. =?Utf-8?B?UmFnaGF2ZW5kcmEgVg==?=

    Problem in displaying Password in the DataGrid Control

    =?Utf-8?B?UmFnaGF2ZW5kcmEgVg==?=, Sep 26, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,306
    =?Utf-8?B?UmFnaGF2ZW5kcmEgVg==?=
    Sep 26, 2004
  7. =?Utf-8?B?Smlt?=
    Replies:
    5
    Views:
    9,009
    =?Utf-8?B?Smlt?=
    Mar 2, 2005
  8. Al Wilkerson
    Replies:
    3
    Views:
    5,693
    =?Utf-8?B?U2FyYXZhbmFuIEsgVg==?=
    Mar 15, 2005
Loading...