Hi, I have a Wizard with several steps created dynamically. In these steps I have placed a gridview with child gridview inside the parent gridview. The Wizard is added to the page using a placeholder and the gridviews are in a usercontrol file, added to the wizard steps:
Dim tempControl As Control = LoadControl("~/HRGVUserControl.ascx")
newStep.Controls.Add(tempControl)
What I am having a problem with is finding the gridview controls on the Wizards NextButton click event.
The below code gives me an error: Object reference not set to an instance of an object on this line For Each Row As GridViewRowCollection In GV1.Rows
Dim< ...
Go to the complete details ...