Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bex 444 posts 555 karma points
    Aug 20, 2014 @ 16:06
    Bex
    0

    Cannot reference umbraco.uicontrols in visual studio

    Hi

    I am creating a custom backend page and I want to use the umbraco uicontrols like the umbracopanel and propertypanel.

    I am using

    MasterPageFile="~/umbraco/masterpages/umbracoPage.Master"
    

    and inheriting from the UmbracoEnsuredPage.

    but when I try doing something like this:

    <%@ Register Assembly="controls" Namespace="umbraco.uicontrols" TagPrefix="cc1" %>
    <asp:Content id="Content1" contentplaceholderid="body" runat="server">
      <cc1:UmbracoPanel ID="Umbracopanel1" runat="server" Text="">          
          <cc1:PropertyPanel ID="PropertyPanel1" runat="server" Text="test">                          
           </cc1:PropertyPanel>
      </cc1:UmbracoPanel>
    

    I get a red squiggly under "umbraco" in the register assembly bit saying it's ambiguous and under all the umbraco ui controls I have no intellisense.

    I am referencing the following dlls

    • businesslogic
    • clientDependence.Core
    • cms
    • controls
    • interfaces
    • umbraco.core
    • umbraco.datalayer
    • umbraco

    It's not a complete show stopper as everything still compiles and when I put my page into the umbraco site it all works fine but it's getting difficult to develop like this!

    What am I missing?

    Thanks

    Bex

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies