Krut
Guest
|
Posted:
Mon Oct 31, 2005 1:51 pm Post subject:
To render/include htm file in webpart |
|
|
Hi,
I have htm file added to my webpart project.The htm
file is used get the tree view display of document library
,htm file in turn refers to 2 java script files and an xml file.
The htm file works fine when viewed in browser.
Now,can anyone help me to render the htm file
webpart i.e in render webpart method.
Thanks in Advance,
Krut |
|
Daniel Larson (www.portal
Guest
|
Posted:
Tue Nov 01, 2005 9:51 pm Post subject:
RE: To render/include htm file in webpart |
|
|
Krut,
If the html is static, try including it as a compiled resource, and then get
it from the assembly using something like this:
Stream xstream =
Assembly.GetExecutingAssembly().GetManifestResourceStream("content.hml");
....and then output it as you need.
Daniel Larson
"Krut" wrote:
| Quote: | Hi,
I have htm file added to my webpart project.The htm
file is used get the tree view display of document library
,htm file in turn refers to 2 java script files and an xml file.
The htm file works fine when viewed in browser.
Now,can anyone help me to render the htm file
webpart i.e in render webpart method.
Thanks in Advance,
Krut |
|
|