Solved

Error Creating Control

Posted on 2011-09-13
2
272 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
2 Comments
 
LVL 7

Accepted Solution

by:
Slimfinger earned 500 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now