You could do it by generating an image. In the page that needs the org chart
add:
<img src="myOrgChart.aspx">
myOrgChart.aspx would contain something like:
private void Page_Load(object sender, System.EventArgs e)
{
//make a image to draw on
System.Drawing.Bitmap chartImg = new Bitmap(400, 400);
// Gen a graphics object to write upon
Graphics Canvas = System.Drawing.Graphics.FromImage(chartImg);
Canvas.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
Canvas.CompositingQuality =
System.Drawing.Drawing2D.CompositingQuality.HighQuality;
// Paint the background
Canvas.FillRectangle(FillBrush, -1, -1, chartImg.Width + 1, chartImg.Height
+ 1);
//do your or chart generation here
Response.ContentType = "image/jpeg";
// put the image into the memory stream
chartImg.Save(Response.OutputStream,
System.Drawing.Imaging.ImageFormat.Jpeg);
Response.End();
}
Hope this helps,
--
Don DenUyl
Diamond Systems
"Sahil Malik [MVP]" wrote:
> I am looking for suggestions on a software that can display an Org. Chart in
> a web based environment. The server runs .NET (2.0), and I have to add that
> the org chart must work on Macintoshes/linux/netscape etc. So we cannot have
> any sort of ActiveX Control or anything like that.
>
> What do you recommend 
>
> Sahil
>
>
>