Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. web control library

web control library

Scheduled Pinned Locked Moved ASP.NET
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    abdelhameed81
    wrote on last edited by
    #1

    I have created a web control library but i have the following two major problems: 1- when the page is posted back the control disappears from the page as it is added in the run time. I need it to still as it is and the values in (text boxes or radios). 2- I need to know a mechanism to take the user data entered in the control. thanks in advance abdelhameed81

    C 1 Reply Last reply
    0
    • A abdelhameed81

      I have created a web control library but i have the following two major problems: 1- when the page is posted back the control disappears from the page as it is added in the run time. I need it to still as it is and the values in (text boxes or radios). 2- I need to know a mechanism to take the user data entered in the control. thanks in advance abdelhameed81

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      This is such a common question, I should check if there's an article on it ( I'm sure there is ) and write one if need be You need to add the control every time, on postback. And you need to add it before page load in order for viewstate to be restored so you can get values from it.

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      A 1 Reply Last reply
      0
      • C Christian Graus

        This is such a common question, I should check if there's an article on it ( I'm sure there is ) and write one if need be You need to add the control every time, on postback. And you need to add it before page load in order for viewstate to be restored so you can get values from it.

        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        A Offline
        A Offline
        abdelhameed81
        wrote on last edited by
        #3

        Ok, i am waiting for this article as i cannot find it thanks in advance

        C 1 Reply Last reply
        0
        • A abdelhameed81

          Ok, i am waiting for this article as i cannot find it thanks in advance

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Please read the article linked to in my sig. Then, read this[^].

          Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups