Patrick.O.Ige

Knowledge Creation is Essential to Business, and Communication is Essential to Knowledge Creation

  Home  |   Contact  |   Syndication    |   Login
  94 Posts | 5 Stories | 342 Comments | 0 Trackbacks

News

SharePoint SharePoint SharePoint

Article Categories

Archives

Post Categories

ADO.NET

Ajax

API/WebServices

ASP.NET Resources

BizTalk Server

Blogs I read

Free Books

How to

JQuery

LINQ

Misc

Mobile BI

Reporting Services

SEO

Sharepoint Resources/Tools

SharePoint 2010 Branding

SharePoint 2010 Videos

SilverLight

SQL Server

Sql Server 2012

SSIS

Windows Phone

WorkFlows

WSS V3

xml

In ASP.NET related forums i have been coming across questions and errors regarding "Server Controls configuration problem" or Microsoft.Web.UI.WebControls.dll not generated".

So i decided to give it a blog :)

What you need first is to first Download "Internet Explorer Web Controls"  from  the asp.net site at TREEVIEW CONTROL or IEWEBCONTROLS which i recommend.


After installation by running IEWebControls.exe you would see there are :-
4 web controls added to your IDE Toolbox:
A treeview, a tabstrip, a multipage, and a toolbar.

Run IEWebControls.exe, and read carefully README.txt
You have to compile manually Microsoft.Web.UI.WebControls.dll
Edit build.bat, and add your own absolute path to csc.exe
e.g. C:\WINNT\Microsoft.NET\Framework\v1.1.4322\csc.exe
Save and run. Microsoft.Web.UI.WebControls.dll is compiled to C:\Program Files\IE Web Controls\build
See README.txt to copy the files to the right place.

Please note that the Internet Explorer Web Controls are not currently supported by Microsoft.


The Src folder contains the source code for the IE MultiPage, ToolBar, TreeView, and
TabStrip controls, along with related base classes and design-time support.

To build the IE Web Controls:

1. Make sure you have installed the .NET Framework SDK v1.0 or v1.1
2. Run Build.bat, which will create a build folder in this directory.
The build folder contains Microsoft.Web.UI.WebControls.dll and a
Runtime directory of supporting files.

To run the IE Web Controls:

1. Copy the contents of the Runtime directory to the webctrl_client\1_0
directory under your top-level site directory. For example, if your
site root is c:\Inetpub\wwwroot, type this at the command prompt:

xcopy /s /i .\build\Runtime c:\Inetpub\wwwroot\webctrl_client\1_0 /y

This will create the following directory structure under the site:

/webctrl_client/1_0
MultiPage.htc
TabStrip.htc
toolbar.htc
treeview.htc
webservice.htc
webserviced.htc
[images]
[treeimages]

2. Create a new web application in IIS and copy the contents of the
samples directory to this application directory. For example:

xcopy /s /i .\samples c:\Inetpub\wwwroot\sampleapp /y

3. Create a /bin subdirectory for the application and copy the file
Microsoft.Web.UI.WebControls.dll to this directory.

The contents of the application will be as follows:

/sampleapp
multipage.aspx
state_city.xml
tabstrip.aspx
toolbar.aspx
treeview.aspx
treeview_bound.aspx
/bin
Microsoft.Web.UI.WebControls.dll

4. Request the sample pages from your Internet Explorer web browser, for
example: http://localhost/sampleapp/multipage.aspx

For additional documentation and samples visit:
http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/webcontrols_entry.asp


And don't forget to look through this article if you are using ASP.NET 2.0 Introducing the ASP.NET 2.0 TreeView and Menu Controls

Happy Programming

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Saturday, April 28, 2007 9:16 AM