Developer forum

Forum » Development » Dynamicweb Controls (New GUI)

Dynamicweb Controls (New GUI)


Reply

 

Hi guys,

 

I have created a Custom Module with a little bit of the new GUI, but I have some issues getting the toolbar i VS 2008 working.

 

When I add the Dynamicweb.Controls.dll to the toolbar, the error is:

There was an error loading types from asembly \\dev02\Dynamicweb.net\Application\bin\Dynamicweb.Controls.dll

Request for the permission of type: 'System.Web.AspNetHostingPermissions' 'blablabla' failed...

 

Anyone had this, and know how to fix it???

 

The other problem (probably relate) is that the <dw: tag isn't recognized by VS2008. I have checked that it is in my refferencefolder, and is in the web.config:add assembly="Dynamicweb.Controls" namespace="Dynamicweb.Controls" tagPrefix="dw"/>

 

 

Thanx :-)

<


Replies

 
Reply
You will need to add a control.

Heres an exsample, controls are located under pages in your web.config.

   <controls>
            <add tagPrefix="" namespace=""
                 assembly="" />
        </controls>


alternatively you can add this under your <%@ Page

<%@ Register Assembly="Dynamicweb.Controls" Namespace="Dynamicweb.Controls" TagPrefix="dw" %>

 

 

You must be logged in to post in the forum