placement of dynamic control depends on VALUE of dynamic control

Discussion in 'ASP .Net' started by Larry Bud, Jan 10, 2007.

  1. Larry Bud

    Larry Bud Guest

    A dynamic control (A dropdown) is created in PageLoad, but the value of
    the dynamic control dictates where it's added (such as which cell in a
    table) on a postback.

    Seems like a catch-22. I need to retrieve the value of it, before it's
    created... how do I do this?
     
    Larry Bud, Jan 10, 2007
    #1
    1. Advertising

  2. Larry Bud

    bruce barker Guest

    in oninit you create it in the cell it was rendered in. then in onload
    or click event you move it to the new location (remove and add).

    -- bruce (sqlwork.com)

    Larry Bud wrote:
    > A dynamic control (A dropdown) is created in PageLoad, but the value of
    > the dynamic control dictates where it's added (such as which cell in a
    > table) on a postback.
    >
    > Seems like a catch-22. I need to retrieve the value of it, before it's
    > created... how do I do this?
    >
     
    bruce barker, Jan 10, 2007
    #2
    1. Advertising

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. =?Utf-8?B?a2x5bm4=?=

    Dynamic Table Control placement

    =?Utf-8?B?a2x5bm4=?=, Oct 7, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,048
    Steve C. Orr [MVP, MCSD]
    Oct 7, 2004
  2. moo moo
    Replies:
    0
    Views:
    476
    moo moo
    Jul 21, 2003
  3. welsungo
    Replies:
    0
    Views:
    9,926
    welsungo
    Mar 5, 2005
  4. narke
    Replies:
    11
    Views:
    1,584
    narke
    Apr 22, 2005
  5. rbg
    Replies:
    1
    Views:
    416
    Jeeran
    Jul 3, 2006
Loading...

Share This Page