Could someone please help. I am trying to pass a variable to my usercontrol using a class file.
Maybe this can be done a better way but I'm new to usercontrols
What I have is a aspx page with a placeholder declared. and I'm adding my dynamically generated wizard and steps to this. In each step I load my usercontrol.
The error I get is Object reference not set to an instance of an object. Cause by line stepId1 = MyUserControlVar.StepId in the myUserControl2.ascx.vb
Where did I go wrong?
Thanks
ASPX file
<body>
<form id="form1" Go to the complete details ...