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. Web Development
  3. ASP.NET
  4. Setting Properties at design time

Setting Properties at design time

Scheduled Pinned Locked Moved ASP.NET
helphtmldesignsysadmintutorial
1 Posts 1 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.
  • F Offline
    F Offline
    fluxtah
    wrote on last edited by
    #1

    I was wondering how to set properties at design-time, I am not sure if I am asking for the correct thing so I will demonstrate what I mean. In HTML View of an aspx page say I have a control <asp:Label runat="server" Text='<%#Bind("FooBar")%>" /> What I want to do is have my custom designer or custom editor to actually set the <%#Bind("FooBar")%> part for the Text property. so when I switch to HTML view I will see the Text property will have this value after my designer/editor has been used. Is this possible, and if so what do I need to know, what steps do I need to take in order to do this for any property? regards Fluxtah -- modified at 6:12 Wednesday 1st February, 2006 Well I manged to get something going with the ContainerControlDesigner but now I am stuck with getting my custom Editor and Designer to interact, maybe I need to make my Editor output whatever to the property its editing then make the Designer pick up that property and process it into some kind of structure to write to the designer... any help on this, will still be much appreciated!

    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