?
Solved

Error Creating Control

Posted on 2011-09-13
2
Medium Priority
?
277 Views
Last Modified: 2012-08-14
I got the following error at dsign time. The application compiles and runs. How can I fix it?
System.Web.UI.scriptreferenceCollection must have items of type 'System.Web.UIi.ScriptReference'. 'asp:ScriptReference' is of type 'System.Web.UIi.ScriptReference'

By searching the internet, it looks like removing the script control and adding again seems to work. see http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/design-time-errors.aspx

But how to removing the script control and adding again ?

Thanks.
0
Comment
Question by:minglelinch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
Bill Nolan earned 2000 total points
ID: 36532397
Just try re-loading everything.

1) remove the control (& everything related to it, including dll references) via designer or manually from .aspx/.cs
2) clean the solution
3) close and re-open the IDE
4) rebuild the solution
0
 
LVL 1

Author Closing Comment

by:minglelinch
ID: 36542861
Thanks for the comment. I believe it will work. As my application is near done, I'm afraid to remove those at this time. But I'll do it for my next one. Thanks.
0

Featured Post

Not sure which OpenStack Certification to get?

So you’ve realized you might want to get certified in OpenStack, but you’re not sure what the benefits might be or even which one you should take. You know there are several certification courses you can choose from, but how do you know which one is right for you?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question