when the allowannon and moderate post are being retrieved, and updated in settings.ascx.
vb there are done like this resceptively:
Code:
Boolean.Parse(ModuleSettings("WROX_Guestbook_AllowAnon").ToString())
oController.UpdateModuleSetting(Me.ModuleId, "WROX_Guestbook_AllowAnon", chkAllowAnon.Checked.ToString())
BUT when they are retrieved in signguestbook.ascx, there are done in following way:
Code:
CType(Settings("WROX_Guestbook_AllowAnon"), String)
it works fine in settings.ascx as the settings are being kept in settings page, BUT in signguestbook.ascx, its not able to retrieve it..
What could the problem be? I see the way they are being retrieved in the 2 pages is different...