CompositeControl class failing to register postback

Discussion in 'ASP .Net' started by Mantorok, Jun 21, 2006.

  1. Mantorok

    Mantorok Guest

    Hi all

    I have an abstract class called SimpleControl and then I have descendant
    classes, for example StringControl.

    In my SimpleControl I am calling Page.RegisterRequiresPostBack(this) in
    OnInit method.

    However it is not posting back the value.

    Any ideas?

    Thanks
    Kev
    Mantorok, Jun 21, 2006
    #1
    1. Advertising

  2. Post some code?

    --
    -Demetri


    "Mantorok" wrote:

    > Hi all
    >
    > I have an abstract class called SimpleControl and then I have descendant
    > classes, for example StringControl.
    >
    > In my SimpleControl I am calling Page.RegisterRequiresPostBack(this) in
    > OnInit method.
    >
    > However it is not posting back the value.
    >
    > Any ideas?
    >
    > Thanks
    > Kev
    >
    >
    >
    =?Utf-8?B?RGVtZXRyaQ==?=, Jun 21, 2006
    #2
    1. Advertising

  3. Mantorok

    Mantorok Guest

    Sorry I should've mentioned, I've sorted it now.

    It was because one of my controls in my composite control was readonly -
    doh!

    Kev

    "Demetri" <> wrote in message
    news:...
    > Post some code?
    >
    > --
    > -Demetri
    >
    >
    > "Mantorok" wrote:
    >
    >> Hi all
    >>
    >> I have an abstract class called SimpleControl and then I have descendant
    >> classes, for example StringControl.
    >>
    >> In my SimpleControl I am calling Page.RegisterRequiresPostBack(this) in
    >> OnInit method.
    >>
    >> However it is not posting back the value.
    >>
    >> Any ideas?
    >>
    >> Thanks
    >> Kev
    >>
    >>
    >>
    Mantorok, Jun 22, 2006
    #3
    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. CJ Taylor

    Postback failing in 1 control

    CJ Taylor, Aug 26, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    404
    CJ Taylor
    Aug 27, 2003
  2. Electric Co.
    Replies:
    2
    Views:
    543
    Teemu Keiski
    Aug 28, 2006
  3. Steve Richter

    problems using CompositeControl base class

    Steve Richter, Jun 2, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    326
    Steve Richter
    Jun 2, 2007
  4. jeljeljel
    Replies:
    1
    Views:
    1,059
    Teemu Keiski
    Sep 20, 2007
  5. jeljeljel
    Replies:
    0
    Views:
    153
    jeljeljel
    Sep 20, 2007
Loading...

Share This Page