I can't seem to get this to function correctly, or may be I don't understand it.....
Client Side:
To Set: dnn.setVar('mySetting', 'ABC')
Server Side:
To Initialize, in Form Load
If Not Page.IsPostBack Then
DotNetNuke.UI.Utilities.ClientAPI.RegisterClientVariable(Me.Page, "mySetting", "123", True)
End if
To read var: Dim myVal As String = DotNetNuke.UI.Utilities.ClientAPI.GetClientVariable(Me.Page, "mySetting")
Questions......
Does mySetting get defined anywhere?
When I get the setting on the client side, it always contains my initial value of "123". It should be "ABC".