Accessing web controls in a user control...

Discussion in 'ASP .Net' started by karthick, Dec 13, 2006.

  1. karthick

    karthick Guest

    Hi,

    I am adding few textboxes to a user control programmically and when
    posting back the page, I am trying to access the values of the
    textboxes but I can't get even the Textbox controls.

    How do I achieve it ?. Thanks.

    Karthick
     
    karthick, Dec 13, 2006
    #1
    1. Advertising

  2. karthick

    Jacob Guest

    Have you tried userControl.FindControl(Textbox.ID); ?


    karthick wrote:
    > Hi,
    >
    > I am adding few textboxes to a user control programmically and when
    > posting back the page, I am trying to access the values of the
    > textboxes but I can't get even the Textbox controls.
    >
    > How do I achieve it ?. Thanks.
    >
    > Karthick
     
    Jacob, Dec 13, 2006
    #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. Reny J Joseph Thuthikattu
    Replies:
    1
    Views:
    567
    =?Utf-8?B?UHJha2FzaC5ORVQ=?=
    Dec 30, 2004
  2. arvee
    Replies:
    6
    Views:
    459
    MasterGaurav
    Jun 14, 2005
  3. =?Utf-8?B?REo=?=
    Replies:
    2
    Views:
    476
    =?Utf-8?B?REo=?=
    Dec 1, 2005
  4. Faizan Ahmed
    Replies:
    1
    Views:
    290
    John Saunders
    Jan 4, 2005
  5. Faizan Ahmed
    Replies:
    1
    Views:
    369
    John Saunders
    Jan 4, 2005
Loading...

Share This Page