public void setSprint(Entities.Models.Sprint p_sprint, ref int CounterComment, ref int CounterBug, ref int CounterTask, ref int CounterDone)
    {
        i_sprint            = p_sprint;
        SpanTitle.InnerText = i_sprint.DESCRIPTION;
        SpanDate.InnerText  = i_sprint.CREATED.ToShortDateString();
        SpanUser.InnerText  = i_sprint.USER.USER;
        jtestado.InnerText  = "(" + i_sprint.ESTADO + ")";
        string state;

        jtestado.Attributes["class"] = "NormalLabel ST" + i_sprint.ESTADO.ToLower();
        //#666666 pausado
        //#66ff66 desarrollo
        //#6666ff analisis
        //#ffffff finalizado

        List <Post> PostsList = Post.GetPostsFromSprint(i_sprint);

        if (PostsList != null && PostsList.Count > 0)
        {
            CantSprintPosts.InnerText = PostsList.Count.ToString();
        }
        else
        {
            CantSprintPosts.Visible = false;
        }
        if (PostsList != null)
        {
            foreach (Post p in PostsList)
            {
                ctrl_Post2 controlpost = LoadControl("ctrl_Post2.ascx") as ctrl_Post2;
                controlpost.setPost(p, 1, ref CounterComment, ref CounterBug, ref CounterTask, ref CounterDone);
                POSTS.Controls.Add(controlpost);
            }
        }
    }
    void BuildPost(int level, ref int CounterComment, ref int CounterBug, ref int CounterTask, ref int CounterDone)
    {
        string[] lines = TratamientoLink(i_Post.BODY).Split(new[] { Environment.NewLine }, StringSplitOptions.None);
        foreach (string s in lines)
        {
            txtPostContent.InnerHtml += s + "<br/>";
        }
        nombreusuario.InnerText = i_Post.USER.USER;
        Fecha.InnerText         = i_Post.DATE.ToShortDateString() + " " + i_Post.DATE.ToShortTimeString() + " Post N:" + i_Post.ID.ToString();



        rol.InnerText = "(" + i_Post.USER.ROLE.ROL + ")";
        if (i_Post.CHILDRENPOSTS.Count > 0)
        {
            CantidadRespuestas.InnerText = "Cantidad de comentarios:" + i_Post.CHILDRENPOSTS.Count.ToString();
        }
        if (i_Post.CHILDRENPOSTS.Count > 0)
        {
            foreach (Post p in i_Post.CHILDRENPOSTS)
            {
                ctrl_Post2 c = LoadControl("ctrl_Post2.ascx") as ctrl_Post2;
                c.setPost(p, level + 1, ref CounterComment, ref CounterBug, ref CounterTask, ref CounterDone);
                ChildPosts.Controls.Add(c);
            }
        }
    }