Page Index Toggle Pages: 1 2 3 [4] 5 6  Send TopicPrint
Very Hot Topic (More than 25 Replies) how to start on web application with ajax. (Read 36536 times)
kirtesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 40
Joined: Jul 24th, 2007
Re: how to start on web application with ajax.
Reply #45 - Aug 7th, 2007 at 8:29am
Print Post  
when my page load first time , my node shows like this , I want to remove the border this type..and
dashlines ...hws it possible?[img]<a src="C:\Documents and Settings\kirtesh.jain\Desktop\untitled.bmp"/ >[/img]
« Last Edit: Aug 9th, 2007 at 5:16am by kirtesh »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to start on web application with ajax.
Reply #46 - Aug 7th, 2007 at 10:58am
Print Post  
Use the Pen.DashStyle of items to set a different dash style of box borders.
  
Back to top
 
IP Logged
 
kirtesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 40
Joined: Jul 24th, 2007
Re: how to start on web application with ajax.
Reply #47 - Aug 9th, 2007 at 5:19am
Print Post  
I used
rootNode.Pen.DashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
but not removing problem...also showing
dashstye border..and it contain also bydefault
arrow added ..whether I hav already set incoming arrow  false..
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to start on web application with ajax.
Reply #48 - Aug 9th, 2007 at 8:33am
Print Post  
I can't understand what's the problem - could you fix that image URL so I can see the screenshot?

Stoyan
  
Back to top
 
IP Logged
 
kirtesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 40
Joined: Jul 24th, 2007
Re: how to start on web application with ajax.
Reply #49 - Aug 10th, 2007 at 9:06am
Print Post  
Sir ,
when I give the height and width...of flowchart...
now its ok.....but ...when I add nodes..comes to last  down to page...my nodes now cant show...which r nearer to border of page how I can extent the  size of  doc...according to nodes.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to start on web application with ajax.
Reply #50 - Aug 10th, 2007 at 9:44am
Print Post  
Hi,

Set a larger DocExtents or call FitDocToObjects.

Stoyan
  
Back to top
 
IP Logged
 
kirtesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 40
Joined: Jul 24th, 2007
Re: how to start on web application with ajax.
Reply #51 - Aug 13th, 2007 at 8:13am
Print Post  
Sir
I ,before a time asked about ajax just as.:
Can i able to be implement ajax using Imagemap.aspx .
your reply was that :

The most you can do from image map mode is to call Ajax methods when an item is clicked. Users won't be able to draw or modify items, but just click on ones you create programmatically on the server.

Sir ,How it is possible..,I only implemented postback event handler...now I want to do call these methods by ajax ...how can I do it possible,how I can call javascript method on Imagemap mode.
plz help.


thanks
kirtesh





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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to start on web application with ajax.
Reply #52 - Aug 13th, 2007 at 9:37am
Print Post  
Set the Box.Hyperlink properties to "javascript: someFunction()" values, where someFunction makes Ajax calls to the server.

Stoyan
  
Back to top
 
IP Logged
 
kirtesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 40
Joined: Jul 24th, 2007
Re: how to start on web application with ajax.
Reply #53 - Aug 14th, 2007 at 2:14am
Print Post  
Sir ,
1.I want to call ajax through javascript ...on expand and collapse button of the box..hw it possible.
2.   Also when I did use your code by hyperlink ...when  I am doing ajax...wrking fine.
, again reload diagram .....its fine...but when I clicked on next boxs which I created by first node's
box clicked event...when I go through ajax...
object refrence problem is coming ...mean it cant identify nodes on flowchart...why?

kirtesh
« Last Edit: Aug 14th, 2007 at 7:31am by kirtesh »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to start on web application with ajax.
Reply #54 - Aug 14th, 2007 at 9:57am
Print Post  
https://mindfusion.org/_temp/ndiag_dll.zip

The dll above adds an ExpandBtnHyperLink property to the FlowChart class. If its value is a non-emptry string, it is assigned to the HtmlBuilder's ExpandBtnHyperLink when generating the image map. Otherwise the standard postback script will be assigned to the +/- link.

(from the HtmlBuilder help topic:) The hyperlink string can contain any of the following format specifiers:

{0} Replaced with the ZIndex of the node associated with the +/- button.
{1} Replaced with the Tag of the node associated with the +/- button.

The ZIndex of a node can be used to directly access the node within the Objects collection, it has the same value as the index of an item within that collection. The Tag can be used to find a node using the FindBox or FindTable methods.

Example
To have a JavaScript method called with node’s Tag passed as parameter when a +/- button area is clicked:

fc.ExpandBtnHyperLink = "javascript: void processExpand({1})";

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
kirtesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 40
Joined: Jul 24th, 2007
Re: how to start on web application with ajax.
Reply #55 - Aug 14th, 2007 at 10:06am
Print Post  
Sir

I save the flowchart by savetostring()..now I m
rendering it by ajax...when I want to reload the flowchart...it giving
error:
"Invalid length for a Base-64 char array"
I used as
FlowChart1.LoadFromString(HiddensaveflowchartA);
hw this may be removed

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to start on web application with ajax.
Reply #56 - Aug 14th, 2007 at 10:34am
Print Post  
Could you check if the string you get from SaveToString() is the same as the one you receive in the service method?
  
Back to top
 
IP Logged
 
kirtesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 40
Joined: Jul 24th, 2007
Re: how to start on web application with ajax.
Reply #57 - Aug 14th, 2007 at 11:13am
Print Post  
AAAAAAAAAAAAAAAAAAAAAAAAAAJEAfAAAAFAAAAAAAAAABAAAA/wAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAA
JEAVAAAAAgAAABYAAAADAAAAFwAAAAQAAAACAAAAAgAAAAEAAAAAAAAAAAAAAAEAAAAGAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAkQCIAAAAlAA
AA/////x8AAAArAAAAAAAAAAEAAAD/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAkQP////8=

It was coming in input tag's value...
while rendering the data from the same tag.
wrking fine...with no error..
FlowChart1.LoadFromString(Convert.ToString(Hiddensaveflowchart.Value));
it was wrking fine...
when I was using through..javascript variable: which loads  the value of Hiddensaveflowchart.Value , when I m extracting
data from here ...only "="(equalto ) is missing in last of string.


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to start on web application with ajax.
Reply #58 - Aug 15th, 2007 at 5:27am
Print Post  
LoadFromString won't work if you don't pass exactly the same string returned by SaveToString, including any ending "=" characters. Try using a text box instead of a hidden field to transfer the data, so you can check whether the strings differ even before you assign the client-side one to the JavaScript variable.

Stoyan
  
Back to top
 
IP Logged
 
kirtesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 40
Joined: Jul 24th, 2007
Re: how to start on web application with ajax.
Reply #59 - Aug 17th, 2007 at 5:07am
Print Post  
U told me to load dll given in
https://mindfusion.org/_temp/ndiag_dll.zip
but it extracts Netdiagram.dll which is already added to my project.
is it upgraded version .
what I should do for java script on expand and collapse button.
I have no defination of "FlowChart1.ExpandBtnHyperLink"...
its showing error ...not available.

thanks
kirtesh
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 5 6 
Send TopicPrint