Wrox Programmer Forums
|
BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5
This is the forum to discuss the Wrox book Professional DotNetNuke Module Programming by Mitchel Sellers and Shaun Walker - Wrox DotNetNuke Series Editor; ISBN: 978-0-470-17116-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 8th, 2010, 02:00 PM
Registered User
 
Join Date: Jul 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question about settings ..

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...





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use Settings.Settings arnabghosh WinForms/Console Application Design 1 October 20th, 2009 09:09 AM
Using My.Settings with a variable rpjamess1 Visual Basic 2008 Essentials 1 December 24th, 2008 12:01 PM
Changing Settings.settings when assembly is in GAC evandro.paula .NET Framework 2.0 0 September 25th, 2007 09:54 AM
Browser Settings... arjun_a ASP.NET 2.0 Basics 1 December 26th, 2006 03:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.