I need to pass dynamic data (a textbox) from the page to my custom profile provider.
The problem is that the Initialization method has no parameters that allow me accesss the the page calling it.
I need a simple string from the calling page passed to the profile provider. I've tried creating a parameterized constructor for the profile provider, but everytime I do the following on the page:
Dim sqlTBL As SqlTableProfileProvider = New SqlTableProfileProvider(Me.getSiteName)
Profile.site = Me.lblURL.Text & Me.txtName.Text
The Profile object uses the default constructor and creates a new instance of my custom profile provider.
Any suggestions?