Getting Dynamically Create Control Values

Getting Dynamically Create Control Values

Post by Crai » Thu, 23 Jul 2009 02:53:43



From where are the controls missing - in a new "processing page" or in the
code behind? Also, where are you placing the dynamically created controls?
If inside a table, it could be that you need to go a 1 level deeper to
"find" the controls. If you could please strip down your code and post it, I
would be happy to take a look.

I know this might seem obvious, but are you looking for the dynamic controls
in the page load and if so, are you putting your logic behind a:
if (! this.IsPostBack)
{
...
}

Craig
 
 
 

1. Finding dynamically created controls on dynamically created TTabSheets

2. Accessing values for Dynamically created controls

I am attempting to create an ASP.Net web form to allow remote sites to
request an open relay for SMTP. I have a drop down list for the
number of IP addresses they want to request for. When they select the
number (1 500) I dynamically create textboxes to enter the IP
addresses. When the user has completed entering all of the
information and clicks the submit button, I hide the data entry panel
and display the review panel. This panel will allow them to review
their data and either select to modify the data or submit the data.
When the user selects to submit the data an E-Mail is sent to the
requestor and our team. I am not able to find a way access the .text
values of the dynamically created textboxes.



Any assistance would be greatly appreciated.

3. posted value missing in dynamically created control

4. How to read value of a dynamically created radiobuttonlist control?

5. returning values from dynamically created user control

6. Retrieving Values from Dynamically Created Controls

7. Get values of dynamically created radio button control

8. Dynamically create web controls from a string value

9. How to get value on postback Dynamically Created controls by javas

10. How to get value on postback Dynamically Created controls by javascript

11. Get values of dynamically created radio button control

12. retrieving values from controls dynamically created in a <asp:table>

13. Referencing value of a dynamically created control

14. Getting the value of a dynamically modified Jet registry values

15. controls getting values from another control---within a control