Try Now
More in this section

Forums / Suggestions / Custom Controls without standard box

Custom Controls without standard box

2 posts, 0 answered
  1. Jaime Weise
    Jaime Weise avatar
    120 posts
    02 Nov 2008
    24 May 2011
    Link to this post
    What is that huge block?
    When I create my custom control it is dragged onto the surface and there is this big block element on the canvas. I have made some simple custom controls that basically hold a formatted link. 

    For example. I create a list item as a custom control. 

    <custom control>

    <li> <a href='<%# NavigateUrl'><%# LinkText %></a></li>

    Then in the  page I create a simple placeholder within the list.

    <asp:ContentPlaceHolder ID="ContentPlaceHolderFormattedLinks" runat="server" >

    This certainly works. I can register my user control and start dragging links into the template. However, this list becomes a massive section of blocks that you can't see properly until runtime. It would be nice if there was a light-weight user control that allowed us to have the code render just as it would at runtime rather than all the designer bulk. You could easily add a mouseover to view the context menu for these items.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    24 May 2011
    Link to this post
    Hi Jaime,

    Thanks for your suggestion. We will log it and consider it as a feature implementation. Currently you can create a custom widget that works in a similar way as CotnentBlock where you can inject your links. You can expose some custom properties or a single property of type string that you can serialize.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered