I have created a pagetype using pagetype builder 1.3. In that pagetype builder i have defined a property.The code is like this
[PageType(Filename = "~/Templates/Public/Pages/Scheduling.aspx")]
public class Schedule : TypedPageData
{
[PageTypeProperty(Type = typeof(PropertyLongString))]
public virtual string RestURL { get; set; }
}
Then in my scheduling.aspx.cs file my code is like this
public partial class Templates_Public_Pages_Scheduling : TemplatePage<Schedule>
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
And in my schedule.aspx file I have tried to access them like this.
<div runat="server">
<%= CurrentPage.RestURL %>
</div>
But when trying to navigate the page I am getting the error
RightClickMenu requires a header control on the page. (e.g. ).
Why this error is coming
Thanks
Utpal