I have an asp:Wizard on a web page. (I'm not using any client-side Ajax stuff.)
If I place the grid on a form, there is a variable created in code behind for the grid. I'm able to set the reference's DataSource property because it is initialized.
If I place the same grid into a asp:Step inside the asp:Wizard, the reference is always null. I could get a reference to it using FindControl() in the Activate event of the wizard, but the problem is that this event fires after NeedDataSource event. NeedDataSource event cannot set any data because the grid is null at this point.
How does one go about using the grid inside the wizard? Is anyone doing this?
If I place the grid on a form, there is a variable created in code behind for the grid. I'm able to set the reference's DataSource property because it is initialized.
If I place the same grid into a asp:Step inside the asp:Wizard, the reference is always null. I could get a reference to it using FindControl() in the Activate event of the wizard, but the problem is that this event fires after NeedDataSource event. NeedDataSource event cannot set any data because the grid is null at this point.
How does one go about using the grid inside the wizard? Is anyone doing this?