![]() |
|
GTP.NET FAQ 10974I'd like to use OnTimeItem_Hoover at GTP.WEB VB but its not available yet? Please note that this article
refers to the GTP.NET Jump to article- 2007-08-18 10:54:00 - Email plexityHide Question
Answer
For the static case you can use the OnAreaAttributes event on the server side to inject any script reference or attribute you need.
But for the Ajax case that is not possible. To solve this we added a property that allows you to inject javascript code to the client side:
PlexityHide.GTP.WEB. Gantt_ASP.ClientSideJavaScript_TimeItemInit = "aImgElement.title=aClientTimeItem.UserString;\r\n";You can add any valid javascript statement (multiple rows) here. Use this to set up MouseOver reference for you client side Hover needs. Initiate the UserString by implementing this new event: void Gantt_ASP1_OnTimeItemUserStringPrepare(PlexityHide.GTP.WEB.Gantt_ASP aGantt, PlexityHide.GTP.WEB.TimeItemUserStringPrepareArgs e){ e.result="This time item starts at "+e.ti.Start.ToLongDateString(); }
|
"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%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |