GetFilled() public méthode

public GetFilled ( string templateSuffix, bool validate, bool throwException, string &retMessage ) : string
templateSuffix string
validate bool
throwException bool
retMessage string
Résultat string
Exemple #1
0
        public static string GetListDetailView(long pageNo, long itemsPerPage, long dataIndex, string templateSuffix, string configToken)
        {
            string htmlListAllItem = GetListAllItemView(pageNo, itemsPerPage, dataIndex, templateSuffix, configToken, 0, 0);

            string message;
            var templateListDetail = new TemplateDataListDetail
            {
                ListItem = htmlListAllItem,
                DataIndex = dataIndex.ToString()
            };
            string htmlListDetail = templateListDetail.GetFilled(templateSuffix, UtilsGeneric.Validate,
                                                                            UtilsGeneric.ThrowException, out message);
         
            return htmlListDetail;
        }
Exemple #2
0
        private static string GetListChildDetailView(CND_Data parentCndData, long pageNo, long itemsPerPage, long dataIndex, string templateSuffix, string configToken)
        {
            string htmlListAllItem = GetListChildAllItemView(parentCndData, pageNo, itemsPerPage, dataIndex, templateSuffix, configToken);

            string message;
            if (_childDataIndex == 0){ _childDataIndex = dataIndex; }else{ _childDataIndex++; }
            var templateListDetail = new TemplateDataListDetail
            {
                ListItem = htmlListAllItem,
                DataIndex = _childDataIndex.ToString()
            };
            string htmlListDetail = templateListDetail.GetFilled(templateSuffix, UtilsGeneric.Validate,
                                                                            UtilsGeneric.ThrowException, out message);

            return htmlListDetail;
        }