Last post Apr 08, 2010 08:58 AM by rubikcube
Apr 06, 2010 04:33 PM|rubikcube|LINK
I've just started seriously messing around with the RC and noticed something serious that I can't figure out. It seems like properties are no longer being generated for the controls inside wizard steps. Here are the steps to reproduce.
1. Create a new project with the "ASP.NET Web Application" template.
2. Inside the BodyContent, add the following wizard control
<asp:Wizard ID="wzWizard1" runat="server">
<asp:WizardStep ID="Step1" runat="server">
<asp:TextBox ID="txtTest" runat="server" />
In visual studio 2008, the following property would normally be generated in the designer.cs file
protected global::System.Web.UI.WebControls.TextBox txtTest;
However, in visual studio 2010, no such property is generated. This means you can't access the textbox without doing a findcontrol call on the wizard step. Does anyone know if this behavior is intentional?
Apr 07, 2010 09:37 PM|Radomir|LINK
There was a hotfix for this issue that came out not too long ago.. Should be this one:
Apr 08, 2010 08:58 AM|rubikcube|LINK
That fixed it. Thanks.