EmadKhan says:
The page from where u wish to go to the page where wizard is located , do this :
Response.Redirect("TargetPage.aspx?StepNo=2");
then at targetPage.aspx , page_load event do this :
var step = HttpUtility.UrlDecode(Request.QueryString["StepNo"]);
YourWizardName.ActiveStepIndex = int.Parse(step);
I cant open the Target Page DIRECTLY by using this code ..
Tell me how to resolve ..
Anyway I'm Doing this :-
var step = HttpUtility.UrlDecode(Request.QueryString["StepNo"]);
if (step != null)
{
Wizard1.ActiveStepIndex = int.Parse(step);
}
This is working correctly .. but is it a right method ?