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

RAD AJAX for separate User Control

1 Answer 67 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Waleed Seada
Top achievements
Rank 2
Waleed Seada asked on 04 May 2008, 07:12 AM
Dear all,
I just installed Prometheus version, and I wanted to upgrade my old developed web application.

I have one separate project that uses rabcombobox.net to create a custom combo web control that can be used elsewhere ...
When I removed the reference to that control and add the new reference to Web.UI, everything goes okay until I compile the project, I got this message

"Error 1 The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. E:\DotNet Development\WS.WebClassLib\SkinPicker.cs 12 15 WS.WebClassLib"


I know it is because the script manager, I don't know how to add ScriptManager to my user control, it is only one class (.cs).

Also, when I include that user control in any other project that uses the web.ui as well, does this increase the size of the final project

Bets regards,
Waleed

1 Answer, 1 is accepted

Sort by
0
Waleed Seada
Top achievements
Rank 2
answered on 04 May 2008, 07:30 AM
Thanks Guys, I found it ...
I have to reference the System.Web.Extensions.dll

Regards
Waleed
Tags
Ajax
Asked by
Waleed Seada
Top achievements
Rank 2
Answers by
Waleed Seada
Top achievements
Rank 2
Share this question
or