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. Advertisements

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. Reny J Joseph Thuthikattu
    Replies:
    1
    Views:
    835
    =?Utf-8?B?UHJha2FzaC5ORVQ=?=
    Dec 30, 2004
  2. Jonah Olsson
    Replies:
    1
    Views:
    769
    Scott Allen
    Apr 5, 2005
  3. J R M
    Replies:
    2
    Views:
    630
    Charlie@CBFC
    Jun 1, 2006
  4. AlecL

    Ctype error in Load control

    AlecL, Feb 1, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    533
  5. Durgesh Sharma
    Replies:
    5
    Views:
    1,058
    E. Robert Tisdale
    Dec 21, 2004
  6. Matt Sokol
    Replies:
    2
    Views:
    627
    Theo Tillotson
    Aug 7, 2003
  7. Jonah Olsson
    Replies:
    2
    Views:
    375
    Jonah Olsson
    Apr 5, 2005
  8. Leyla

    Web user control - custom web control - java script.

    Leyla, May 1, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    204
    Leyla
    May 1, 2006
Loading...