Hi,
I am getting the following error when trying to get the Guestbook module working. In the SignGuestbookVb.ascx.
vb file, for example, I am getting the following error:
Name 'txtWebsite' is not declared
But the txtWebsite is declared, so I am not sure what is causing this. The only thing I have been able to determine is that the SignGuestbookVB.ascx.designer.
vb is no longer associated with its parent, in the DNN project I have the designer is no longer showing up as a child to the Veiwsettings.ascx, rather it is inline with is, somewhat like this:
Code:
<viewsettings.ascx>
<viewsettings.ascx.vb>
<viewsettings.ascx.designer.vb>
When it should be:
Code:
<viewsettings.ascx>
<viewsettings.ascx.vb>
<viewsettings.ascx.designer.vb>
<editGuestBookVB.ascx>
Here is a code snippet from the ViewSettings.ascx defining the txtWebsite:
Code:
<td>
<asp:TextBox ID="txtWebsite" runat="server" MaxLength="255" CssClass="NormalTextbox" ValidationGroup="Guestbook" />
And the corresponding ViewSettings.ascx.
vb saying where it says txtWebsite is not defined:
Code:
oInfo.SubmitterWebsite = Server.HtmlEncode(txtWebsite.Text)
Any help would be much appreciated.
Thanks,
Chris