The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'Ltl_Heading' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'Ltl_MainText' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
'Cms.Core.Dynamic_ContentType_123.Main' does not contain a definition for 'Page'
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'Ltl_MainImage' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'Ltl_MainImage' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'Ltl_MainImage' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'Ltl_MainImage' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
The name 'SectionContent' does not exist in the current context
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }
'Cms.Core.Dynamic_ContentType_123.Main' does not contain a definition for 'Parent'
using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Web.Security; using System.Web.Profile; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml; using System.IO; using System.Collections.Generic; using System.Data; using System.Linq; using System.Xml.Linq; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Cms.Core; using Cms.Design; using Cms.ClientResources; using Cms.Core.CmsRequest; using Cms.Cache; using Cms.DataAccess; using Cms.Urls; using Cms.Users; using Cms.Categories; using Cms.GoogleAnalytics; using Cms.Geography; using Cms.Geography.GeoCoding; using Cms.Geography.GoogleMaps; using Cms.Aggregator; using Cms.Paging; using Cms.Ratings; using Cms.Library; using Cms.Library.ImageManager; using Cms.Log; using Cms.EBook; using Cms.Org; using Cms.TemplateControls; using Cms.TemplateControls.Navigation; using Cms.Org.Lists; using Cms.Cart; using Cms.Search; using Cms.Security; using Cms.Languages; using Cms.Translation; using Cms.FormData; using Cms.EAtlas; using Rss; using RssToolkit.Rss; using System.Drawing; using System.Globalization; using System.Net; using System.Net.Mail; using PdfSharp; using PdfSharp.Pdf; using PdfSharp.Pdf.IO; using Yedda; using HtmlAgilityPack; using LitJson; using Google.GData.Extensions; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using Sgml; namespace Cms.Core.Dynamic_ContentType_123 { public class Main { protected HttpResponse Response = HttpContext.Current.Response; protected HttpRequest Request = HttpContext.Current.Request; protected void Page_PreRender(Object sender, EventArgs e) { if ( !String.IsNullOrEmpty(SectionContent.Name) ) Ltl_Heading.Text = String.Format("{1}", Depth+2, SectionContent.Name); Ltl_MainText.Text = SectionContent.Content["mainText"].ToString(); if ( !String.IsNullOrEmpty(SectionContent.MainImage) ) { if ( this.Page.PageInfo.OutputType == OutputType.Mobile ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 290, null).Url); else if ( SectionContent.MainImageMeta.Contains("width") && SectionContent.MainImageMeta["width"] == "auto" ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage).Url); else if ( SectionContent.MainImageMeta.Contains("width") && Cms.Helper.StringValidator.IsNumeric(SectionContent.MainImageMeta["width"]) ) Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, Int32.Parse(SectionContent.MainImageMeta["width"]), null).Url); else Ltl_MainImage.Text = String.Format("", ImageUrlInfo.GetInfo(SectionContent.MainImage, 546, null).Url); } } protected Int32 Depth { get { Int32 _Depth = 0; Control _Parent = this.Parent; while ( _Parent != null ) { if (_Parent.GetType() == typeof(Section)) { _Depth ++; } _Parent = _Parent.Parent; } return _Depth; } } } }