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
  1. Home
  2. General Programming
  3. C#
  4. Select a control in another control's property

Select a control in another control's property

Scheduled Pinned Locked Moved C#
tutorialcsharpasp-netquestion
3 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.
  • P Offline
    P Offline
    Paul Riley
    wrote on last edited by
    #1

    Has anyone seen any articles on how to do this: For example, the ASP.NET Validator Controls allow you to select a ControlToValidate in the property table. It's stored as a string, but if you click the drop down button, you get a list of all your controls that support the ValidationPropertyAttribute. How does it do this? Does it use the attribute somehow? What I'd like to do is show a list of all MenuItems, so if the concept requires the attribute then I could be onto a non-starter. But it would be a nifty feature for what I'm trying to do. Paul We all will feed the worms and trees
    So don't be shy
    - Queens of the Stone Age, Mosquito Song

    L 1 Reply Last reply
    0
    • P Paul Riley

      Has anyone seen any articles on how to do this: For example, the ASP.NET Validator Controls allow you to select a ControlToValidate in the property table. It's stored as a string, but if you click the drop down button, you get a list of all your controls that support the ValidationPropertyAttribute. How does it do this? Does it use the attribute somehow? What I'd like to do is show a list of all MenuItems, so if the concept requires the attribute then I could be onto a non-starter. But it would be a nifty feature for what I'm trying to do. Paul We all will feed the worms and trees
      So don't be shy
      - Queens of the Stone Age, Mosquito Song

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      I think those are refered to as TypeDescriptors in design mode. Frankly, I wish I could figure out how to debug designer code could within VS.NET. HTH :) I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02

      P 1 Reply Last reply
      0
      • L leppie

        I think those are refered to as TypeDescriptors in design mode. Frankly, I wish I could figure out how to debug designer code could within VS.NET. HTH :) I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02

        P Offline
        P Offline
        Paul Riley
        wrote on last edited by
        #3

        leppie wrote: I think those are refered to as TypeDescriptors in design mode leppie, Never found chance to thank you for this reply. Did it help me? Well, it gave me something new to learn about... and then I discovered that you could just define the property as type MenuItem and it gives you a DropDownList of MenuItems in the form automatically, so learning it was completely useless but cool anyway :) Paul We all will feed the worms and trees
        So don't be shy
        - Queens of the Stone Age, Mosquito Song

        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