I had an issue with one of our Web Application which is using Tree View(which
is part of Microsoft.Web.UI.WebControls.dll), was not being displayed properly.
It was only displaying lines of text.
To fix this issue try following:
1. Download IE Web control from the following location and install them
http://www.asp.net/downloads/archived/ie-web-controls/
2. open tree View.cs file which is in following directory
C:\Program Files\IE Web Controls\src\ tree View.cs file
Make change to the following line
output.Write("<?XML:NAMESPACE PREFIX=TVNS />\n<?IMPORT NAMESPACE=TVNS IMPLEMENTATION=\""
+ Page.Request.ApplicationPath + AddPathToFilename("tree view.htc") + "\" />");
Make this change to this line also:
output.AddAttribute("systemImagesPath", Page.Request.ApplicationPath + SystemImagesPath);
3. Recompile the code using batch file provided, batch file uses utility cse.exe may be you need to point it to the following location C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe
New Microsoft.Web.UI.WebControls.dll will be created at following location:
C:\Program Files\IE Web Controls\build
4. Copy this dll to the bin directory of your website
\\MyWebSite\bin
5. you may have to copy Webctrl_client folder also
MyWebSite\webctrl_client
6. In Windows 2003, C:\Inetpub\wwwroot\webctrl_client should be set access with Everyone.
It was only displaying lines of text.
To fix this issue try following:
1. Download IE Web control from the following location and install them
http://www.asp.net/downloads/archived/ie-web-controls/
2. open tree View.cs file which is in following directory
C:\Program Files\IE Web Controls\src\ tree View.cs file
Make change to the following line
output.Write("<?XML:NAMESPACE PREFIX=TVNS />\n<?IMPORT NAMESPACE=TVNS IMPLEMENTATION=\""
+ Page.Request.ApplicationPath + AddPathToFilename("tree view.htc") + "\" />");
Make this change to this line also:
output.AddAttribute("systemImagesPath", Page.Request.ApplicationPath + SystemImagesPath);
3. Recompile the code using batch file provided, batch file uses utility cse.exe may be you need to point it to the following location C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe
New Microsoft.Web.UI.WebControls.dll will be created at following location:
C:\Program Files\IE Web Controls\build
4. Copy this dll to the bin directory of your website
\\MyWebSite\bin
5. you may have to copy Webctrl_client folder also
MyWebSite\webctrl_client
6. In Windows 2003, C:\Inetpub\wwwroot\webctrl_client should be set access with Everyone.
No comments:
Post a Comment