Here is the solution of the problem.
On the button onClick server side action use the following code
Globals.NavigateURL( TabId, "ControlName", "Param1", ParamValue, "SkinSrc=[G]" + Globals.QueryStringEncode( DotNetNuke.UI.Skins.SkinInfo.RootSkin + "/" + Globals.glbHostSkinFolder + "/" + "No Skin" ), "ContainerSrc=[G]" + Globals.QueryStringEncode( DotNetNuke.UI.Skins.SkinInfo.RootContainer + "/" + Globals.glbHostSkinFolder + "/" + "No Container" ) );or for simple not showing skin you can use
NavigateURL( TabId, "ControlName", "Param1", ParamValue, SkinSrc=[G]" + Globals.QueryStringEncode( DotNetNuke.UI.Skins.SkinInfo.RootSkin + "/" + Globals.glbHostSkinFolder + "/" + "No Skin" ) )
Explanation: [G] is used in Dotnetnuke as a placeholder for current portal location of the specific folder. No Skin is a skin file (No Skin.ascx) in Skin folder in path \portals. There is even a No Container.ascx in container folder if you dont want to use Container.
/Adnan
This post is from my old blog dated January 2012, that unfortunately no longer exist.
0 comments :
Post a Comment