Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to remove the error like "Expected ;" in Tridion popup page?
    text
    copied!<p>I am customizing the ribbon toolbar and adding a button to it. Whenever I click on that button, it will open a aspx page allows authors to select some data, which gets appended to the existing RTF field content.</p> <p>But when popup is opened it is having the below error in the browser (Internet Explorer).</p> <p>I am inheriting Tridion page in the code behind file. When I try to use Response.Write() functions it is giving error like "Expected ;". Please tell me the reason why it is giving the error like that? Early responce is appreciated. Thanks in advance.</p> <p>PFB the related code: Aspx page code behind file contents:</p> <pre><code>namespace ButtonReference.Popups { [ControlResourcesDependency(new Type[] { typeof(Popup), typeof(Tridion.Web.UI.Controls.Button), typeof(Stack), typeof(Dropdown), typeof(List) })] [ControlResources("RTFExtensions.ButtonReferenece")] public partial class PopupReference : TridionPage { protected override void OnInit(EventArgs e) { base.OnInit(e); TridionManager tm = new TridionManager(); tm.Editor = "PowerTools"; System.Web.UI.HtmlControls.HtmlGenericControl dep = new System.Web.UI.HtmlControls.HtmlGenericControl("dependency"); dep.InnerText = "Tridion.Web.UI.Editors.CME"; tm.dependencies.Add(dep); System.Web.UI.HtmlControls.HtmlGenericControl dep2 = new System.Web.UI.HtmlControls.HtmlGenericControl("dependency"); dep2.InnerText = "Tridion.Web.UI.Editors.CME.commands"; tm.dependencies.Add(dep2); //Add them to the Head section this.Header.Controls.Add(tm); //At(0, tm); } protected void Page_Load(object sender, EventArgs e) { mySession = new Tridion.ContentManager.Session(@""); if (!Page.IsPostBack) { try { if (true) {} else { //Response.Write("Invalid schema chosen"); return; } } } } } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload