We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

intellisense question

Hi, Would you be able to tell me the best way to disable intellisense ( context popup ) feature if currently in a comment block ("/**/") , or line ("//"). Is there an automated way to do this, or should I write some code to determine this . Thanks Ryan

1 Reply

AD Administrator Syncfusion Team May 28, 2004 06:47 PM UTC

Hi Ryan, Yes, this check should be in place. Here is a sample which demonstrates how you can work around this issue. In the EditControl''s ContextPromptPopup event you can add a check: if ((e.ItemName == "function1") && (!this.editControl1.GetString(this.editControl1.CurrentLine,1,this.editControl1.CurrentLine,3).StartsWith("/"))) to ensure that the context prompt is not displayed if the line begins with a "/". Regards Arun

Live Chat Icon For mobile
Up arrow icon