Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: control problem URGENT HELP NEEDED


Message #1 by judyn@s... on Sun, 23 Mar 2003 20:42:26 -0800
I have a user control dynamically loaded when a datalist_itemcommand is fired.

// in the itemcommand event
Control c = Page.LoadControl( "update.ascx" );
panel1.Controls.Add( c );

the user can edit an item in the now displayed control and click an Update button in the control to update the data

when the button is clicked, the page is posted back, but now the control is no longer displayed

is there a way to load the control again with the newly updated data?

Thanks All
Judy


  Return to Index