void WriteFrame(HtmlTextWriter htmlTextWriter, string url, string nameQualifier, bool fullWidth)
        {
            bool isIpad = SlkUtilities.IsIpad();

            htmlTextWriter.Write("<iframe ");
            if (fullWidth)
            {
                if (isIpad == false)
                {
                    htmlTextWriter.Write("width=\"100%\" ");
                }
            }
            else
            {
                htmlTextWriter.Write(" style=\"width :");
                htmlTextWriter.Write(SummaryWidth.ToString(CultureInfo.InvariantCulture));
                htmlTextWriter.Write("\" ");
            }

            if (isIpad == false)
            {
                htmlTextWriter.Write(" height=\"100%\" ");
            }

            htmlTextWriter.Write(" frameborder=\"0\" src=\"");
            htmlTextWriter.Write(url);
            htmlTextWriter.Write("\" name=\"");
            htmlTextWriter.Write(frameId);
            htmlTextWriter.Write(nameQualifier);
            htmlTextWriter.Write("\"></iframe>");
        }
        void WriteSummary(HtmlTextWriter htmlTextWriter, string urlQueryString)
        {
            htmlTextWriter.Write("<td height=\"100%\" style=\"height:100%; width :");
            htmlTextWriter.Write(SummaryWidth.ToString(CultureInfo.InvariantCulture));
            htmlTextWriter.Write("\">");

            // Get the ServerRelativeUrl for QueryResultPage
            string urlString = SlkUtilities.UrlCombine(SPWeb.ServerRelativeUrl, Constants.SlkUrlPath, Constants.QuerySetPage);

            //Append the QueryString Values
            urlString += urlQueryString;
            WriteFrame(htmlTextWriter, urlString.ToString(), "_AlwpQuerySummary", false);

            htmlTextWriter.Write("</td>");
        }