Author: krasnov
Date: 2006-07-25 10:14:02 -0400 (Tue, 25 Jul 2006)
New Revision: 62959

Modified:
   trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog
   trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/GridViewTest.cs
   trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ViewTest.cs
   
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardStepBaseTest.cs
   trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardTest.cs
Log:
* GridViewTest.cs, ViewTest.cs, WizardStepBaseTest.cs, WizardTest.cs: fixed 
tests


Modified: trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog 
2006-07-25 13:41:15 UTC (rev 62958)
+++ trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog 
2006-07-25 14:14:02 UTC (rev 62959)
@@ -1,5 +1,12 @@
-2006-07-25 Merav Sudri <[EMAIL PROTECTED]>
+2006-07-25 Vladimir Krasnov <[EMAIL PROTECTED]>
 
+       * GridViewTest.cs:
+       * ViewTest.cs:
+       * WizardStepBaseTest.cs:
+       * WizardTest.cs: fixed tests
+
+2006-07-25 Merav Sudri <[EMAIL PROTECTED]>
+
        * FormViewTest.cs: Add three postback tests.
 
 2006-07-24 Andrew Skiba <[EMAIL PROTECTED]>

Modified: 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/GridViewTest.cs
===================================================================
--- trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/GridViewTest.cs   
2006-07-25 13:41:15 UTC (rev 62958)
+++ trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/GridViewTest.cs   
2006-07-25 14:14:02 UTC (rev 62959)
@@ -612,8 +612,9 @@
                {
                        Page page = new Page ();
                        PokerGridView g = new PokerGridView ();
-                       page.Controls.Add (g);
-                       if (g.doGetCallbackResult () == string.Empty) {
+                       page.Controls.Add (g);
+                       string s = g.doGetCallbackResult ();
+                       if (s == null || s == string.Empty) {
                                Assert.Fail ("GetCallbackResult");
                        }
                }
@@ -1853,9 +1854,9 @@
                        if (pageHTML.IndexOf ("EditSuccess") < 0) {
                                Assert.Fail ("EditFail");
                        }
-               }
-
-               [Test]
+               }
+
+               [Test]
                [Category ("NunitWeb")]
                [Category ("NotWorking")]
                public void GridView_PostBackSelect ()

Modified: trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ViewTest.cs
===================================================================
--- trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ViewTest.cs       
2006-07-25 13:41:15 UTC (rev 62958)
+++ trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ViewTest.cs       
2006-07-25 14:14:02 UTC (rev 62959)
@@ -124,10 +124,11 @@
                {
                        PokerView pv = new PokerView ();
                        Button btn = new Button ();
+                       btn.ID = "btn";
                        btn.Text = "MyTestButton";
                        pv.Controls.Add (btn);
                        string my = pv.Render ();
-                       Assert.AreEqual (pv.Render (), "<input type=\"submit\" 
value=\"MyTestButton\" />", "RenderViewStateWithChilds");
+                       Assert.AreEqual (@"<input type=""submit"" name=""btn"" 
value=""MyTestButton"" id=""btn"" />", my, "RenderViewStateWithChilds");
                }
 
 

Modified: 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardStepBaseTest.cs
===================================================================
--- 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardStepBaseTest.cs 
    2006-07-25 13:41:15 UTC (rev 62958)
+++ 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardStepBaseTest.cs 
    2006-07-25 14:14:02 UTC (rev 62959)
@@ -211,24 +211,28 @@
                {
                        // This render test include Title property test 
                        string html = new WebTest (PageInvoker.CreateOnLoad (
-                               new PageDelegate (Render_Test))).Run ();
-                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
-                                       <tr>
-                                       <td style=""height:100%;""><a 
href=""#ctl01_SkipLink""><img alt=""Skip Navigation Links."" height=""0"" 
width=""0"" 
src=""/NunitWeb/WebResource.axd?d=gZrz8lvSQfolS1pG07HX9g2&amp;t=632784640484505569""
 style=""border-width:0px;"" /></a><table 
id=""ctl01_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
-                                               <tr>
-                                                       <td 
style=""font-weight:bold;""><a 
id=""ctl01_SideBarContainer_SideBarList_ctl00_SideBarButton"" 
href=""javascript:__doPostBack('ctl01$SideBarContainer$SideBarList$ctl00$SideBarButton','')"">my_title</a></td>
-                                               </tr>
-                                       </table><a 
id=""ctl01_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
-                                               <tr style=""height:100%;"">
-                                                       <td>123</td>
-                                               </tr><tr>
-                                                       <td 
align=""right""><table cellspacing=""5"" cellpadding=""5"" border=""0"">
-                                                               <tr>
-                                                                       <td 
align=""right""><input type=""submit"" 
name=""ctl01$StartNavigationTemplateContainerID$StartNextButton"" 
value=""Next"" id=""ctl01_StartNavigationTemplateContainerID_StartNextButton"" 
/></td>
-                                                               </tr>
-                                               </table></td>
-                                       </tr>
-                                       </table>";
+                               new PageDelegate (Render_Test))).Run ();
+                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
+                                                               <tr>
+                                                                       <td 
style=""height:100%;""><a href=""#ctl01_SkipLink""><img alt=""Skip Navigation 
Links."" height=""0"" width=""0"" 
src=""/NunitWeb/WebResource.axd?d=u9knZDluAzVeq3S7b_Cm7w2&amp;t=632875336762459244""
 style=""border-width:0px;"" /></a><table 
id=""ctl01_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
+                                                                               
<tr>
+                                                                               
        <td style=""font-weight:bold;""><a 
id=""ctl01_SideBarContainer_SideBarList_ctl00_SideBarButton"" 
href=""javascript:__doPostBack('ctl01$SideBarContainer$SideBarList$ctl00$SideBarButton','')"">my_title</a></td>
+                                                                               
</tr><tr>
+                                                                               
        <td><a id=""ctl01_SideBarContainer_SideBarList_ctl01_SideBarButton"" 
href=""javascript:__doPostBack('ctl01$SideBarContainer$SideBarList$ctl01$SideBarButton','')"">my_title_2</a></td>
+                                                                               
</tr>
+                                                                       
</table><a id=""ctl01_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
+                                                                               
<tr style=""height:100%;"">
+                                                                               
        <td>123</td>
+                                                                               
</tr><tr>
+                                                                               
        <td align=""right""><table cellspacing=""5"" cellpadding=""5"" 
border=""0"">
+                                                                               
                <tr>
+                                                                               
                        <td align=""right""><input type=""submit"" 
name=""ctl01$StartNavigationTemplateContainerID$StartNextButton"" 
value=""Next"" id=""ctl01_StartNavigationTemplateContainerID_StartNextButton"" 
/></td>
+                                                                               
                </tr>
+                                                                               
        </table></td>
+                                                                               
</tr>
+                                                                       
</table></td>
+                                                               </tr>
+                                                       </table>";
                        HtmlDiff.AssertAreEqual (origin, 
HtmlDiff.GetControlFromPageHtml (html), "BaseRender");
                        if (html.IndexOf ("my_title") < 0) {
                                Assert.Fail ("WizardStepBase title not 
rendered");
@@ -245,9 +249,16 @@
                        PokerWizardStepBase ws = new PokerWizardStepBase ();
                        ws.Title = "my_title";
                        ws.Controls.Add (new LiteralControl ("123"));
-                       ws.StepType = WizardStepType.Start;
+                       ws.StepType = WizardStepType.Start;
+
+                       PokerWizardStepBase ws2 = new PokerWizardStepBase ();
+                       ws2.Title = "my_title_2";
+                       ws2.Controls.Add (new LiteralControl ("1234567"));
+                       ws2.StepType = WizardStepType.Finish;
+                       
                        w.DisplaySideBar = true;
-                       w.WizardSteps.Add (ws);
+                       w.WizardSteps.Add (ws);
+                       w.WizardSteps.Add (ws2);
                        p.Form.Controls.Add (lcb);
                        p.Form.Controls.Add (w);
                        p.Form.Controls.Add (lce);
@@ -401,7 +412,7 @@
                public static void read_control (Page p)
                {
                        ArrayList list = new ArrayList ();
-                       recurcive_find (list, typeof (LinkButton), 
p.FindControl ("Wizard").FindControl ("SideBarContainer"));
+                       recurcive_find (list, typeof (LinkButton), 
p.FindControl ("Wizard"));
                        WebTest.CurrentTest.UserData = list;
                }
 

Modified: 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardTest.cs
===================================================================
--- trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardTest.cs     
2006-07-25 13:41:15 UTC (rev 62958)
+++ trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardTest.cs     
2006-07-25 14:14:02 UTC (rev 62959)
@@ -483,18 +483,18 @@
                {
 
                        WebTest t = new WebTest (PageInvoker.CreateOnPreInit 
(_CancelButtonPropertyRendering));
-                       string html = t.Run ();
-                       string origin = @"<table cellspacing=""0"" 
cellpadding="" 0"" border=""0"" style=""border-collapse:collapse;"">
-                                               <tr style=""height:100%;"">
-                                               <td>Step</td>
-                                               </tr><tr>
-                                               <td align=""right""><table 
cellspacing=""5"" cellpadding=""5"" border=""0"">
-                                               <tr>
-                                               <td align=""right""><input 
type=""submit"" 
name=""ctl00$StepNavigationTemplateContainerID$StepPreviousButton"" 
value=""Previous"" 
id=""ctl00_StepNavigationTemplateContainerID_StepPreviousButton"" /></td><td 
align=""right""><input type=""submit"" 
name=""ctl00$StepNavigationTemplateContainerID$StepNextButton"" value=""Next"" 
id=""ctl00_StepNavigationTemplateContainerID_StepNextButton"" /></td><td 
align=""right""><input type=""submit"" 
name=""ctl00$StepNavigationTemplateContainerID$CancelButton"" 
value=""CancelButtonText"" 
id=""ctl00_StepNavigationTemplateContainerID_CancelButton"" 
style=""border-color:Red;"" /></td>
-                                               </tr>
-                                               </table></td>
-                                               </tr>
-                                               </table>";
+                       string html = t.Run ();
+                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
+                                                               <tr 
style=""height:100%;"">
+                                                                       
<td>Start</td>
+                                                               </tr><tr>
+                                                                       <td 
align=""right""><table cellspacing=""5"" cellpadding=""5"" border=""0"">
+                                                                               
<tr>
+                                                                               
        <td align=""right""><input type=""submit"" 
name=""ctl00$StartNavigationTemplateContainerID$StartNextButton"" 
value=""Next"" id=""ctl00_StartNavigationTemplateContainerID_StartNextButton"" 
/></td><td align=""right""><input type=""submit"" 
name=""ctl00$StartNavigationTemplateContainerID$CancelButton"" 
value=""CancelButtonText"" 
id=""ctl00_StartNavigationTemplateContainerID_CancelButton"" 
style=""border-color:Red;"" /></td>
+                                                                               
</tr>
+                                                                       
</table></td>
+                                                               </tr>
+                                                       </table>";
                        HtmlDiff.AssertAreEqual (origin, 
HtmlDiff.GetControlFromPageHtml (html), "CancelButtonPropertyRendering");
                }
 
@@ -512,8 +512,8 @@
                        
                        WizardStep ws1 = new WizardStep ();
                        ws1.ID = "step1";
-                       ws1.StepType = WizardStepType.Step;
-                       ws1.Controls.Add (new LiteralControl ("Step"));
+                       ws1.StepType = WizardStepType.Start;
+                       ws1.Controls.Add (new LiteralControl ("Start"));
 
                        WizardStep ws2 = new WizardStep ();
                        ws2.ID = "step2";
@@ -535,18 +535,18 @@
                {
 
                        WebTest t = new WebTest (PageInvoker.CreateOnPreInit 
(_FinishButtonPropertyRendering));
-                       string html = t.Run ();
-                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
-                                               <tr style=""height:100%;"">
-                                                       <td>Finish</td>
-                                               </tr><tr>
-                                                       <td 
align=""right""><table cellspacing=""5"" cellpadding=""5"" border=""0"">
-                                                               <tr>
-                                                                       <td 
align=""right""><input type=""image"" 
name=""ctl00$FinishNavigationTemplateContainerID$FinishPreviousImageButton"" 
id=""ctl00_FinishNavigationTemplateContainerID_FinishPreviousImageButton"" 
src=""FinishPreviousButtonImageUrl"" alt=""FinishPreviousButtonText"" 
style=""background-color:Red;border-width:0px;"" /></td><td align=""right""><a 
id=""ctl00_FinishNavigationTemplateContainerID_FinishLinkButton"" 
href=""javascript:__doPostBack('ctl00$FinishNavigationTemplateContainerID$FinishLinkButton','')""
 style=""border-color:Red;"">FinishCompleteButtonText</a></td>
-                                                               </tr>
-                                                       </table></td>
-                                               </tr>
-                                       </table>";
+                       string html = t.Run ();
+                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
+                                                               <tr 
style=""height:100%;"">
+                                                                       
<td>Finish</td>
+                                                               </tr><tr>
+                                                                       <td 
align=""right""><table cellspacing=""5"" cellpadding=""5"" border=""0"">
+                                                                               
<tr>
+                                                                               
        <td align=""right""><input type=""image"" 
name=""ctl00$FinishNavigationTemplateContainerID$FinishPreviousImageButton"" 
id=""ctl00_FinishNavigationTemplateContainerID_FinishPreviousImageButton"" 
src=""http://FinishPreviousButtonImageUrl""; alt=""FinishPreviousButtonText"" 
style=""background-color:Red;border-width:0px;"" /></td><td align=""right""><a 
id=""ctl00_FinishNavigationTemplateContainerID_FinishLinkButton"" 
href=""javascript:__doPostBack('ctl00$FinishNavigationTemplateContainerID$FinishLinkButton','')""
 style=""border-color:Red;"">FinishCompleteButtonText</a></td>
+                                                                               
</tr>
+                                                                       
</table></td>
+                                                               </tr>
+                                                       </table>";
                        HtmlDiff.AssertAreEqual (origin, 
HtmlDiff.GetControlFromPageHtml (html), "CancelButtonPropertyRendering");
                }
 
@@ -556,22 +556,29 @@
                        LiteralControl lce = new LiteralControl 
(HtmlDiff.END_TAG);
                        PokerWizard w = new PokerWizard ();
                        w.FinishCompleteButtonStyle.BorderColor = Color.Red;
-                       w.FinishCompleteButtonImageUrl = 
"FinishCompleteButtonImageUrl";
+                       w.FinishCompleteButtonImageUrl = 
"http://FinishCompleteButtonImageUrl";;
                        w.FinishDestinationPageUrl = "FinishDestinationPageUrl";
                        w.FinishCompleteButtonText = "FinishCompleteButtonText";
-                       w.FinishCompleteButtonType = ButtonType.Link;
-                       w.FinishPreviousButtonImageUrl = 
"FinishPreviousButtonImageUrl";
+                       w.FinishCompleteButtonType = ButtonType.Link;
+                       w.FinishPreviousButtonImageUrl = 
"http://FinishPreviousButtonImageUrl";;
                        w.FinishPreviousButtonStyle.BackColor = Color.Red;
                        w.FinishPreviousButtonText = "FinishPreviousButtonText";
-                       w.FinishPreviousButtonType = ButtonType.Image;
+                       w.FinishPreviousButtonType = ButtonType.Image;
+
+                       WizardStep ws0 = new WizardStep ();
+                       ws0.ID = "step0";
+                       ws0.StepType = WizardStepType.Start;
+                       ws0.Controls.Add (new LiteralControl ("Finish"));
                        
                        WizardStep ws1 = new WizardStep ();
                        ws1.ID = "step1";
                        ws1.StepType = WizardStepType.Finish;
                        ws1.Controls.Add (new LiteralControl ("Finish"));
                        
-                       w.DisplaySideBar = false;
-                       w.WizardSteps.Add (ws1);
+                       w.DisplaySideBar = false;
+                       w.WizardSteps.Add (ws0);
+                       w.WizardSteps.Add (ws1);
+                       w.MoveTo (ws1);
                        p.Controls.Add (lcb);
                        p.Controls.Add (w);
                        p.Controls.Add (lce);
@@ -583,20 +590,20 @@
                public void Wizard_HeaderRendering ()
                {
                        WebTest t = new WebTest (PageInvoker.CreateOnPreInit 
(_HeaderRendering));
-                       string html = t.Run ();
-                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
-                                               <tr>
-                                                       <td 
style=""background-color:Red;""><input name=""ctl00$HeaderContainer$TextBox1"" 
type=""text"" id=""ctl00_HeaderContainer_TextBox1"" /></td>
-                                               </tr><tr style=""height:100%;"">
-                                                       <td>Finish</td>
-                                               </tr><tr>
-                                                       <td 
align=""right""><table cellspacing=""5"" cellpadding=""5"" border=""0"">
-                                                               <tr>
-                                                                       <td 
align=""right""><input type=""submit"" 
name=""ctl00$FinishNavigationTemplateContainerID$FinishPreviousButton"" 
value=""Previous"" 
id=""ctl00_FinishNavigationTemplateContainerID_FinishPreviousButton"" 
/></td><td align=""right""><input type=""submit"" 
name=""ctl00$FinishNavigationTemplateContainerID$FinishButton"" 
value=""Finish"" id=""ctl00_FinishNavigationTemplateContainerID_FinishButton"" 
/></td>
-                                                               </tr>
-                                                       </table></td>
-                                               </tr>
-                                       </table>";
+                       string html = t.Run ();
+                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
+                                                               <tr>
+                                                                       <td 
style=""background-color:Red;""><input name=""ctl00$HeaderContainer$TextBox1"" 
type=""text"" id=""ctl00_HeaderContainer_TextBox1"" /></td>
+                                                               </tr><tr 
style=""height:100%;"">
+                                                                       
<td>Finish</td>
+                                                               </tr><tr>
+                                                                       <td 
align=""right""><table cellspacing=""5"" cellpadding=""5"" border=""0"">
+                                                                               
<tr>
+                                                                               
        <td align=""right""><input type=""submit"" 
name=""ctl00$FinishNavigationTemplateContainerID$FinishPreviousButton"" 
value=""Previous"" 
id=""ctl00_FinishNavigationTemplateContainerID_FinishPreviousButton"" 
/></td><td align=""right""><input type=""submit"" 
name=""ctl00$FinishNavigationTemplateContainerID$FinishButton"" 
value=""Finish"" id=""ctl00_FinishNavigationTemplateContainerID_FinishButton"" 
/></td>
+                                                                               
</tr>
+                                                                       
</table></td>
+                                                               </tr>
+                                                       </table>";
                        HtmlDiff.AssertAreEqual (origin, 
HtmlDiff.GetControlFromPageHtml (html), "HeaderRendering");
                }
 
@@ -607,15 +614,22 @@
                        PokerWizard w = new PokerWizard ();
                        w.HeaderStyle.BackColor = Color.Red;
                        w.HeaderTemplate = new CompiledTemplateBuilder 
(_BuildHeader);
-                       w.HeaderText = "test";
+                       w.HeaderText = "test";
+
+                       WizardStep ws0 = new WizardStep ();
+                       ws0.ID = "step0";
+                       ws0.StepType = WizardStepType.Start;
+                       ws0.Controls.Add (new LiteralControl ("Start"));
                        
                        WizardStep ws1 = new WizardStep ();
                        ws1.ID = "step1";
                        ws1.StepType = WizardStepType.Finish;
                        ws1.Controls.Add (new LiteralControl ("Finish"));
                        
-                       w.DisplaySideBar = false;
-                       w.WizardSteps.Add (ws1);
+                       w.DisplaySideBar = false;
+                       w.WizardSteps.Add (ws0);
+                       w.WizardSteps.Add (ws1);
+                       w.MoveTo (ws1);
                        p.Controls.Add (lcb);
                        p.Controls.Add (w);
                        p.Controls.Add (lce);
@@ -636,25 +650,27 @@
                {
                        WebTest t = new WebTest (PageInvoker.CreateOnPreInit 
(_SideBarRendering));
                        string html = t.Run ();
-                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
-                                               <tr>
-                                                       <td 
style=""background-color:Red;height:100%;""><a href=""#ctl00_SkipLink""><img 
alt=""Skip Navigation Links."" height=""0"" width=""0"" 
src=""/NunitWeb/WebResource.axd?d=gZrz8lvSQfolS1pG07HX9g2&amp;t=632784640484505569""
 style=""border-width:0px;"" /></a><table 
id=""ctl00_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
-                                                               <tr>
-                                                                       
<td><input type=""button"" 
name=""ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton"" value=""step1"" 
onclick=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton','')""
 id=""ctl00_SideBarContainer_SideBarList_ctl00_SideBarButton"" /></td>
-                                                               </tr>
-                                                       </table><a 
id=""ctl00_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
-                                                               <tr 
style=""height:100%;"">
-                                                                       
<td>Step</td>
-                                                               </tr><tr>
-                                                                       <td 
align=""right""><table cellspacing=""5"" cellpadding=""5"" border=""0"">
-                                                                               
<tr>
-                                                                               
        <td align=""right""><input type=""submit"" 
name=""ctl00$StepNavigationTemplateContainerID$StepPreviousButton"" 
value=""Previous"" 
id=""ctl00_StepNavigationTemplateContainerID_StepPreviousButton"" /></td><td 
align=""right""><input type=""submit"" 
name=""ctl00$StepNavigationTemplateContainerID$StepNextButton"" value=""Next"" 
id=""ctl00_StepNavigationTemplateContainerID_StepNextButton"" /></td>
-                                                                               
</tr>
-                                                                       
</table></td>
-                                                               </tr>
-                                                       </table></td>
-                                               </tr>
-                                       </table>";
+                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
+                                                               <tr>
+                                                                       <td 
style=""background-color:Red;height:100%;""><a href=""#ctl00_SkipLink""><img 
alt=""Skip Navigation Links."" height=""0"" width=""0"" 
src=""/NunitWeb/WebResource.axd?d=u9knZDluAzVeq3S7b_Cm7w2&amp;t=632875336762459244""
 style=""border-width:0px;"" /></a><table 
id=""ctl00_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
+                                                                               
<tr>
+                                                                               
        <td><input type=""button"" 
name=""ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton"" value=""step1"" 
onclick=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton','')""
 id=""ctl00_SideBarContainer_SideBarList_ctl00_SideBarButton"" /></td>
+                                                                               
</tr><tr>
+                                                                               
        <td><input type=""button"" 
name=""ctl00$SideBarContainer$SideBarList$ctl01$SideBarButton"" value=""step2"" 
onclick=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl01$SideBarButton','')""
 id=""ctl00_SideBarContainer_SideBarList_ctl01_SideBarButton"" /></td>
+                                                                               
</tr>
+                                                                       
</table><a id=""ctl00_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
+                                                                               
<tr style=""height:100%;"">
+                                                                               
        <td>Step 1</td>
+                                                                               
</tr><tr>
+                                                                               
        <td align=""right""><table cellspacing=""5"" cellpadding=""5"" 
border=""0"">
+                                                                               
                <tr>
+                                                                               
                        <td align=""right""><input type=""submit"" 
name=""ctl00$StartNavigationTemplateContainerID$StartNextButton"" 
value=""Next"" id=""ctl00_StartNavigationTemplateContainerID_StartNextButton"" 
/></td>
+                                                                               
                </tr>
+                                                                               
        </table></td>
+                                                                               
</tr>
+                                                                       
</table></td>
+                                                               </tr>
+                                                       </table>";
                        HtmlDiff.AssertAreEqual (origin, 
HtmlDiff.GetControlFromPageHtml (html), "SideBarRendering");
                }
 
@@ -664,20 +680,22 @@
                        LiteralControl lce = new LiteralControl 
(HtmlDiff.END_TAG);
                        PokerWizard w = new PokerWizard ();
                        
-                       
                        w.SideBarButtonStyle.BackColor = Color.Red;
                        w.SideBarStyle.BackColor = Color.Red;
                        w.SideBarTemplate = new CompiledTemplateBuilder 
(_SideBarTemplate);
-                       
 
-
                        WizardStep ws1 = new WizardStep ();
                        ws1.ID = "step1";
-                       ws1.StepType = WizardStepType.Step;
-                       ws1.Controls.Add (new LiteralControl ("Step"));
+                       ws1.StepType = WizardStepType.Auto;
+                       ws1.Controls.Add (new LiteralControl ("Step 1"));
+
+                       WizardStep ws2 = new WizardStep ();
+                       ws2.ID = "step2";
+                       ws2.StepType = WizardStepType.Auto;
+                       ws2.Controls.Add (new LiteralControl ("Step 2"));
 
-
-                       w.WizardSteps.Add (ws1);
+                       w.WizardSteps.Add (ws1);
+                       w.WizardSteps.Add (ws2);
                        p.Controls.Add (lcb);
                        p.Controls.Add (w);
                        p.Controls.Add (lce);
@@ -704,26 +722,28 @@
                public void Wizard_NavigationRendering ()
                {
                        WebTest t = new WebTest (PageInvoker.CreateOnPreInit 
(_NavigationRendering));
-                       string html = t.Run ();
-                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
-                                               <tr>
-                                                       <td 
style=""height:100%;""><a href=""#ctl00_SkipLink""><img alt=""Skip Navigation 
Links."" height=""0"" width=""0"" 
src=""/NunitWeb/WebResource.axd?d=gZrz8lvSQfolS1pG07HX9g2&amp;t=632784640484505569""
 style=""border-width:0px;"" /></a><table 
id=""ctl00_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
-                                                               <tr>
-                                                                       <td 
style=""font-weight:bold;""><a 
id=""ctl00_SideBarContainer_SideBarList_ctl00_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton','')"">step1</a></td>
-                                                               </tr>
-                                                       </table><a 
id=""ctl00_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
-                                                               <tr 
style=""height:100%;"">
-                                                                       
<td>Start</td>
-                                                               </tr><tr>
-                                                                       <td 
align=""right"" style=""background-color:Yellow;""><table cellspacing=""5"" 
cellpadding=""5"" border=""0"">
-                                                                               
<tr>
-                                                                               
        <td align=""right""><input type=""submit"" 
name=""ctl00$StartNavigationTemplateContainerID$StartNextButton"" 
value=""Next"" id=""ctl00_StartNavigationTemplateContainerID_StartNextButton"" 
style=""background-color:Red;"" /></td>
-                                                                               
</tr>
-                                                                       
</table></td>
-                                                               </tr>
-                                                       </table></td>
-                                               </tr>
-                                       </table>";
+                       string html = t.Run ();
+                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
+                                                               <tr>
+                                                                       <td 
style=""height:100%;""><a href=""#ctl00_SkipLink""><img alt=""Skip Navigation 
Links."" height=""0"" width=""0"" 
src=""/NunitWeb/WebResource.axd?d=u9knZDluAzVeq3S7b_Cm7w2&amp;t=632875336762459244""
 style=""border-width:0px;"" /></a><table 
id=""ctl00_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
+                                                                               
<tr>
+                                                                               
        <td style=""font-weight:bold;""><a 
id=""ctl00_SideBarContainer_SideBarList_ctl00_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton','')"">step1</a></td>
+                                                                               
</tr><tr>
+                                                                               
        <td><a id=""ctl00_SideBarContainer_SideBarList_ctl01_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl01$SideBarButton','')"">step2</a></td>
+                                                                               
</tr>
+                                                                       
</table><a id=""ctl00_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
+                                                                               
<tr style=""height:100%;"">
+                                                                               
        <td>Start</td>
+                                                                               
</tr><tr>
+                                                                               
        <td align=""right"" style=""background-color:Yellow;""><table 
cellspacing=""5"" cellpadding=""5"" border=""0"">
+                                                                               
                <tr>
+                                                                               
                        <td align=""right""><input type=""submit"" 
name=""ctl00$StartNavigationTemplateContainerID$StartNextButton"" 
value=""Next"" id=""ctl00_StartNavigationTemplateContainerID_StartNextButton"" 
style=""background-color:Red;"" /></td>
+                                                                               
                </tr>
+                                                                               
        </table></td>
+                                                                               
</tr>
+                                                                       
</table></td>
+                                                               </tr>
+                                                       </table>";
                        HtmlDiff.AssertAreEqual (origin, 
HtmlDiff.GetControlFromPageHtml (html), "NavigationRendering");
                }
 
@@ -732,16 +752,22 @@
                        LiteralControl lcb = new LiteralControl 
(HtmlDiff.BEGIN_TAG);
                        LiteralControl lce = new LiteralControl 
(HtmlDiff.END_TAG);
                        PokerWizard w = new PokerWizard ();
-                       WizardStep ws1 = new WizardStep ();
+                       WizardStep ws1 = new WizardStep ();
+                       WizardStep ws2 = new WizardStep ();
                        
                        ws1.ID = "step1";
                        ws1.StepType = WizardStepType.Start;
-                       ws1.Controls.Add (new LiteralControl ("Start"));
-
+                       ws1.Controls.Add (new LiteralControl ("Start"));
+
+                       ws2.ID = "step2";
+                       ws2.StepType = WizardStepType.Start;
+                       ws2.Controls.Add (new LiteralControl ("Finish"));
+                       
                        w.NavigationButtonStyle.BackColor = Color.Red;
                        w.NavigationStyle.BackColor = Color.Yellow;
                        
-                       w.WizardSteps.Add (ws1);
+                       w.WizardSteps.Add (ws1);
+                       w.WizardSteps.Add (ws2);
                        p.Controls.Add (lcb);
                        p.Controls.Add (w);
                        p.Controls.Add (lce);
@@ -753,26 +779,28 @@
                public void Wizard_StartTypeRendering ()
                {
                        WebTest t = new WebTest (PageInvoker.CreateOnPreInit 
(_StartTypeRendering));
-                       string html = t.Run ();
-                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
-                                               <tr>
-                                                       <td 
style=""height:100%;""><a href=""#ctl00_SkipLink""><img alt=""Skip Navigation 
Links."" height=""0"" width=""0"" 
src=""/NunitWeb/WebResource.axd?d=gZrz8lvSQfolS1pG07HX9g2&amp;t=632784640484505569""
 style=""border-width:0px;"" /></a><table 
id=""ctl00_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
-                                                               <tr>
-                                                                       <td 
style=""font-weight:bold;""><a 
id=""ctl00_SideBarContainer_SideBarList_ctl00_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton','')"">step1</a></td>
-                                                               </tr>
-                                                       </table><a 
id=""ctl00_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
-                                                               <tr 
style=""height:100%;"">
-                                                                       
<td>Start</td>
-                                                               </tr><tr>
-                                                                       <td 
align=""right""><table cellspacing=""5"" cellpadding=""5"" border=""0"">
-                                                                               
<tr>
-                                                                               
        <td align=""right""><input type=""submit"" 
name=""ctl00$StartNavigationTemplateContainerID$StartNextButton"" 
value=""StartNextButtonText"" 
id=""ctl00_StartNavigationTemplateContainerID_StartNextButton"" 
style=""background-color:Red;"" /></td>
-                                                                               
</tr>
-                                                                       
</table></td>
-                                                               </tr>
-                                                       </table></td>
-                                               </tr>
-                                       </table>";
+                       string html = t.Run ();
+                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
+                                                               <tr>
+                                                                       <td 
style=""height:100%;""><a href=""#ctl00_SkipLink""><img alt=""Skip Navigation 
Links."" height=""0"" width=""0"" 
src=""/NunitWeb/WebResource.axd?d=u9knZDluAzVeq3S7b_Cm7w2&amp;t=632875336762459244""
 style=""border-width:0px;"" /></a><table 
id=""ctl00_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
+                                                                               
<tr>
+                                                                               
        <td style=""font-weight:bold;""><a 
id=""ctl00_SideBarContainer_SideBarList_ctl00_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton','')"">step1</a></td>
+                                                                               
</tr><tr>
+                                                                               
        <td><a id=""ctl00_SideBarContainer_SideBarList_ctl01_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl01$SideBarButton','')"">step2</a></td>
+                                                                               
</tr>
+                                                                       
</table><a id=""ctl00_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
+                                                                               
<tr style=""height:100%;"">
+                                                                               
        <td>Start</td>
+                                                                               
</tr><tr>
+                                                                               
        <td align=""right""><table cellspacing=""5"" cellpadding=""5"" 
border=""0"">
+                                                                               
                <tr>
+                                                                               
                        <td align=""right""><input type=""submit"" 
name=""ctl00$StartNavigationTemplateContainerID$StartNextButton"" 
value=""StartNextButtonText"" 
id=""ctl00_StartNavigationTemplateContainerID_StartNextButton"" 
style=""background-color:Red;"" /></td>
+                                                                               
                </tr>
+                                                                               
        </table></td>
+                                                                               
</tr>
+                                                                       
</table></td>
+                                                               </tr>
+                                                       </table>";
                        HtmlDiff.AssertAreEqual (origin, 
HtmlDiff.GetControlFromPageHtml (html), "StartTypeRendering");
                }
 
@@ -781,18 +809,24 @@
                        LiteralControl lcb = new LiteralControl 
(HtmlDiff.BEGIN_TAG);
                        LiteralControl lce = new LiteralControl 
(HtmlDiff.END_TAG);
                        PokerWizard w = new PokerWizard ();
-                       WizardStep ws1 = new WizardStep ();
+                       WizardStep ws1 = new WizardStep ();
+                       WizardStep ws2 = new WizardStep ();
 
                        ws1.ID = "step1";
                        ws1.StepType = WizardStepType.Start;
-                       ws1.Controls.Add (new LiteralControl ("Start"));
-
+                       ws1.Controls.Add (new LiteralControl ("Start"));
+
+                       ws2.ID = "step2";
+                       ws2.StepType = WizardStepType.Finish;
+                       ws2.Controls.Add (new LiteralControl ("Finish"));
+                       
                        w.StartNextButtonImageUrl = "StartNextButtonImageUrl";
                        w.StartNextButtonStyle.BackColor = Color.Red;
                        w.StartNextButtonText = "StartNextButtonText";
                        w.StartNextButtonType = ButtonType.Button;
 
-                       w.WizardSteps.Add (ws1);
+                       w.WizardSteps.Add (ws1);
+                       w.WizardSteps.Add (ws2);
                        p.Controls.Add (lcb);
                        p.Controls.Add (w);
                        p.Controls.Add (lce);
@@ -856,28 +890,30 @@
                public void Wizard_StepTypeRendering ()
                {
                        WebTest t = new WebTest (PageInvoker.CreateOnPreInit 
(_StepTypeRendering));
-                       string html = t.Run ();
-                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
-                                               <tr>
-                                                       <td 
style=""height:100%;""><a href=""#ctl00_SkipLink""><img alt=""Skip Navigation 
Links."" height=""0"" width=""0"" 
src=""/NunitWeb/WebResource.axd?d=gZrz8lvSQfolS1pG07HX9g2&amp;t=632784640484505569""
 style=""border-width:0px;"" /></a><table 
id=""ctl00_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
-                                                               <tr>
-                                                                       <td 
style=""font-weight:bold;""><a 
id=""ctl00_SideBarContainer_SideBarList_ctl00_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton','')"">step1</a></td>
-                                                               </tr><tr>
-                                                                       <td><a 
id=""ctl00_SideBarContainer_SideBarList_ctl01_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl01$SideBarButton','')"">step2</a></td>
-                                                               </tr>
-                                                       </table><a 
id=""ctl00_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
-                                                               <tr 
style=""height:100%;"">
-                                                                       <td 
style=""background-color:Red;"">Step1</td>
-                                                               </tr><tr>
-                                                                       <td 
align=""right""><table cellspacing=""5"" cellpadding=""5"" border=""0"">
-                                                                               
<tr>
-                                                                               
        <td align=""right""><a 
id=""ctl00_StepNavigationTemplateContainerID_StepPreviousLinkButton"" 
href=""javascript:__doPostBack('ctl00$StepNavigationTemplateContainerID$StepPreviousLinkButton','')""
 style=""background-color:Red;"">StepPreviousButtonText</a></td><td 
align=""right""><input type=""image"" 
name=""ctl00$StepNavigationTemplateContainerID$StepNextImageButton"" 
id=""ctl00_StepNavigationTemplateContainerID_StepNextImageButton"" 
src=""StepNextButtonImageUrl"" alt=""StepNextButtonText"" 
style=""background-color:Red;border-width:0px;"" /></td>
-                                                                               
</tr>
-                                                                       
</table></td>
-                                                               </tr>
-                                                       </table></td>
-                                               </tr>
-                                       </table>";
+                       string html = t.Run ();
+                       string origin = @"<table cellspacing=""0"" 
cellpadding=""0"" border=""0"" style=""border-collapse:collapse;"">
+                                                               <tr>
+                                                                       <td 
style=""height:100%;""><a href=""#ctl00_SkipLink""><img alt=""Skip Navigation 
Links."" height=""0"" width=""0"" 
src=""/NunitWeb/WebResource.axd?d=u9knZDluAzVeq3S7b_Cm7w2&amp;t=632875336762459244""
 style=""border-width:0px;"" /></a><table 
id=""ctl00_SideBarContainer_SideBarList"" cellspacing=""0"" border=""0"" 
style=""border-collapse:collapse;"">
+                                                                               
<tr>
+                                                                               
        <td><a id=""ctl00_SideBarContainer_SideBarList_ctl00_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl00$SideBarButton','')"">step1</a></td>
+                                                                               
</tr><tr>
+                                                                               
        <td style=""font-weight:bold;""><a 
id=""ctl00_SideBarContainer_SideBarList_ctl01_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl01$SideBarButton','')"">step2</a></td>
+                                                                               
</tr><tr>
+                                                                               
        <td><a id=""ctl00_SideBarContainer_SideBarList_ctl02_SideBarButton"" 
href=""javascript:__doPostBack('ctl00$SideBarContainer$SideBarList$ctl02$SideBarButton','')"">step3</a></td>
+                                                                               
</tr>
+                                                                       
</table><a id=""ctl00_SkipLink""></a></td><td style=""height:100%;""><table 
cellspacing=""0"" cellpadding=""0"" border=""0"" 
style=""height:100%;width:100%;border-collapse:collapse;"">
+                                                                               
<tr style=""height:100%;"">
+                                                                               
        <td style=""background-color:Red;"">Step2</td>
+                                                                               
</tr><tr>
+                                                                               
        <td align=""right""><table cellspacing=""5"" cellpadding=""5"" 
border=""0"">
+                                                                               
                <tr>
+                                                                               
                        <td align=""right""><a 
id=""ctl00_StepNavigationTemplateContainerID_StepPreviousLinkButton"" 
href=""javascript:__doPostBack('ctl00$StepNavigationTemplateContainerID$StepPreviousLinkButton','')""
 style=""background-color:Red;"">StepPreviousButtonText</a></td><td 
align=""right""><input type=""image"" 
name=""ctl00$StepNavigationTemplateContainerID$StepNextImageButton"" 
id=""ctl00_StepNavigationTemplateContainerID_StepNextImageButton"" 
src=""http://StepNextButtonImageUrl""; alt=""StepNextButtonText"" 
style=""background-color:Red;border-width:0px;"" /></td>
+                                                                               
                </tr>
+                                                                               
        </table></td>
+                                                                               
</tr>
+                                                                       
</table></td>
+                                                               </tr>
+                                                       </table>";
                        HtmlDiff.AssertAreEqual (origin, 
HtmlDiff.GetControlFromPageHtml (html), "StepRendering");
                }
 
@@ -887,29 +923,36 @@
                        LiteralControl lce = new LiteralControl 
(HtmlDiff.END_TAG);
                        PokerWizard w = new PokerWizard ();
                        WizardStep ws1 = new WizardStep ();
-                       WizardStep ws2 = new WizardStep ();
+                       WizardStep ws2 = new WizardStep ();
+                       WizardStep ws3 = new WizardStep ();
 
                        ws1.ID = "step1";
-                       ws1.StepType = WizardStepType.Step;
+                       ws1.StepType = WizardStepType.Start;
                        ws1.Controls.Add (new LiteralControl ("Step1"));
 
                        ws2.ID = "step2";
                        ws2.StepType = WizardStepType.Step;
-                       ws2.Controls.Add (new LiteralControl ("Step2"));
+                       ws2.Controls.Add (new LiteralControl ("Step2"));
+
+                       ws3.ID = "step3";
+                       ws3.StepType = WizardStepType.Finish;
+                       ws3.Controls.Add (new LiteralControl ("Step3"));
 
-
-                       w.StepNextButtonImageUrl = "StepNextButtonImageUrl";
+                       w.StepNextButtonImageUrl = 
"http://StepNextButtonImageUrl";;
                        w.StepNextButtonStyle.BackColor = Color.Red;
                        w.StepNextButtonText = "StepNextButtonText";
-                       w.StepNextButtonType = ButtonType.Image;
-                       w.StepPreviousButtonImageUrl = 
"StepPreviousButtonImageUrl";
+                       w.StepNextButtonType = ButtonType.Image;
+                       w.StepPreviousButtonImageUrl = 
"http://StepPreviousButtonImageUrl";;
                        w.StepPreviousButtonStyle.BackColor = Color.Red;
                        w.StepPreviousButtonText = "StepPreviousButtonText";
                        w.StepPreviousButtonType = ButtonType.Link;
                        w.StepStyle.BackColor = Color.Red;
                        
                        w.WizardSteps.Add (ws1);
-                       w.WizardSteps.Add (ws2);
+                       w.WizardSteps.Add (ws2);
+                       w.WizardSteps.Add (ws3);
+                       w.MoveTo (ws2);
+
                        p.Controls.Add (lcb);
                        p.Controls.Add (w);
                        p.Controls.Add (lce);
@@ -1210,6 +1253,7 @@
                        wizard.WizardSteps.Add (step3);
                        wizard.ActiveStepIndex = 0;
                        wizard.MoveTo (step3);
+                       // LAMESPEC: history updated when SaveControlState 
occured
                        Assert.AreEqual (0, ((ArrayList) wizard.GetHistory 
()).Count, "ControlState#1");
                        object o = wizard.PokerSaveControlState ();
                        wizard.PokerLoadControlState (o);
@@ -1235,7 +1279,8 @@
                        wizard.SideBarButtonStyle.BackColor = Color.Red;
                        wizard.SideBarStyle.BackColor = Color.Red;
                        wizard.StartNextButtonStyle.BackColor = Color.Red;
-                       wizard.StepPreviousButtonStyle.BackColor = Color.Red;
+                       wizard.StepPreviousButtonStyle.BackColor = Color.Red;
+                       wizard.StepNextButtonStyle.BackColor = Color.Red;
                        wizard.StepStyle.BackColor = Color.Red;
                        object state = wizard.SaveState ();
                        copy.LoadState (state);
@@ -1705,7 +1750,7 @@
                public static void _readControl (Page p)
                {
                        ArrayList list = new ArrayList();
-                       recurcivefind (list, typeof (LinkButton), p.FindControl 
("Wizard").FindControl ("SideBarContainer"));
+                       recurcivefind (list, typeof (LinkButton), p.FindControl 
("Wizard"));
                        WebTest.CurrentTest.UserData = list;
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to