Solved

Error Creating Control

Posted on 2011-09-13
2
275 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 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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