+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Goondocks Sitefinity Controls updated for Sitefinity 3.5 SP1

Goondocks Sitefinity Controls updated for Sitefinity 3.5 SP1

16 posts, 0 answered
  1. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    04 Nov 2008
    Link to this post

    This will probably only be of minor interest to anyone, but I finally got around to updating the Goondocks Sitefinity Controls to work with Sitefinity 3.5 SP1.  A short blog post on this subject can be found here:

    http://www.goondocks.com/blog/08-11-04/Upgraded_from_Sitefinity_3_2_to_Sitefinity_3_5_SP1.aspx

    The controls can be found here:

    http://www.goondocks.com/projects/goondocks-sitefinity-controls.aspx

    These controls are a random collection of custom controls I created in the past for Sitefinity.  You might be interested in using some of these controls in your own Sitefinity project.  If not, they might help by showing some code examples.  Either way you are welcome to use them if you like.

    Gabe Sumner
    http://www.goondocks.com/

  2. Mark
    Mark avatar
    10 posts
    Registered:
    20 Feb 2008
    06 Nov 2008
    Link to this post
    I very much appreciate these.
    Had no problem getting them setup.

    Did surprise me when Sitefinity 3.5 Std. walked me through the SQL Server setup again however.
    I didn't have any trouble getting past that, just didn't expect it.

    I'm an ASP.NET Technical Evangelist and just started using Sitefinity for the first time, on IIS7 too for that matter. ;-)
    Your previous posts about the DASP timed page hits helped a lot too.
    They're probably going to shoot me for hitting it every 15 minutes but the site is loading faster now.
      Salute,
        Mark Wisecarver
  3. Shawn Davis
    Shawn Davis avatar
    81 posts
    Registered:
    13 Oct 2012
    20 Apr 2010
    Link to this post
    Gabe,

    I just left this comment below in the marketplace.  I seem to be having a version issue with your goondocks controls.  I'm using 3.7 and I see now that they perhaps only support up to 3.5.  Will you be updating them?  Do any of them work with 3.7 as is?

    Thanks!

    20 Apr 2010
    01:38 PM
    I installed with 3.7 and am getting this error:

    Error 101 Could not load file or assembly 'RadUpload.Net2' or one of its dependencies. The system cannot find the file specified. C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\GoonDocksSitefinityControls\GoonDocks\Admin\ControlTemplates\DocumentControlDesigner.ascx 1 

    I can't seem to find a fix for this, any suggestions?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    20 Apr 2010
    Link to this post
    Hello Shawn Davis,

    Replace the reference with Telerik.Web.UI. All RadControls for ASP.NET AJAX are embedded into Telerik.Web.UI.dll.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Shawn Davis
    Shawn Davis avatar
    81 posts
    Registered:
    13 Oct 2012
    20 Apr 2010
    Link to this post
    The line that generates the error is this:

    <%

    @ Register Namespace="Telerik.WebControls" Assembly="RadUpload.Net2" TagPrefix="radU" %>

    When I replace either the namepsace or the assembly with your suggestion I still get an error.  Could you be more specfic about what I should change?  Thanks for your prompt response!

     

  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    20 Apr 2010
    Link to this post
    Hi Shawn Davis,

    public class RadUpload
    . Telerik.Web.UI Version=2010.1.309.35 / 20

    Namespace: Telerik.Web.UI
    Assembly: Telerik.Web.UI


    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  7. Shawn Davis
    Shawn Davis avatar
    81 posts
    Registered:
    13 Oct 2012
    20 Apr 2010
    Link to this post
    That works - thanks!  But as I continue through the compile I keep hitting more and more problems.  I don't think I did anything wrong installing the controls.  I've corrected a few things myself (source paths) but now I'm getting this:

    Error 1 The type or namespace name 'Manoli' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\GoonDocksSitefinityControls\GoonDocks\UserControls\FormatCode.ascx.cs 1 

    This is the line:

    using

     

    Manoli.Utils.CSharpFormat;

    Also got this:
    Error 3 The type or namespace name 'GoonDocks' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\GoonDocksSitefinityControls\GoonDocks\UserControls\Document.ascx.cs 12 

    from this line:

     

    public

     

    partial class GoonDocks_UserControls_Document : GoonDocks.ControlBases.DocumentBase

    Did I install something wrong?  Or do these controls just need to be updated?

     

     

    Thanks!

  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    20 Apr 2010
    Link to this post
    Hi Shawn Davis,

    Manoli project - http://www.manoli.net/csharpformat/

    Error 3 The type or namespace name 'GoonDocks' could not be found


    partial class GoonDocks_UserControls_Document - you do not have the same folder structure on which the control was initially added (root/ GoonDocks/UserControls

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  9. Shawn Davis
    Shawn Davis avatar
    81 posts
    Registered:
    13 Oct 2012
    20 Apr 2010
    Link to this post
    OK.  I think I got the pathing straightened out.  Hopefully this is the last item.

    Getting this:
    Error 5 The type name 'RadTreeViewEventHandler' does not exist in the type 'Telerik.Web.UI.RadTreeView' C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 120 52 C:\...\PTOsite\

    This is the line:

    tree.NodeExpand +=

    new RadTreeView.RadTreeViewEventHandler(tree_NodeExpand);

     


    Thanks!

    BTW, I was surprised to notice that you don't give telerik points for people answering forum queries.  It seems like that would take a big load off of your support people.  It seems to works well in the ASP.Net forums.
  10. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    20 Apr 2010
    Link to this post
    Hello Shawn Davis,

    You need to add the handler as shown below

    v.NodeExpand += new RadTreeViewEventHandler(v_NodeExpand);
     
     void v_NodeExpand(object sender, RadTreeNodeEventArgs e)
    {
        throw new NotImplementedException();
    }

    We have community recognition program  http://www.telerik.com/community/community-recognition.aspx

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  11. Shawn Davis
    Shawn Davis avatar
    81 posts
    Registered:
    13 Oct 2012
    20 Apr 2010
    Link to this post

    That helped a bit but here is all the code that still has problems:

    protected override void CreateChildControls()
    {
        this.Controls.Clear();
        this.container = new SiteMapContainer(this);
        if (this.itemTemplate == null)
        {
            if (this.Page != null)
            {
                string path = this.ItemTemplatePath;
                if (File.Exists(this.Page.MapPath(path)))
                    this.itemTemplate = this.Page.LoadTemplate(path);
                else
                    this.itemTemplate = new DefaultTemplate();
            }
        }
        this.itemTemplate.InstantiateIn(this.container);
        this.tree = this.container.Tree;
        if (tree != null)
        {
            tree.NodeExpand += new RadTreeViewEventHandler(tree_NodeExpand);
            RadTreeNode root = new RadTreeNode();
            root.CssClass = "cmsRoot";
            root.CssClassOver = "cmsRootOver";
            root.CssClassSelect = "cmsRootSelect";
            root.Value = Guid.Empty.ToString();
            root.Text = "All Pages";
            root.Expanded = true;
            root.ToolTip = "";
            tree.Nodes.Add(root);
            this.LoadNodes(root);
        }
        this.Controls.Add(this.container);
    }
    private void LoadNodes(RadTreeNode root)
    {
        foreach (ICmsPage page in manager.GetPages(new Guid(root.Value)))
        {
            RadTreeNode node = new RadTreeNode();
            node.Value = page.ID.ToString();
            node.Text = page.MenuName;
            node.ToolTip = page.MenuName;
            if (page.Pages.Count > 0)
            {
                node.ExpandMode = ExpandMode.ServerSide;
            }
            if (page.ID == UrlHelper.HomePageID)
            {
                node.CssClass = "cmsHomePageNode";
                node.CssClassOver = "cmsHomePageNodeOver";
                node.CssClassSelect = "cmsHomePageNodeSelect";
            }
            else if (page.PageType == CmsPageType.External)
            {
                node.CssClass = "cmsExternalPageNode";
                node.CssClassOver = "cmsExternalPageNodeOver";
                node.CssClassSelect = "cmsExternalPageNodeSelect";
            }
            else if (page.PageType == CmsPageType.Group)
            {
                node.CssClass = "cmsPageGroup";
                node.CssClassOver = "cmsPageGroupOver";
                node.CssClassSelect = "cmsPageGroupSelect";
            }
            root.Nodes.Add(node);
        }
    }
    void tree_NodeExpand(object sender, RadTreeNodeEventArgs e)
    {
        this.LoadNodes(e.NodeClicked);
    }

    And here are the errors:
    Error 7 'Telerik.Web.UI.RadTreeNode' does not contain a definition for 'CssClassOver' and no extension method 'CssClassOver' accepting a first argument of type 'Telerik.Web.UI.RadTreeNode' could be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 124 22 C:\...\PTOsite\

    Error 8 'Telerik.Web.UI.RadTreeNode' does not contain a definition for 'CssClassSelect' and no extension method 'CssClassSelect' accepting a first argument of type 'Telerik.Web.UI.RadTreeNode' could be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 125 22 C:\...\PTOsite\

    Error 9 The name 'ExpandMode' does not exist in the current context C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 148 39 C:\...\PTOsite\

    Error 10 'Telerik.Cms.Web.UrlHelper' does not contain a definition for 'HomePageID' C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 151 42 C:\...\PTOsite\

    Error 11 'Telerik.Web.UI.RadTreeNode' does not contain a definition for 'CssClassOver' and no extension method 'CssClassOver' accepting a first argument of type 'Telerik.Web.UI.RadTreeNode' could be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 154 26 C:\...\PTOsite\

    Error 12 'Telerik.Web.UI.RadTreeNode' does not contain a definition for 'CssClassSelect' and no extension method 'CssClassSelect' accepting a first argument of type 'Telerik.Web.UI.RadTreeNode' could be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 155 26 C:\...\PTOsite\

    Error 13 'Telerik.Web.UI.RadTreeNode' does not contain a definition for 'CssClassOver' and no extension method 'CssClassOver' accepting a first argument of type 'Telerik.Web.UI.RadTreeNode' could be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 160 26 C:\...\PTOsite\

    Error 14 'Telerik.Web.UI.RadTreeNode' does not contain a definition for 'CssClassSelect' and no extension method 'CssClassSelect' accepting a first argument of type 'Telerik.Web.UI.RadTreeNode' could be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 161 26 C:\...\PTOsite\

    Error 15 'Telerik.Web.UI.RadTreeNode' does not contain a definition for 'CssClassOver' and no extension method 'CssClassOver' accepting a first argument of type 'Telerik.Web.UI.RadTreeNode' could be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 166 26 C:\...\PTOsite\

    Error 16 'Telerik.Web.UI.RadTreeNode' does not contain a definition for 'CssClassSelect' and no extension method 'CssClassSelect' accepting a first argument of type 'Telerik.Web.UI.RadTreeNode' could be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 167 26 C:\...\PTOsite\

    Error 17 'Telerik.Web.UI.RadTreeNodeEventArgs' does not contain a definition for 'NodeClicked' and no extension method 'NodeClicked' accepting a first argument of type 'Telerik.Web.UI.RadTreeNodeEventArgs' could be found (are you missing a using directive or an assembly reference?) C:\Program Files\telerik\Sitefinity3.7 Community\WebSites\PTOsite\App_Code\GoonDocks\Admin\WebEditors\PageIdEditor.cs 175 30 C:\...\PTOsite\

    Sorry for all this but hopefully this helps someone else using the Goondocks controls.

  12. Shawn Davis
    Shawn Davis avatar
    81 posts
    Registered:
    13 Oct 2012
    20 Apr 2010
    Link to this post
    With some digging I got everything starightened out except this:

     

     

    public

     

    class SiteMapContainer : GenericContainer<PageIdWebEditor>

     


    It says that this is obsolete and that I should use GenericConatiner instead; not sure what that means or how I should change it.

    Thanks for all the help!

  13. Shawn Davis
    Shawn Davis avatar
    81 posts
    Registered:
    13 Oct 2012
    21 Apr 2010
    Link to this post
    I still can't use several of the goondocks controls as I'm still generating errors on rebuild.
    This line from the code below is one, does anyone know how to resolve this?  It's saying  I should use GenricContainer instead.  I confess as a new ASP.net proigrammer I'm not sure what this code does or how to change it.

    private

     

    class Container : GenericContainer<FormatCodeControlDesigner>

     


    private class Container : GenericContainer<FormatCodeControlDesigner>
           {
               public Container(FormatCodeControlDesigner owner)
                   : base(owner)
               {
               }
               public RadioButtonList CodeType
               {
                   get
                   {
                       if (this.codeType == null)
                           this.codeType = base.FindRequiredControl<RadioButtonList>("CodeType");
                       return this.codeType;
                   }
               }
  14. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    21 Apr 2010
    Link to this post
    Hello Shawn Davis,

    Generic containers are controls that are used as containers for other controls defined through control templates (ITemplate). I do not see any problem with the code pasted. The problem should be somewhere else.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  15. Shawn Davis
    Shawn Davis avatar
    81 posts
    Registered:
    13 Oct 2012
    22 Apr 2010
    Link to this post
    Just a final note from me.  For the Goondocks/Sumner controls I can't get File, Links, Sitemap or Tablinks to work with the current 3.7 version and I just don't have the time or expertise to go through them and get them working right now.  I was really hoping to use the Links control but oh well.  If someone else updates them (Gabe?) maybe you can post the fixes here.  I have to assume there are other people who would like to use them...

    Telerik Support has been great on this btw  - thanks.

    Shawn
  16. Brett
    Brett avatar
    36 posts
    Registered:
    23 Jul 2010
    01 Sep 2010
    Link to this post
    I would like to use some of the controls also, but cannot get them to work in 3.7 SP3. Has anyone undertaken fixing them to work in later versions?

    Thanks!
Register for webinar
16 posts, 0 answered