I have a nested content page within a master page, upon load the the page retrieves from a SQL a list of controls to create (Field Type, FieldName) i.e. String, Username.
The function loops around the list creating the controls on the webform in a Placeholder, this part works perfectly. The problem that I am experiencing is the request to obtain the value entered by the user in the dynamically created control, I need to perform this call following postback/callback.
If I take the Content page and make it a standard aspx page with no master page the application works fine. Unfortunatley taking the page out of the master page is not an option (unfortunatley a restriction by my client)
I would appreciate any help in this matter.
Thanks in advance
Assuming one of the dynamically added controls is a textbox you could do something like this…