![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a custom UserControl where the content is dynamically generated when the containing Page calls a certain method (i.e. DisplayData). The content of the UserControl is a dynamically generated Table with several Rows and several Cells. Some of the Cells contain a TextBox which the end-user can type text into. The Page which contains this UserControl has a "Save" button which generates a post-back. The problem I'm having... When the end-user presses the "Save" button a post-back is generated, however, the UserControl's table is empty. I can save the table in the Session after generating it, but that doesn't give me access the the text from TextBoxes. Anyone know the proper way to do this? TIA. |
#3
| |||
| |||
|
|
ejstembler, Try putting the save button in the user control. Good Luck DWS "ejstembler" wrote: I have a custom UserControl where the content is dynamically generated when the containing Page calls a certain method (i.e. DisplayData). The content of the UserControl is a dynamically generated Table with several Rows and several Cells. Some of the Cells contain a TextBox which the end-user can type text into. The Page which contains this UserControl has a "Save" button which generates a post-back. The problem I'm having... When the end-user presses the "Save" button a post-back is generated, however, the UserControl's table is empty. I can save the table in the Session after generating it, but that doesn't give me access the the text from TextBoxes. Anyone know the proper way to do this? TIA. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |