Ctype and Web Custom Control question

Discussion in 'ASP .Net' started by Stan Sainte-Rose, Sep 7, 2004.

  1. Hi,

    I use a Web Custom control and I have a little problem.
    I need to get the value of some TextBoxes that the WCC has generated.

    With a User control I used this syntax
    CType(Me.FindControl("TextBox1"), TextBox).Text

    But it seems it doesn't work with my web custom control.
    Thanks for your help


    Stan
     
    Stan Sainte-Rose, Sep 7, 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. Yanping Zhang
    Replies:
    0
    Views:
    368
    Yanping Zhang
    Mar 29, 2006
  2. Chris Mellon
    Replies:
    0
    Views:
    429
    Chris Mellon
    Mar 29, 2006
  3. Yanping Zhang
    Replies:
    1
    Views:
    384
    Dave Mandelin
    Mar 30, 2006
  4. AlecL

    Ctype error in Load control

    AlecL, Feb 1, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    433
  5. Durgesh Sharma
    Replies:
    5
    Views:
    918
    E. Robert Tisdale
    Dec 21, 2004
Loading...

Share This Page