Dynamically Adding controls to UserControl
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I'm having difficulty adding dynamically loading one control GridViewControl.ascx to another (ControlOnPage.ascx). Adding a placeHolder to Default.aspx and dynamically loading GridViewControl.ascx works fine. Click Edit, modify a field, click update - everything's in order. Problem: Add ControlOnPage.ascx to Default.aspx. Add the placeHolder to ControlOnPage.ascx. Dynamically add GridViewControl.ascx to the placeHolder. This time the Edit link behaves like an empty PostBack button. RowEditing does not fire. Any ideas? Thanks, B