Hi -
I have a quick module development newbie question that I hope somone can give me insight to. I hope this is an appropriate forum...
I would like to use some custom portal settings but cant seem to call it in
code...
if i use:
Dim setting As Object = UserModuleBase.GetSetting(0,
"Security_EmailValidation")
Label1.Text = CType(setting, String)
My label1 displays: \b[a-zA-Z0-9._%\-+']+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,4}\b
but...
If I add my own setting to the table, PortalSettings (SettingName:My_Test ,
SettingValue: Hello)
and try call it the same way:
Dim setting As Object = UserModuleBase.GetSetting(0, "My_Test")
Label1.Text = CType(setting, String)
My Label.text shows nothing...
Is this even possible?
Thanks
|