Developer forum

Forum » Development » LoadControl
Aki Ruuskanen
Reply
Hi,

The LoadControl does not seem to work. I have the code below (also in the attachment):

 <!--@LoadControl(/Files/System/UserControls/newslist.ascx)-->


but it is not parsed. I also tried to Insert ascx module with same result.

I made a case about it but the support wont help with the loadcontrol tag.

Regards / Aki

Replies

 
Nicolai Høeg Pedersen
Reply
Which solution is it? Is it custom?

Then check if the Default.aspx.vb/cs does something like this:
Dim pvCtl As New PageviewControl
Output.Controls.Add(pvCtl)
pvCtl.Pageview = Pageview
pvCtl.ParseControls()


 

You must be logged in to post in the forum