Jump to content
Sign in to follow this  
rhishi20

How to pass data from database to third party Jquery classes ?

Recommended Posts

Dear All,

 

I am working on project in asp.net and vb.net as code behind. The project needs to take a data from database and based on that data, I want to build orgchart(organization chart). so I decided to use third party control called as basic primitives. they have shown Jquery version of orgchart on their website. also they have provided primitive.js file which holds all the jquery classes which are required to build orgchart.

 

but my problem is how to pass my data from database to these jquery classes for building orgchart

 

note: I am using visual studio 2010 .

 

 

 

Share this post


Link to post
Share on other sites

One way would be to have your .NET code output some Javascript code containing the database data plus whatever other code you need. You could also send an ajax request to get the data from the database and then use it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...