
René Hézser
Top achievements
Rank 1
René Hézser
asked on 04 May 2010, 12:25 PM
Hi,
in a UserControl I've referenced the Telerik.Web.UI Assembly full qualified.
Every time I modify the ascx file, a second entry is inserted:
How can I prevent this second entry to be included? It breaks the control, since I need to reference full qualified?
Thanks
René
in a UserControl I've referenced the Telerik.Web.UI Assembly full qualified.
<%@ Register assembly="Telerik.Web.UI, Version=2010.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %> |
Every time I modify the ascx file, a second entry is inserted:
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> |
How can I prevent this second entry to be included? It breaks the control, since I need to reference full qualified?
Thanks
René
8 Answers, 1 is accepted
0
Hello René Hézser,
Can you please let us know which version of Visual Studio are you using? Also, does this happen when you edit the .ascx file's Source or when you use the Design mode?
All the best,
Dimitar Milushev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Can you please let us know which version of Visual Studio are you using? Also, does this happen when you edit the .ascx file's Source or when you use the Design mode?
All the best,
Dimitar Milushev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

René Hézser
Top achievements
Rank 1
answered on 07 May 2010, 05:34 PM
Hi,
I'm using VS 2010 RTM.
It happened in both cases. The strange thing is, that it occurred on one of my virtual machines, but not on my notebook.
René
I'm using VS 2010 RTM.
It happened in both cases. The strange thing is, that it occurred on one of my virtual machines, but not on my notebook.
René
0

René Hézser
Top achievements
Rank 1
answered on 10 May 2010, 08:32 AM
Back on the machine where the problem occurs. This is really annoying. What info do you need to solve this problem?
René
René
0
Hello René,
The added reference (with no version) looks like a reference to a local assembly. Do you have the Telerik.Web.UI.dll in the bin folder of the site as well? If so, try removing it.
I hope this helps.
Best wishes,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
The added reference (with no version) looks like a reference to a local assembly. Do you have the Telerik.Web.UI.dll in the bin folder of the site as well? If so, try removing it.
I hope this helps.
Best wishes,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

René Hézser
Top achievements
Rank 1
answered on 11 May 2010, 10:53 AM
I do have a reference there. Will try to remove it and hope the problems will be gone as well.
Thank you
René
Thank you
René
0

Rebeen Sdiq
Top achievements
Rank 1
answered on 13 May 2010, 07:26 PM
if this issue still persist please try to add this in your web.config
<system.web> |
<pages> |
<controls> |
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2010.1.415.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/> |
</controls> |
</pages> |
</system.web> |
help this helps
0

René Hézser
Top achievements
Rank 1
answered on 03 Aug 2010, 02:41 PM
New project, same problem.
Can you please check if there is a fully qualified reference to the assembly before adding the entry?
Can you please check if there is a fully qualified reference to the assembly before adding the entry?
0

Arkadiusz
Top achievements
Rank 1
answered on 04 Oct 2011, 07:55 PM
Not sure if it's actually caused by Telerik. The work around for me was:
In VS -> Tools -> Options... -> Show all settings -> HTML Designer -> General -> Start pages in : Source View
Hope it helps
In VS -> Tools -> Options... -> Show all settings -> HTML Designer -> General -> Start pages in : Source View
Hope it helps