Hello
I made an "Hello World" test as a ascx userControl file:
I folowd the guide http://developer.dynamicweb.dk/Weblog-16918.aspx?action=ShowArticle&ArticleID=120
Here are my files:
test.ascx:
<%@ Control Language="VB" ClassName="test" CodeFile="test.ascx.vb" %>
-- end file ---
test.ascx.vb
Partial Class test
Inherits System.Web.UI.UserControl
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Label1.Text = "Hej .."
End Sub
End Class
-- end file ---
The are in folder /Files/system/UserControls/
I have selv created the folder "UserControls"
We made a template .. and included ..<!--@LoadControl(/Files/System/UserControls/test.ascx)-->
Then the page comes with an error 404