Results 1 to 2 of 2

Thread: Dynamically add web control

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    2

    Dynamically add web control

    some Check boxes are created dynamically at run time on web page
    and rest are created on button click
    check box are cretaed successfully but
    when i click to any button ,the check boxs which are created by button click dosen't appear
    please suggest me and if possibel than give code also
    thankx in advance

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    The dynamically created checkbox's have to be re-created and loaded on each page request, so you should keep a flag in viewstate and check this guy to see if you need to re-created them. Or, you could check out the checkbox list control and see if you can use him.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width