You can do this in two better ways.
1. Drag "Content Editor Web Part" and paste the following script into the Source Editor
<object classid="clsid:0006F063-0000-0000-C000-000000000046" id="ViewCtlFolder" width="100%" height="400px" codetype= "application/x-oleobject"
codebase="http://activex.microsoft.com/
activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
<param name="Namespace" value="MAPI">
<param name="Folder" value="Inbox">
<param name="Restriction" value="">
<param name="DeferUpdate" value="0">
</object>
2. Create a generic web part using VS.Net and rewrite the function RenderWebPart like below
protected override void RenderWebPart(HtmlTextWriter output)
{
string str = "--above written script--";
output.Write(str);
}
Note that, to view Calender or Tasks instead of inbox, you can replace the term "Inbox" in the script with corresponding item.
Zm
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment