Skip to Content
0
Former Member
Aug 29, 2005 at 04:45 PM

DHTML Support in Portal

63 Views

<body class="prtlBody" xmlns:sap="urn:http://schemas.sap.com/SAP.Web.UI.Controls">
<STYLE>LI {behavior:url(irjportalappsSAP.PDK.Samples.ClientSideEventsCSscriptshilite.htc)} </STYLE>
Mouse over the two list items below to see this effect.
<UL>
<LI>DHTML Authoring</LI>
<LI>Dynamic HTML</LI></UL>
</body>

Hello All,

I created a simple iView using .net pdk. Version1.0 Patch 3

The ascx is as shown above.

After building and deploying in the Portal , if I view this using "View in Portal" option in Visual Studio it works fine.

But when I created an iView in PortalContent from par file and previewed it it doesnot seem to work.

I checked the log files and the GET \irj\portalapps\SAP.PDK.Samples.ClientSideEventsCS\scripts\hilite.htc succeed with HTTP/1.1 200

I also checked the HTML source in both scenarios and the html seems to be almost the same except from some GUID/ ID values.

I feel that when the iView is loaded from Visual Studio the .htc file is downloaded but not when the iView is loaded in portal.

I posted this is .Net forum and was suggested to post in this forum as the issue seems to exist even when using Java PDK, so this may be a EP issue.

Did anyone successfully use DHTML and HTML controls using scripts in .htc files within an iView?

Is there any other configuration required? Such as setting MIME type or anything like that to allow .htc files to downloaded..

Thanks

With Regards

Arun