Baatezu wrote
I use it in the Page_Load section of the modules server side code.
Gotcha... kinda (once again, not a real codemonkey myself yet.
I've taken a look and I think I may have found what needs to be edited, but wanted to pass this by everyone's eyes before I commit any major changes.
Summary of Issue: I have one page (maybe two, but that's it) that is secured using SSL. I need to make sure that when people navigate AWAY from that page that the URL uses the HTTP protocol instead of HTTPS to avoid the "This page has unsecured data" that arises from the use of iFrames elsewhere on the website.
What I Have Found:
As it would need to be checked on each page, I looked at the Default.aspx.vb file and found the following section:
Line 639:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Scrolltop As HtmlControls.HtmlInputHidden = CType(Page.FindControl("ScrollTop"), HtmlControls.HtmlInputHidden)
If Scrolltop.Value <> "" Then
DotNetNuke.UI.Utilities.DNNClientAPI.AddBodyOnloadEventHandler(Page, "__dnn_setScrollTop();")
Scrolltop.Value = Scrolltop.Value
End If
Would this be where the code needs to be inserted, and if so what would be the best method to use? As I said, I'm a code-monkey so I'm hesitant to change this code without knowing what I'm doing.
Thanks agian for all the help!