Setting Properties at design time
-
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!