I am extremely new to dotnetnuke. I don't know which server side language can write in Dotnetnuke skin.ascx page. How to write server side script in skin.ascx file?
+4
A:
just use <% %>
same as normal .aspx./ascx page, for example:
<%
DotNetNuke.Framework.jQuery.RequestRegistration()
%>
just use the syntax of vb or c# whatever you are using
lakhlaniprashant.blogspot.com
2010-08-30 11:07:33
+3
A:
Or alternatively use this. Also works with VB or C#
<script runat="server">
Protected Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'do something'
End Sub
</script>
sway
2010-09-03 17:37:17