Mitch,
Thanks for the reply, but I still think based on my understanding, that it's not working properly.
I have since changed my code to have a LinkButton that triggers the setting of the profile
Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click
DotNetNuke.Services.Personalization.Personalization.SetProfile("MyApp", "CurrentLoc", ListBox1.SelectedItem.Text)
Label1.Text = "Current Location =" + DotNetNuke.Services.Personalization.Personalization.GetProfile("MyApp", "CurrentLoc") + " Select New: "
End Sub
After clicking this, moving to another page, and then coming back,.. in my page_load code
Label1.Text = "Current Location =" + DotNetNuke.Services.Personalization.Personalization.GetProfile("MyApp", "CurrentLoc") + " Select New: "
Is the exact same thing. My thought was that if I update the profile here, and then navigate away and come back, the Profile information would be maintained. This seems to work brilliantly in the Survey module I tried out as a tutorial. If I put in my survey - even coming back the next day it displays correctly right away. It seems instantaneous in its saving of the profile info.
Thanks!
Mike
PS: Although looking at it now I guess I also need to make sure I'm using ListBox1 right.
PPS: OK now when I change my code in Visual Web Dev Express, and rebuild that module page, it seems to work perfectly only in Edit mode for my Administrative user. But in view mode and for any other user, the module doesn't work. For my development learning I'm modifying DesktopModules\MarketShare\View.ascx and View.ascx.vb. I really think this is right but now it's just confusing to me. I think it's time for me to look at debugging and development strategies for DNN using Web Dev Express, but I still don't get why the Survey component works and mine doesn't.