About a year ago, I wrote a web application using GoDiagram to create some org charts and flow charts. It works wonderfully!
The original application was written in VB. Now, I am re-writing the application in C# with major structural changes. Those shouldn’t really affect the way the GoView works.
However, when I try to run the application in debug mode from Visual Studio, I get an error when the browser attempts to render the GoView.
I get “Microsoft JScript runtime error: Object expected”
and this code is highlighted:
onload=“goInit(‘ctl00$ContentPlaceHolder1$ctl00$ctl00$GoView1’,‘ctl00$ContentPlaceHolder1$ctl00$ctl00$GoView1’,‘5b01ed4442bd4e1dba1108bd5881baf5’,true,‘GoWebImage.axd’,’’,(typeof goview_ctl00$ContentPlaceHolder1$ctl00$ctl00$GoView1==‘undefined’?null:goview_ctl00$ContentPlaceHolder1$ctl00$ctl00$GoView1),true,1)”
I create the GoView dynamically and add it to the ContentPlaceHolder1 control.
The onload event listed above is contained in the image tag for the GoWebImage.axd image.
I am at a loss for how to debug this.
Any hints would really be appreciated.
Thank you