Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic NetDiagram is not loading by using Telerik radAjax (Read 3290 times)
sripathi
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Apr 21st, 2008
NetDiagram is not loading by using Telerik radAjax
Apr 22nd, 2008 at 1:18pm
Print Post  
Hi,

I am using NetDiagram FlowChart (Demo Version) in my aspx web page. I am hiding and showing the boxes by clicking on the boxes. when I am doing this by using OnBoxClicked event, entire page loads/refreshes. To avoid this I am using radajaxmanager of Telerik controls to load the Flowchart. While doing this I am getting some unexpected javascript error.

Just wanted to know, whether Telerik radAjax is compatible with MindFusion NetDiagram FlowChart?

Can anyone please guide me?

Thanks,
Sripathi
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: NetDiagram is not loading by using Telerik rad
Reply #1 - Apr 22nd, 2008 at 1:25pm
Print Post  
Hi,

What is the error message? Anyway, try that with the 1.0.4 beta - it renders the HTML output in a very different way than V1.0.3 -

https://mindfusion.eu/_beta/netdiag_104beta.zip

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: NetDiagram is not loading by using Telerik rad
Reply #2 - Apr 22nd, 2008 at 1:53pm
Print Post  
These dlls also require an updated version of ImageGen.aspx. You can get it by installing the full beta from https://mindfusion.eu/_beta/NetDiag104.zip, or otherwise edit the ImageGen.aspx.cs file and change the Page_Load method to

protected void Page_Load(object sender, System.EventArgs e)
{
     string typeParam = Request.Params["type"];
     string dataIdParam = Request.Params["dataId"];

     byte[] data = Session[dataIdParam] as byte[];

     Response.ContentType = typeParam;
     Response.Clear();
     Response.Cache.SetCacheability(HttpCacheability.NoCache);
     Response.OutputStream.Write(data, 0, data.Length);
     Response.Flush();
}
  
Back to top
 
IP Logged
 
sripathi
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Apr 21st, 2008
Re: NetDiagram is not loading by using Telerik rad
Reply #3 - Apr 22nd, 2008 at 2:17pm
Print Post  
Thanks a lot Stoyo, I got the expected result by your response.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint