Last post Apr 28, 2008 10:10 AM by yan19454
Dec 13, 2007 05:03 PM|jcheriat|LINK
I am upgrading a website from asp.net 1.0 that has IE WebControls incorporated into it. It was built using visual studio 2003 and I need to upgrade this website to asp.net 2.0 and visual studio 2005.
I have used the visual studio 2005 tool to migrate the existing vs2003 project files into vs 2005 and that seems to have worked fine. I have made the necessary changes to the web.config to recognize the MicrosoftWebControls namespace (in particular adding
the section name for MicrosoftWebControls and then adding the actual MicrosoftWebControls section which points to the IE WebControls scripting directory).
The problem I am running into is that when I compile the only error that comes up is from ie webcontrols that reference Microsoft.Web.UI.WebControls.dll 1.x, saying that the dll cannot be found. I downloaded the controls, ran the batch file using csc.exe from
v1.1.x of the .net framework and then tried to add a reference to the Microsoft.Web.UI.WebControls.dll that was created in the resultant build directory. When the file gets added (via the Add Reference... project option in vs 2005) the file that gets added
is Microsoft.Web.UI.WebControls.dll.refresh (for some reason or another, it adds the .refresh to the end of the dll name).
I do intend to eventually eliminate the ie webcontrols in place of .net 2.0 controls, but in the mean time to complete Phase 1 of the project, I must get the website to run using Visual Studio 2005 without any code or component changes.
Does anybody have any ideas as to how I can eliminate this problem?
I would greatly appreciate any help as soon as possible as I am under a pretty tight deadline for Phase 1 of this project. Thank you for your time in advance.
Dec 17, 2007 08:30 PM|Benson Yu - MSFT|LINK
Microsoft Internet Explorer WebControls are not currently supported. Hence, I recommend using ASP.NET 2.0 web controls, such as TreeView, MultiView, etc.
Anyway, if you really want to use them, please check the link below. Based on my reasearch, somebody has implemented get IE webcontrols work in ASP.NET 2.0. The solution is to copy webctrl_client folders in the project folder, and specify the following settings
<section name="MicrosoftWebControls" type="System.Configuration.NameValueSectionHandler,System,Version=126.96.36.199, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add key="CommonFiles" value="/MyTestApplication/webctrl_client/1_0/"/>
Getting the IE Webcontrols work in ASP.NET 2.0 while using Visual Studio 2005
Apr 28, 2008 10:10 AM|yan19454|LINK