Property Group issues

Discussion in 'ASP .Net Building Controls' started by Earl Bonovich, Jul 30, 2004.

  1. I have created a composite custom control.
    It works fine, renders, all is good on that side.

    I am trying to cleaup the design mode side of it, and in turn clean up the
    core control.
    All surounding properties.

    I have been able to create classes for the properties.
    I have been able to get them to appear expandable on VS.2003

    Here are the two issues I am having:

    1) If I change a a property that is part of a custom grouping (That I
    created), the value does not trip design mode rendering to be redone.
    In my non-grouped properties, I am acomplishing this by putting in the code:
    ChildControlsCreated = False
    Me.EnsureChildControls()
    This does work for my properties that are pulling in the grouped class from
    above.

    However, if I go and change another non-grouped parameter (or a VS supplied
    grouping, such as font).
    It re-renders, with the updated values from my custom grouping.

    2) (Bigger Issue). Once I close the page in any fashion (close page, close
    solution, View in Browser, whatever).
    My custom group (class) properties are not saved.

    What am I doing wrong? I have been pulling my hair out for a couple days
    now, trying to figure this out.

    Thanks for any help.

    I can post the code if anyone would like to see it.

    Thanks
     
    Earl Bonovich, Jul 30, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Akaketwa
    Replies:
    1
    Views:
    4,901
    impaler
    Sep 22, 2006
  2. Replies:
    0
    Views:
    537
  3. christopher taylor
    Replies:
    0
    Views:
    411
    christopher taylor
    Sep 17, 2008
  4. cpld-fpga-asic
    Replies:
    13
    Views:
    1,195
    rickman
    Jul 6, 2009
  5. Dag Sunde
    Replies:
    0
    Views:
    122
    Dag Sunde
    Nov 18, 2005
Loading...

Share This Page