Katalogerna
PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


GTP.NET FAQ 10791


Databound links with different types Please note that this article refers to the GTP.NET
Jump to article- 2006-12-15 16:13:00 - Email plexityHide

Question

Question:Using code:

{

  gantt1.TimeItemLinks.NameInDS_StartKey="start";

  gantt1.TimeItemLinks.NameInDS_TargetKey="target";

  gantt1.TimeItemLinks.DataSource=currentProject.WorkLinks;

}

loads the relationships... however type relationship is used one and one, which is installed in property Gantt1.TimeItemLinks.CreationTimeItemLinkStyle...

How fasten the type of the relationships to field database?

Thank you.

Answer

When the links are loaded they will be handled by the gantt1.TimeItemLinks.LinkDataConnect class.

This class has events like OnBeforeDSToLink. You can implement this event and change the link type based on the data provided in the arguments (or data you can access having the arguments as a context).

 

Currently Link Databind is not documented in the help file. The Link Databind is officially release with version 3.0 due soon.

Read this article to get an overview of link-databind http://www.plexityhide.com/GTPNETOverview.htm

 

 

Google
WWW plexityHide GTP.NET FAQ
Support

Support intro

Knowledgebase

FAQ phGantTimePackage

FAQ GTP.NET

FAQ general

Testimonials

"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%"
Gaurav Patole,
WebTechDevelopers
More testimonials...