private void AddUserControlsToContent(HtmlTableRowCollection rows)
        {
            Control detailsUserControl = this.Page.LoadControl(_ascxDetailsPath);

            HtmlTableCell cellDetailsUC = new HtmlTableCell();
            divDetailsControlContainer.Controls.Add(detailsUserControl);
            cellDetailsUC.Controls.Add(divDetailsControlContainer);
            HtmlTableRow rowDetailsUC = new HtmlTableRow();
            rowDetailsUC.Cells.Add(cellDetailsUC);

            rows.Add(rowDetailsUC);
        }
        private void AddJQGridHtmlElementsToContent(HtmlTableRowCollection rows)
        {
            HtmlTableCell cellJQGrid = new HtmlTableCell();
            HtmlTableRow rowJQGrid = new HtmlTableRow();

            HtmlGenericControl divJQGrid = new HtmlGenericControl();
            divJQGrid.ID = "jqGid";

            HtmlTable table = new HtmlTable();
            table.ID = "gridViewSampleList";
            table.Attributes.Add("cellpadding", "0");
            table.Attributes.Add("cellspacing", "0");
            table.Attributes.Add("class", "SAMPLE_WP_LIST");

            divJQGrid.Controls.Add(table);

            divGridPager = new HtmlGenericControl();
            divGridPager.ID = "gridViewSampleListPager";
            divGridPager.Attributes.Add("style", "text-align: center;");
            divGridPager.Attributes.Add("class", "SAMPLE_WP_PAGER");
            divGridPager.TagName = "div";

            divJQGrid.Controls.Add(divGridPager);

            cellJQGrid.Controls.Add(divJQGrid);

            rowJQGrid.Cells.Add(cellJQGrid);

            rows.Add(rowJQGrid);
        }