Priya.InfoList.Views.TemplateInfoCategoryView.ProcessPlaceHolder C# (CSharp) Method

ProcessPlaceHolder() protected method

protected ProcessPlaceHolder ( string template ) : string
template string
return string
		protected string ProcessPlaceHolder(string template)
		{
			template = template.Replace("{{PageNo}}", string.IsNullOrEmpty(PageNo)==false ? PageNo : "");
			template = template.Replace("{{ItemsPerPage}}", string.IsNullOrEmpty(ItemsPerPage)==false ? ItemsPerPage : "");
			template = template.Replace("{{DataIndex}}", string.IsNullOrEmpty(DataIndex)==false ? DataIndex : "");
			template = template.Replace("{{TemplateSuffix}}", string.IsNullOrEmpty(TemplateSuffix)==false ? TemplateSuffix : "");
			template = template.Replace("{{HideDisplay}}", string.IsNullOrEmpty(HideDisplay)==false ? HideDisplay : "");
			return template;
		}