Composit control and property value after postback

Discussion in 'ASP .Net' started by BB, Nov 16, 2005.

  1. BB

    BB Guest

    I had a composit control with a public property, some textbox and a
    button.
    Public property value is set in the page that contain the control.

    After postback in sub CreateChildControl the public property is empty.

    I don't know how to solve problem.
    Can anyone help me?

    Thank's
    Walter
    BB, Nov 16, 2005
    #1
    1. Advertising

  2. Hello Walter,
    I think that more details can help people to solve your problem...

    i want just to add that the value of the public property change in the
    method of the event
    (button_click for example) u cant acces to it in Page_Load or methods
    like that....
    Mohamed Zied Nouira, Nov 16, 2005
    #2
    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. Andreas Klemt
    Replies:
    0
    Views:
    815
    Andreas Klemt
    Feb 1, 2004
  2. SAL
    Replies:
    11
    Views:
    847
  3. Nathan Sokalski
    Replies:
    25
    Views:
    1,402
    Nathan Sokalski
    Mar 4, 2010
  4. MartinL

    Rendering non-composit Control

    MartinL, Nov 12, 2003, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    107
    Guest
    Nov 13, 2003
  5. dave

    Control missing property after postback with repeater

    dave, Aug 1, 2006, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    142
Loading...

Share This Page