Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Accessing web controls in a user control...

Reply
Thread Tools

Accessing web controls in a user control...

 
 
karthick
Guest
Posts: n/a
 
      12-13-2006
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

 
Reply With Quote
 
 
 
 
Jacob
Guest
Posts: n/a
 
      12-13-2006
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing controls across user controls Vince ASP .Net 3 03-27-2008 11:46 AM
using javascript in User controls to access server controls of the user control Faizan Ahmed ASP .Net Building Controls 1 01-04-2005 04:09 PM
using javascript in User controls to access server controls of the user control Faizan Ahmed ASP .Net Web Controls 1 01-04-2005 04:09 PM
accessing the web user control's control from a web page and set a value from another web page Reny J Joseph Thuthikattu ASP .Net 1 12-30-2004 12:21 PM
IntelliSense on Web User Controls and Web Custom Controls Axel Dahmen ASP .Net 1 11-12-2003 06:12 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57