Hi, i have been strugglng for a couple of hours with the following problem. I have a image link button that is trying to do response.redirect but as soon as it executes i get an exeption in the DNN skinning engine. My code is not related to the skinning engine at all.
Here is my code...
Protected Sub ImgViewCart1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImgViewCart1.Click
Dim URL As String = NavigateURL(_ViewCartPageID)
Response.Redirect(URL)
End Sub
if have confirmed that the NavigateURL(_ViewCartPageID) function return the following: "/DNN/Home/tabid/38/ctl/74/Default.aspx"
Here is the exception that i receive:
Object reference not set to an instance of an object.
at DotNetNuke.UI.Skins.Skin.ProcessSlaveModule()
at DotNetNuke.UI.Skins.Skin.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.Add(Control child)
at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) in C:\inetpub\wwwroot\DNN\Default.aspx.vb:line 492
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.Page.OnInit(EventArgs e)
at DotNetNuke.Framework.PageBase.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any idea? please help.