Developer forum

Forum » Development » @LoadControl - what is that

@LoadControl - what is that


Reply

 

I have a new (old) client with that has this on one of his pages.

I can understan what it is supposed to do.

 

"!--@LoadControl(/Files/System/UserControls/SubscribeCampaign.ascx)--"

 

But after the last update it stopped working

I cannot find any documentation on this..

 

 

/Lars


Replies

 
Reply

OK - i found a blog entry about this.

 

http://documentation.dynamicweb.dk/Blogs-25347.aspx?action=ShowArticle&ArticleID=120

 

But it seems as if the @LoadControl tag is omitted in the latest update.

 

On all pages it simply stands out in clear text in the html source

 

http://www.studyabroad.dk/Default.aspx?ID=1119&Purge=True

 

I have filed a case with helpdesk..

 

/Lars

 

 
Reply

Excellent, thanks:)

 
Reply

 

Hi,

 

I have been experiencing the same issue lately, the @LoadControl does not seem to be working in the new version.  Any help regarding this will be greatly appreciated.

 

Chris

 
Nicolai Høeg Pedersen
Reply

Hi Chris

 

The Above solution was not installed correctly on our servers...

 

There have been no changes with this feature in last release, and we have checked that i works - and it does.

 

You should check your Default.aspx file for how it looks. Before this feature was introduced it looked like this:

<asp:literal id="output" runat="server"></asp:literal>
<asp:literal id="Status" runat="server"></asp:literal>

 

 

Now it has to look like this:

<asp:placeholder id="output" runat="server"></asp:placeholder>
<asp:literal id="Status" runat="server"></asp:literal>

 

If you do not have the latter - thats the problem. Otherwise post the URL here or in the helpdesk.

 
Reply
np wrote:

Hi Chris

 

The Above solution was not installed correctly on our servers...

 

There have been no changes with this feature in last release, and we have checked that i works - and it does.

 

You should check your Default.aspx file for how it looks. Before this feature was introduced it looked like this:

<asp:literal id="output" runat="server"></asp:literal>
<asp:literal id="Status" runat="server"></asp:literal>

 

 

Now it has to look like this:

<asp:placeholder id="output" runat="server"></asp:placeholder>
<asp:literal id="Status" runat="server"></asp:literal>

 

If you do not have the latter - thats the problem. Otherwise post the URL here or in the helpdesk.

Hi Nicolai,
 

 

Thanks for your quick reply.  I needed to make some minor modifications to the code behind, but it work great.

 

Thanks again,

Chris

 

You must be logged in to post in the forum