Integrate javascript code into Web application using GeneXus

0

In the application that I will do using GeneXus I will need to draw diagrams and also pick up the data in the DB and generate diagrams. I have already developed the diagrams drawing tool in javascript and now I needed to know how to integrate this javascript code into a web application developed in GeneXus. How can I do it? Where can I find the information I need to be able to do this kind of integration?

I've watched the videos online in genexus training but it's not mentioned in these videos how to do what I plan to do.

    
asked by anonymous 11.08.2014 / 15:00

2 answers

0

The best way to integrate your JavaScript code into GeneXus is by creating a user control ( User Control ).

Another possibility is to add the JavaScript code embedded in a TextBlock, but the User Control approach is more flexible and keeps your GeneXus code cleaner.

CSS can be customized by modifying the theme ( Theme Object ).

    
11.08.2014 / 19:50
0

Although the recommended way is to use User Controls, another way is to embed the js font in the page header. Look JavascriptSrc Property

    
13.08.2014 / 02:29