This is a migrated thread and some comments may be shown as answers.

[Solved] Intellisense broken when adding page level declarations

3 Answers 125 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 27 May 2008, 06:24 AM
Below is my web.config pages section that seems to break the intellisense when in the aspx.  Everything compiles fine, runs fine, but the intellisense is broken  When the telerik tagprefixes are removed from the web.config, the intellisense works fine.

Any ideas?  This seems to be a trivial change with an unusual impact.

<pages>
  <controls>
    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
     <add tagPrefix="AjaxTK" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=1.0.11119.20010, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>
    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>
    <add tagPrefix="telerik" namespace="Telerik.Charting" assembly="Telerik.Charting, Version=2.0.1.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763"/>
  </controls>
</pages>

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 27 May 2008, 11:01 AM
Hello Henry,

Unfortunately I was not able to recreate this abnormality. My intellisense is working properly and I use your sample part of webconfig. Can you please provide some instructions about this case? An sample project sent through regular support ticket will be really appreciated.

Let me know whether I can assist you further.

Kind regards,
Daniel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mark
Top achievements
Rank 1
answered on 28 May 2008, 04:05 AM

To reporoduce the problem follow these simple steps:

1.  Open the live sample latest version (2008.1.515.20) with Visual Studio 2005 SP1
2.  Modify the web.config file and add the following tag:

<pages>
  <controls>
    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/> 
  </controls>
</pages>

3.  Open any of the sample ASPX pages in the source editor, not GUI ( I happen to choose: C:\Program Files\Telerik\RadControls for ASPNET AJAX Q1 2008\Live Demos\Grid\Examples\GeneralFeatures\ColumnTypes\DefaultCS.aspx)

4.  Note that the red squigly lines are now present under every one of the telerik tags, starting with the following line:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

0
Daniel
Telerik team
answered on 29 May 2008, 02:33 PM
Hi Henry,

I was able to successfully reproduce the issue after your detailed explanations.

The detail you should have in mind when doing so is that the demo pages already have this tag prefixes registered at the Page directive in the beginning of the aspx file. You should use the GAC or Page directive registration but not both of them.

Kind regards,
Daniel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Mark
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Mark
Top achievements
Rank 1
Share this question
or