If you know the ID, you can use Page.FindControl() to find it out and cast
it using CType().
Alternatively, if you just need the TextBox's value, you can just use
Request.Form["The control ID"] to retrieve.
"loga123" <>
???????: egroups.com...
> Hi All,
>
> I am new to .net. I am creating a text box in a "button1" "click
> event" dynamically based on user input. Name of the text box and ID of
> the text box contro are set dynamically in the server side code.
> How can make this text box accessable in another "sub" or "button2"
> click event?
> Any help is greatly appreciated.'
>
> thanks
>
|