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. user control properties

user control properties

Scheduled Pinned Locked Moved ASP.NET
question
6 Posts 4 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.
  • G Offline
    G Offline
    greekius
    wrote on last edited by
    #1

    i created an user control, it has 3 properties, but when i add to web page , i cannot see its properties at property window why ?

    J M 2 Replies Last reply
    0
    • G greekius

      i created an user control, it has 3 properties, but when i add to web page , i cannot see its properties at property window why ?

      J Offline
      J Offline
      Jim Conigliaro
      wrote on last edited by
      #2

      Try adding the fillowing attributes before your property declarations: [Bindable(true)] [Category("Behavior")] [DefaultValue("")] [Localizable(true)] for an example, see http://www.jimconigliaro.com//FlashWebControl.ashx[^]

      Jim Conigliaro jconigliaro@ieee.org
      http://www.jimconigliaro.com

      1 Reply Last reply
      0
      • G greekius

        i created an user control, it has 3 properties, but when i add to web page , i cannot see its properties at property window why ?

        M Offline
        M Offline
        Mircea Grelus
        wrote on last edited by
        #3

        For a user control the properties are not shown in the Property window. Instead you must create a custom control. Just google for "create custom control" and you'll find a lot of tutorials.

        regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.

        G 1 Reply Last reply
        0
        • M Mircea Grelus

          For a user control the properties are not shown in the Property window. Instead you must create a custom control. Just google for "create custom control" and you'll find a lot of tutorials.

          regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.

          G Offline
          G Offline
          greekius
          wrote on last edited by
          #4

          a user controls are already custom controls.

          M E 2 Replies Last reply
          0
          • G greekius

            a user controls are already custom controls.

            M Offline
            M Offline
            Mircea Grelus
            wrote on last edited by
            #5

            You're wrong about that. They're two different things. I suggest reading this[^]

            regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.

            1 Reply Last reply
            0
            • G greekius

              a user controls are already custom controls.

              E Offline
              E Offline
              ednrgc
              wrote on last edited by
              #6

              That's not true at all.

              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