Custom Control

Discussion in 'ASP .Net Web Controls' started by Joel Barsotti, Jan 9, 2004.

  1. Can a custom control do everything a UserControl can do?

    I want something that can do validation and handle postback.
     
    Joel Barsotti, Jan 9, 2004
    #1
    1. Advertising

  2. Hi Joel,

    Yes. If you're referring to the validation controls, you can have them as
    child of your composite custom control. And for handling postback you can do
    that easily in both, custom controls and user controls.


    --
    Victor Garcia Aprea
    Microsoft MVP | ASP.NET
    Looking for insights on ASP.NET? Read my blog:
    http://obies.com/vga/blog.aspx

    To contact me remove 'NOSPAM'. Please post all questions to the newsgroup

    "Joel Barsotti" <> wrote in message
    news:...
    > Can a custom control do everything a UserControl can do?
    >
    > I want something that can do validation and handle postback.
    >
    >
     
    Victor Garcia Aprea [MVP], Jan 10, 2004
    #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. Replies:
    0
    Views:
    749
  2. Jonah Olsson
    Replies:
    1
    Views:
    616
    Scott Allen
    Apr 5, 2005
  3. J R M
    Replies:
    2
    Views:
    456
    Charlie@CBFC
    Jun 1, 2006
  4. Matt Sokol
    Replies:
    2
    Views:
    436
    Theo Tillotson
    Aug 7, 2003
  5. Jonah Olsson
    Replies:
    2
    Views:
    220
    Jonah Olsson
    Apr 5, 2005
Loading...

Share This Page