We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

bindign data to a symbol in diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

95007 Jun 16,2010 01:01 PM UTC Jun 27,2010 05:53 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: DiagramWebControl
subbu kammela
Asked On June 16, 2010 01:01 PM UTC

Hi,

Is there a way in syncfusion where i can bind data retrived from a webservice directly to a symbol?
I shuld be able to dynamically update the symbol based on the value from webservice.

Thanks in advance,
Subbu

Melba Winshia [Syncfusion]
Replied On June 18, 2010 10:43 AM UTC

Hi Subbu,

Thank you for contacting Syncfusion Support.

Please refer to the following code snippet to bind the data retrieved from a webservice to a symbol:


//Webservice
ValidateUser VU = new ValidateUser();

//Get value from webservice and set to Label
Syncfusion.Windows.Forms.Diagram.Label label = new Syncfusion.Windows.Forms.Diagram.Label(e1, VU.HelloWorld());


Please refer to the sample in the following link which illustrates this:

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=DiagramWebService-632755244.zip

Please try this and let me know if this helps.

Thanks,
Melba



subbu kammela
Replied On June 22, 2010 05:33 AM UTC

Thanks for your reply,

I missed giving some details.
I am looking for this feature in silverlight.Utlizing the XAML features.Is there a way for acieving this?

Regards,
Subbu

Deepa V [Syncfusion]
Replied On June 27, 2010 05:53 PM UTC

Hi Subbu,

Thank you for your interests in Syncfusion Products.

Please refer to the following code snippet to bind the data retrieved from a webservice to a symbol:


//Webservice connection
ServiceReference1.ServiceSoapClient client = new DiagramWebServiceDemo.ServiceReference1.ServiceSoapClient();
client.HelloWorldCompleted += new EventHandler(client_HelloWorldCompleted);
client.HelloWorldAsync();

//Get value from webservice and set to content of a node (NewClient)
NewClient.Content = e.Result;


Please refer to the sample attached to illustrate this.

Please let me know if you have any further queries.

Regards,
Deepa V






DiagramWebServiceDemo_5ae24a64.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;