public static string GetListAllItemView(long pageNo, long itemsPerPage, long dataIndex, string templateSuffix)
        {
            string message = "";

            if (itemsPerPage == 0)
            {
                itemsPerPage = UtilsGeneric.DefaultItemsPerPage;
            }
            long   totalPages;
            long   totalItems;
            string htmlTextItemList = "";

            if (UtilsSecurity.HaveAdminRole() == false)
            {
                //TemplateSubscriberView subscriberView = new TemplateSubscriberView
                //{
                //    DataIndex = dataIndex.ToString(),
                //    PageNo = pageNo.ToString(),
                //    ItemsPerPage = itemsPerPage.ToString(),
                //    TemplateSuffix = templateSuffix
                //};
                //htmlTextItemList = subscriberView.GetFilled(templateSuffix, UtilsGeneric.Validate, UtilsGeneric.ThrowException, out message);
            }
            else
            {
                #region Get Fill List

                #region Get Paged Data

                List <LTD_Subscriber> ltdSubscriberList = DataInfoList.GetAllLtdSubscriber(pageNo, itemsPerPage, out totalPages, out totalItems);

                #endregion

                if (ltdSubscriberList.Count > 0)
                {
                    #region Get Pager Details

                    string topPagerDetails    = UtilsGeneric.GetItemPagerView(pageNo, itemsPerPage, dataIndex, templateSuffix, totalPages, RefreshListFunctionName, "");
                    string bottomPagerDetails = UtilsGeneric.GetLinkPagerView(pageNo, itemsPerPage, dataIndex, templateSuffix, totalPages, totalItems, RefreshListFunctionName, "");

                    #endregion

                    #region Append Top Pager

                    if (topPagerDetails.Trim().Length > 0)
                    {
                        htmlTextItemList += topPagerDetails;
                    }

                    #endregion

                    #region Append Items

                    int index = 0;
                    for (; index < ltdSubscriberList.Count; index++)
                    {
                        LTD_Subscriber ltdSubscriber        = ltdSubscriberList[index];
                        string         htmlTextItemTemplate = GetListSingleItemView(ltdSubscriber, pageNo, itemsPerPage, dataIndex, templateSuffix);
                        htmlTextItemList += htmlTextItemTemplate;
                    }

                    #endregion

                    #region Append Bottom Pager

                    if (bottomPagerDetails.Trim().Length > 0)
                    {
                        htmlTextItemList += bottomPagerDetails;
                    }

                    #endregion
                }

                #endregion

                #region Set Fill List

                if ((htmlTextItemList.Length == 0) && (UtilsSecurity.HaveAdminRole() == true))
                {
                    TemplateSubscriberListDetailEmpty subscriberListDetailEmpty = new TemplateSubscriberListDetailEmpty
                    {
                        DataIndex      = dataIndex.ToString(),
                        PageNo         = pageNo.ToString(),
                        ItemsPerPage   = itemsPerPage.ToString(),
                        TemplateSuffix = templateSuffix
                    };
                    htmlTextItemList = subscriberListDetailEmpty.GetFilled(templateSuffix, UtilsGeneric.Validate, UtilsGeneric.ThrowException, out message);
                }
                #endregion
            }

            return(htmlTextItemList);
        }