<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>plexityHide's Knowledge Base</title><description>plexityHide's Knowledge Base RSS 2.0 Feed</description><link>http://plexityhide.dyndns.org/InstantKB13/</link><webMaster>KB@plexityhide.com</webMaster><lastBuildDate>Sat, 10 May 2008 20:59:38 GMT</lastBuildDate><ttl>20</ttl><generator>plexityHide's Knowledge Base</generator><item><title>Is it possible to have different font color for Header and the cell?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10667</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;FONT size=2&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi, Is it possible to have different font color for Header and the cell. If I set property in the celllayout it applies to whole of grid. I want to apply different font colors to the headers and the cell.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Yes. You can assign a unique CellLayout to each cell. The Column heads can also be treated as cells: GridColumn.ColumnCell so you can assign CellLayouts to them to.&lt;/P&gt;&lt;P&gt;You can find a CellLayout from a CellLayoutName like this Grid.CellLayouts.GetFromName("theNameOfTheCellLayout");&lt;/P&gt;&lt;P&gt;This sample shows how a header cell in Gantt_ASP is given a Bold type face:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;CellLayout&lt;/FONT&gt;&lt;FONT size=2&gt; cl=&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;CellLayout&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;BR&gt;cl.Name=&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"ABoldCellLayout"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;BR&gt;cl.Font=&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;Font&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;FontFamily&lt;/FONT&gt;&lt;FONT size=2&gt;.GenericSerif,14,&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;FontStyle&lt;/FONT&gt;&lt;FONT size=2&gt;.Bold);&lt;/P&gt;&lt;P&gt;Gantt_ASP_Vendor.Gantt.Grid.CellLayouts.Add(cl); &lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;// When using Gantt_ASP it is even more important to add the cellLayout to this collection, or else it will not we added to the css&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;Gantt_ASP_Vendor.Gantt.Grid.Columns[0].ColumnCell.Layout=Gantt_ASP_Vendor.Gantt.Grid.CellLayouts.GetFromName(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"ABoldCellLayout"&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Tue, 25 Mar 2008 16:10:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>March 2008</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10004</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;____March 2008____ &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=7&gt;C&lt;/FONT&gt;urrently reading the book named &lt;A href="http://domaindrivendesign.org/books/index.html#DDD"&gt;Domain-Driven-Design &lt;/A&gt;by Eric Evans; great book! We are still waiting for SilverLight 2.0 beta... Where is it! Once we get it we will get cracking at some serious silverlight stuff. New Service release of GTP.NET out today (3.1.3.20) the most important addition is that this release contains the Calendars and BlockedTime stuff I mentioned earlier.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;____February 2008____ &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=7&gt;U&lt;/FONT&gt;ser paid for extension is what we call it when we have a client with additional needs that we help out with by extending one of our products. This is a benefit to the client that get things done at a fixed price, and a benefit to the product that gets added functionality. So what have we done this time? A wonderfull thing called "Calenders" and "BlockedTime" for GTP.NET.  What does it do? In short it enables you to define calendar entries that can show up as colored background in datescaler, and timeitemarea, or even in time items. But the really great thing is that the calendar entries can work as Blocked time so when a time item intersects the calendar entry it is automatically extended. A lot our clients has asked for this during the years and from the next service release you will have it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;____December 2007____ &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=7&gt;H&lt;/FONT&gt;o ho ho. New service release for GTP.NET, 3.0.12.12. VS2008 updates, MasterPage bug corrected, nicer grid appearance etc... VS2008 is a great IDE, same as VS2005 but with WPF and Linq and silverlight its a leap forward! PlexityHide currently works tightly with &lt;A href="http://www.capableobjects.com/"&gt;CapableObjects&lt;/A&gt;, these are the guys (or brains) behind the old Bold framework for Delphi (The one that enabled us (or rather 1 of us) to create Yapp the project calculator in 6 weeks), an</description><pubDate>Thu, 20 Mar 2008 15:26:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>GTP.NET 3.1.3.20</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10014</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;FONT size=4&gt;&lt;FONT face=System size=4&gt;&lt;P&gt;------------------------------------------&lt;BR&gt;-------GTP.NET 3.1.3.20----&lt;BR&gt;------------------------------------------&lt;BR&gt;GridNodes.cs (50)&lt;BR&gt;Sorting of unbinded content; was always compared as string, giving strange results on dates and numbers. Fixed.&lt;/P&gt;&lt;P&gt;Grid.cs (138)&lt;BR&gt;If calling MakeSureVisible on a Cell, GridNode or TimeItem when the Grid or TimeItemArea was to small to fit the widget, a stack overflow occured. Fixed.&lt;/P&gt;&lt;P&gt;Cell.cs (55)&lt;BR&gt;Grid.cs (137)&lt;BR&gt;Images from imagelist in Grid was very slow due to known limitation of the ImageList component. Image is now cached so speed is increased and resources are spared.&lt;/P&gt;&lt;P&gt;Grid.cs (136)&lt;BR&gt;&lt;FONT color=#ff1111&gt;Last row of grid could end up being only half-visible&lt;/FONT&gt; if the column scroller was showing. Bug; Fixed&lt;/P&gt;&lt;P&gt;Cell.cs (54)&lt;BR&gt;GridColumn.cs (42)&lt;BR&gt;GridColumn.WrapHeaderText&lt;BR&gt;New Setting to control if header rows should use the MultiText cell type or the SingleText cell type&lt;/P&gt;&lt;P&gt;&lt;BR&gt;GridColumn.cs (41)&lt;BR&gt;Layout in header cells:&lt;BR&gt;We confirmed a bug here; when using databind with different celltypes than SingleText the Column cell is re-created and the User set CellLayout is lost. Fixed in next service release. Work around; set CellLayouts after dataset wiring.&lt;/P&gt;&lt;P&gt;TimeItem.cs (56)&lt;BR&gt;Fixed in&lt;FONT color=#ff1111&gt; BlockedTime calculation&lt;/FONT&gt;, it is now delivered and accepted by end client.&lt;/P&gt;&lt;P&gt;Gantt_ASP.cs (72)&lt;BR&gt;The evalution of &lt;FONT color=#ff1111&gt;ExternalStyles was inverted!&lt;/FONT&gt; ExternalStyles=false meant true. Fixed.&lt;/P&gt;&lt;P&gt;Gantt_ASP.cs&lt;BR&gt;Clicking zoom in, followed by zoom in should give you the same view intervall as you had before zooming. It did not. It does now.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;------------------------------------------&lt;BR&gt;-------GTP.NET 3.1.2.3----&lt;BR&gt;------------------------------------------&lt;/P&gt;&lt;P&gt;Lots of work made for the &lt;FONT color=#ff1111&gt;CalendarExtension&lt;/FONT&gt;&lt;BR&gt;Calendars enables yo</description><pubDate>Thu, 20 Mar 2008 13:51:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>How do I use a CSS file with the GTP.NET?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11168</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How do I use a CSS file with the GTP.NET?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Normally you do not want to add a css of your own to change the styles of the grid since one is generated for you based on the settings of the CellLayouts. This way you can have almost the same view in WinForms and ASP.NET.&lt;/P&gt;&lt;P&gt;The class names of the cells is taken from the names of the used CellLayout. You can choose to use an External style sheet or a style sheet section in the rendered page.&lt;/P&gt;&lt;P&gt;This property comes into play: ExternalStyles, When setting ExternalStyles to true the css stylesheet is NOT embedded into the rendered html. Intstead you must add an attribute to the head section. You will also need to create the theganttstyles.css and you can do this by calling UpdateExternalStyles with the file name of your choice. If you leave ExternalStyles to false (default) you do not need this, but on the other hand ajax does not update the head section so under certain circumstances you can run into troubles using embedded styles.  &lt;/P&gt;&lt;P&gt;UpdateExternalStyles,  When setting ExternalStyles to true the css stylesheet is NOT embedded into the rendered html. &lt;/P&gt;&lt;P&gt;Typical scenario for when to create to the css file: &lt;BR&gt;Gantt_ASP_Main.ExternalStyles=true; // You have decided to use external styles, this might be set in the object inspector already LoadMainProjectData(); // You fill the Gantt with data AND you probably create some CellLayouts format grid cells &lt;BR&gt;if (!File.Exists(Page.MapPath("GanttStyle.css"))) // If you have no need for dynamic styles, the file does not need to be written every time... Gantt_ASP_Main.UpdateExternalStyles(Page.MapPath("GanttStyle.css")); // This call reads the CellLayouts and create the css content, and saves the file.   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Tue, 18 Mar 2008 22:57:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>GTP.NET ASP Online sample, showing Ajax with Gantt_ASP</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10055</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;A sample is available here:  &lt;A href="http://www.plexityhide.nu/ajaxdemo/LetsBuild_ProjectPlanner.aspx"&gt;http://www.plexityhide.nu/ajaxdemo/LetsBuild_ProjectPlanner.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.plexityhide.nu/ajaxdemo/LetsBuild_ResourceBooker.aspx"&gt;http://www.plexityhide.nu/ajaxdemo/LetsBuild_ResourceBooker.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and here &lt;A href="http://www.plexityhide.nu/ajaxdemo/LetsBuild_WeeklyPlanner.aspx"&gt;http://www.plexityhide.nu/ajaxdemo/LetsBuild_WeeklyPlanner.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The source for these samples is included in the &lt;A href="http://www.plexityhide.com/pub/GTPNETWebAndAjaxSetup.msi"&gt;http://www.plexityhide.com/pub/GTPNETWebAndAjaxSetup.msi&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;FONT face="Courier New"&gt;&lt;/FONT&gt;</description><pubDate>Tue, 11 Mar 2008 14:45:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>How to obtain a runtime key for gtp.net?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10833</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;FONT size=2&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How to obtain a runtime key for gtp.net? Since my last update of gtp.net i've to call RegisterRuntimeKey...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;About runtime keys:&lt;/P&gt;&lt;P&gt;Call this early in your application to register the runtime key.&lt;BR&gt;The runtime key is free for registered users and is obtained as described at &lt;A href="http://www.plexityhide.nu/runtimekeys/Default.aspx"&gt;http://www.plexityhide.nu/runtimekeys/Default.aspx&lt;/A&gt; &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;The&lt;/A&gt; runtime key is unique per application, you can obtain as many runtime keys as you need.&lt;BR&gt;The runtime key is NOT a runtime license, registered users have the license, the runtime key only removes the runtime plexityHide marking. &lt;/P&gt;&lt;P&gt;The main reasons for the introduction of runtime keys are:&lt;/P&gt;&lt;P&gt;#1 To Better understand customer applications and demands to guide us in further development&lt;BR&gt;#2 To better track evaluation copies and important customer feedback&lt;BR&gt;#3 To Protect customer investments from unfair competition from pirates&lt;BR&gt;#4 Increase awareness of the plexityHide brand &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Gotchas:&lt;BR&gt;&lt;/STRONG&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;The key is compared with the application/assembly name in runtime so the key must be generated with the correct application/assembly name.&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Call this in FormLoad for winforms:&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMIL</description><pubDate>Thu, 06 Mar 2008 19:17:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>if I want to add attributes like mouseover for the time times how do I do that?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11150</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;if I want to add attributes like mouseover for the time times how do I do that? Lets say for a button if I want to add a mouse over event in vb.net we can add like this&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Button1.attributtes.add("mouseover","mouseover()")&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;I tried use ClientSideJavaScript_TimeItemInit event.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Is there any function avilable in plexityhide which i can add mouseover evenet for timeitem.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;Sure, Go like this:&lt;/P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;&lt;P&gt;Gantt_ASP&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;.ClientSideJavaScript_TimeItemInit = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"aImgElement.onmouseover=(function(event){alert('hello');});\r&lt;br&gt;"&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 04 Mar 2008 22:26:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Is there a way to find if the time item is changing a row in the OnValueChangedGantTime event.</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11149</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;My question is - Is there a way to find if the time item is changing a row in the OnValueChangedGantTime event.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;The thing that I am doing cannot be done in or after the OnGantTimeChangeRow event.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;I tried using the theGant.RowList.FindRowFromY(lngY).TreeNode.GridRowIndex &lt;/FONT&gt;&lt;FONT face=Arial size=3&gt;but it does not work for some cases.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial&gt;&lt;FONT size=3&gt;Use the theGant.RowList.FindRowFromY(IphGantX3.MousePositionGantArea.Y) if the returned row is different than the row currently owning the time item (theDataEntity_GantTime.Row) this is a move... &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial&gt;&lt;FONT size=3&gt;You can check this in &lt;/FONT&gt;&lt;FONT size=3&gt;the OnHintInfo event and put the information in a membervariable that you later read in the OnValueChangedGantTime event. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial size=3&gt;Check the argument theDataEntity!=null, and also check&amp;nbsp</description><pubDate>Sun, 02 Mar 2008 11:59:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Is there a way to change the style of selected items?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11143</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is there a way to change the style of selected items?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The built in selection highlight is limited to the TimeItemLayout.SelectHandles=color, but if you want something more fancy it is really easy to implement the OnTimeItem_SelectionChanged event and simply change the TimeItemLayout if the time item is selected or de-selected.&lt;/P&gt;&lt;P&gt;The event is called both for selection and de-selection, so that you can set the timeitemlayout back to the original. Just check the e.TimeItem.Selected, true=selected false=de-selected.&lt;/P&gt;</description><pubDate>Wed, 27 Feb 2008 17:23:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Bigger jumps on datescaler scrolling</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11126</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I would like to change the user scroll step. I want the user to take bigger steps in time when they press the datescaler scrollbuttons. How can I go about that?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;One way to solve that is to implement the OnBeforeScaleOrSpanChange event and change the deault values.&lt;/P&gt;&lt;P&gt;    private void buttonSetUpBiggerJumpOnTimeScroll_Click(object sender, EventArgs e)&lt;BR&gt;    {&lt;BR&gt;      gantt1.DateScaler.OnBeforeScaleOrSpanChange += new BeforeScaleOrSpanChangeEventHandler(DateScaler_OnBeforeScaleOrSpanChange);&lt;BR&gt;    }&lt;/P&gt;&lt;P&gt;    void DateScaler_OnBeforeScaleOrSpanChange(DateScaler dateScaler, BeforeScaleOrSpanChangeArgs e)&lt;BR&gt;    {&lt;BR&gt;      if (e.DateScalerChangeKind==DateScalerChangeKind.userpan)&lt;BR&gt;      {&lt;BR&gt;        TimeSpan defaultjumpsize=e.NewStartTime-gantt1.DateScaler.StartTime;&lt;BR&gt;        // 4 times bigger jumps than default...&lt;BR&gt;        e.NewStartTime = gantt1.DateScaler.StartTime + defaultjumpsize + defaultjumpsize + defaultjumpsize + defaultjumpsize;&lt;BR&gt;        e.NewStopTime = gantt1.DateScaler.StopTime + defaultjumpsize + defaultjumpsize + defaultjumpsize + defaultjumpsize;&lt;BR&gt;        &lt;BR&gt;      }&lt;BR&gt;    }&lt;BR&gt;&lt;/P&gt;</description><pubDate>Thu, 31 Jan 2008 11:54:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>I want to extend the grid columns so that they always fill the space in grid</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11123</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;How can I automatically extend the grid column to use up all the space in the grid?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;Implement the Grid.Resize event and do something like this:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;void Grid_Resize(object sender, EventArgs e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cons</description><pubDate>Thu, 31 Jan 2008 11:25:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>How do I set the DateScaler properties to display the current date as starting date.</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10099</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How do I set the DateScaler properties to display the current date as starting date. I tried to set the StartTime and StopTime in the DateScaler properties box but the component is not refreshing, but it sets the StopTime to the date i specified, but the start time is always Aug 5 2003. Also I want the date should display in Hours...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It has come to our attention that setting the DateScaler.StartTime and DateScaler.StopTime only works if done in such a way that StartTime is always smaller than StopTime... This is considered a bug with low priority (exists in 1.3.1). The workaround is to use the DateScaler.TimeSpanSet(Start,Stop) that will work.&lt;/P&gt;&lt;P&gt;Going like this...&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;DateTime t = DateTime.Today;&lt;BR&gt;t.AddDays(1);&lt;BR&gt;gantt1.DateScaler.TimeSpanSet(DateTime.Today, t);&lt;/P&gt;&lt;P&gt;...will give you a view of one day. Depending on the width of the Gantt-area the scale will find a value that is the best presentation for one day. To get another resolution you add more days to the view.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Another similair question was: I want to center the view around a specific time item:&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;If you know where you want the middle of the visual span (xmiddle=timeItemStart+(timeItem.Duration()/2)) you can set the Datescaler to show this by calling Gantt.DateScaler.TimeSpanSet(xstart,xstop), &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;where xstart=xmiddle-(timeItem.Duration()/2) and &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;xstop= xmiddle+(timeItem.Duration()/2)&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 31 Jan 2008 11:11:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Can the control drag the parent TimeItem to a different row and have all its associated sub items move with it?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11108</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;Question&lt;/P&gt;&lt;P&gt;Can the control drag the parent TimeItem to a different row and have all its associated sub items move with it?&lt;/P&gt;&lt;P&gt;Answer&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;There is no property to set to do this automatically; you will need to react to an event and move child time items according to your rules.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;In GTP.NET I would suggest to implement OnTimeItem_ChangeRow and in this event track down the child nodes by e.TimeItem.GanttRow.GridNode.SubNodes[0..x] and for each SubNode y do Gantt.GanttRowFromGridNode(y) then loop over the layers and timeItems and move them the way you need (or move the whole GridNode to a new parent if that is what you want).&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Sun, 20 Jan 2008 18:36:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Calculated columns in a databound Grid</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11093</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;I am using the OnBeforeDSToCell event to format some data to be displayed in the grid.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;But I want one of my columns to be calculated based on two other columns - how can I do this?&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;Since the columns are filled from 0 to n, you cannot read the x+1 column when handling OnBeforeDSToCell for column x.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;But I suggest that you get your data from the datasource instead:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;    void NodeDataConnect_OnBeforeDSToCell(NodeDataConnect aNodeDataConnect, CellAndDSArgs args)&lt;BR&gt;    {&lt;BR&gt;      if (args.Cell.Column.Index==theCellCalclulatedFromTwoOtherValues)&lt;BR&gt;        args.Value=(args.CurrencyManagerListItem as DataRowView).Row["Col1"].ToString()+(args.CurrencyManagerListItem as DataRowView).Row["Col2"].ToString();&lt;BR&gt;    }&lt;BR&gt;&lt;/P&gt;</description><pubDate>Tue, 01 Jan 2008 14:04:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Resize columns by automagic</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11092</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;I would like to have the columns in my grid autosize to encompass the longest value.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;How can I do this?&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;For example if column 1 of row 1 has a value of 'IT' and column 1 of row 2 has a value of 'Accounting' then the size of column 1 should be wide enough to see all of the word 'Accounting' without the user having to increase the size manually every time.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Thank you.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You will need to do this yourself by detecting values in the cells and meassure them, then change the width of the column.&lt;/P&gt;&lt;P&gt;I would implement OnGridPaintBackground, not that I will draw anything, but this will be called when the data is in place and the screen must update. I would loop thru the nodes on screen (Grid.GridStructure.VisibleNodes) and loop thru each cell finding out the widest entry in each column (by meassuring the content using the Graphics object in the OnGridPaintBackground event arguments). Once I have this information I need to compare it with the current GridColumn widths.  And if my "rules" says that the widths should change, change them. BUT it is important that you only change the widths if it is necessary, since the change will trigger a need for a new drawing pass (calling OnGridPaintBackground again). You can easily get into recursion if you change the display in an event that draws the display... But once you are aware of the risk it should be controllable.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;To catch changing values implement OnAfterEditCell, to set the </description><pubDate>Fri, 21 Dec 2007 13:53:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>When connected to a database: how can I change the color of different TimeItems individually?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10098</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When connected to a database: how can I change the color of different TimeItems individually (for instance: same resources the same color)?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Good question, how do you manage to set specific properties to data that is added automatically with databind.&lt;/P&gt;&lt;P&gt;For time items you willl find a TimeItemDataConnect for each layer.&lt;/P&gt;&lt;P&gt;It is the TimeItemDataConnect object that resolves the events in the datasource to actual time item property values. You can implement the TimeItemDataConnect.OnBeforeDSToTimeItem (the event is not available in the property grid but just type yourLayer.TimeItemDataConnect.OnBeforeDSToTimeItem+= and hit tab in VS)&lt;/P&gt;&lt;P&gt;In this event you can inspect that data from the datarow and you can do additional things on your time item, like setting a TimeItemLayout etc. &lt;/P&gt;&lt;P&gt;This event is also good for conversions, if your datarow has start and length instead of start and stop.&lt;/P&gt;&lt;P&gt;&lt;FONT color=#dd1111&gt;&lt;STRONG&gt;New:&lt;/STRONG&gt;&lt;/FONT&gt; Now there is an easier way to intercept what happens each time the TimeItem is updated from the datasource: OnEachListItemWhenDataBound_TimeItem&lt;/P&gt;&lt;P&gt;In the sample below we use it to add TimeItemTexts:&lt;/P&gt;&lt;P&gt;    /// &amp;lt;summary&amp;gt;&lt;BR&gt;    /// Our bookings are represented by TimeItems in the Schedule&lt;BR&gt;    /// Here we extract further information on TimeItemTexts that we want to show&lt;BR&gt;    /// &amp;lt;/summary&amp;gt;&lt;BR&gt;    private void gantt1_OnEachListItemWhenDataBound_TimeItem(object GTPComponent, EachListItemWhenDataBoundArgs e)&lt;BR&gt;    {&lt;BR&gt;      if ((e.GTPObject as TimeItem).TimeItemTexts.Count==0)&lt;BR&gt;      {&lt;BR&gt;        TimeItemText tit=new TimeItemText();&lt;BR&gt;        tit.Text = (string) (e.CurrencyManagerListItem as DataRo</description><pubDate>Thu, 06 Dec 2007 08:05:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>So far it looks great, but I have not been able to change the row height?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11066</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;We are evaluating your phGantX component for use in visualizing info from a time &amp;amp; attendance app.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;So far it looks great, but I have not been able to change the row height.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;We need to make them taller since we need to draw a time bar and several markers underneath.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;However, using the SetRowHeightGrid does nothing, and the GetRowHeightGrid always return zero.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Please advice.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Make sure you set IphGantX3.UseGrid=true, "Set this to true to use the grid instead of the tree. You must do this before adding any rows since all rows added are owned by the component (grid or tree) that is active when the row is created."&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;If IphGantX3.UseGrid=false the comctrl treeview is used, and this cannot handle rowheights, columns etc&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;The Grid is fully hierarcical and can do everything the old tree can.&lt;/FONT&gt;&lt;/P&gt;</description><pubDate>Tue, 27 Nov 2007 08:58:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Print to a bitmap</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10374</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;I would like to enhance the print functionality for GTP. I’d like the productvery much , only the print functionality is a bit poor.&lt;/P&gt;&lt;P&gt;My question is how to obtain the image that is been posed on the printpreview. When a print preview is genarated I can only find information about the graphics object but not the image: &lt;/P&gt;&lt;P&gt;System.Void PrintPage ( System.Drawing.Graphics G, System.Drawing.Rectangle Margins, System.Int32 aGridWidth, System.Int32 aDateScalerHeight, System.Boolean&amp;amp;amp; HasMorePages) &lt;/P&gt;&lt;P&gt;I noticed that there are images(bitmaps) for the grid and datescalar but I'm looking for one image object of the complete gtp (grid + datescalar). Can you please give me some information for my problem?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;You can send in a graphics object that comes from a bitmap like this:&lt;/P&gt;&lt;P&gt;Bitmap b=new Bitmap(w,h);&lt;BR&gt;Graphics g=Graphics.FromImage(b); &lt;/P&gt;&lt;P&gt;And the call PrintPage with that... You will then get the complete print in bitmap!&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;PRE class=sourcecode&gt;&lt;CODE&gt;&lt;FONT size=3&gt;    &lt;FONT color=#003399&gt;&lt;I&gt;// Print to a bitmap file&lt;/I&gt;&lt;/FONT&gt;    Bitmap bm=&lt;B&gt;new&lt;/B&gt; Bitmap(CapTimingGantt.Gantt.Width, CapTimingGantt.Gantt.Height);    Graphics g = Graphics.FromImage(bm);    g.FillRectangle(&lt;B&gt;new&lt;/B&gt; SolidBrush(Color.Tomato), r);    g.DrawRectangle(Pens.Black, r);    &lt;B&gt;bool&lt;/B&gt; hasMorePages = &lt;B&gt;false&lt;/B&gt;;    Rectangle r = Rectangle.FromLTRB(0, 0, CapTimingGantt.Gantt.Width, CapTimingGantt.Gantt.Height);    CapTimingGantt.Gantt.PrintInit(&lt;B&gt;null&lt;/B&gt;);    CapTimingGantt.Gantt.PrintPage(g, r, 150, 28, &lt;B&gt;ref&lt;/B&gt; hasMorePages);    CapTimingGantt.Gantt.PrintEnd();    bm.Save(&lt;FONT color=#9933cc&gt;"c:\\temp\\test2.bmp"&lt;/FONT&gt;);&lt;/FONT&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class=sourcecode&gt;&lt;CODE&gt;&lt;/CODE&gt; &lt;/PRE&gt;&lt;P&gt;To print to an EMF instead go like this:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;CODE&gt;&lt;BR&gt;   &lt;FONT size=3&gt; &lt;FONT color=#003399&gt;&lt;I&gt;// P</description><pubDate>Fri, 23 Nov 2007 09:29:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>XP visual styles</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10368</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What does one need to do to enable XP visual styles in the Scrollbars in the Grid in GTP.NET?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Make sure this is called in the application Main:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;static&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; Main() &lt;BR&gt;{&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;  Application&lt;/FONT&gt;&lt;FONT size=2&gt;.EnableVisualStyles();                      &amp;lt;-- THIS&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;  Application&lt;/FONT&gt;&lt;FONT size=2&gt;.SetCompatibleTextRenderingDefault(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;false&lt;/FONT&gt;&lt;FONT size=2&gt;);   &amp;lt;-- AND THIS&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;  Application&lt;/FONT&gt;&lt;FONT size=2&gt;.Run(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;Form1&lt;/FONT&gt;&lt;FONT size=2&gt;());&lt;BR&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Sat, 17 Nov 2007 20:55:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>The Datescaler is showing Month--&gt;Date resloution.in two steps.But I want to make it into 3 Steps, i.e. Month--&gt;Week---&gt;Date resloution.</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11060</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The Datescaler is showing Month--&amp;gt;Date resloution.in two steps.&lt;BR&gt;But I want to make it into 3 Steps, i.e. Month--&amp;gt;Week---&amp;gt;Date resloution&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Currently the DateScaler does not have built in support for a three band presentation. &lt;/P&gt;&lt;P&gt;The somewhat complex workaround is to implement OnDateScalerPaintForeground and erase the default content and draw all three bands yourself. If you choose to go down this path you will want to use the TimeToPixel method and simply iterate from start to stop in your choosen resolution, call TimeToPixel for each step and draw a mark and a text.&lt;BR&gt;&lt;/P&gt;&lt;P&gt;We have offered the three band datescaler as a user-paid-for-extension to some clients but we have no deal yet. The n-band datescaler is on our todo list but not prioritised yet (and this means that we have no idea when we will implement it).&lt;BR&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Sat, 17 Nov 2007 18:18:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>I am trying to add 2 texts to a time item. I want to be able to show text1 on one line and text2 on the line below text1. How can I accomplish this?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11058</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;I am trying to add 2 texts to a time item. I want to be able to show text1 on one line and text3 on the line below text1. I have tried the code below but only the last text gets displayed. How can I accomplish this?&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;To accomplish this use two TimeItemTextLayouts with different padding. The second one should have a top padding to make it appear under the first one:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;      TimeItemText titxt = new TimeItemText(); &lt;BR&gt;      titxt.Text = "Test"; &lt;BR&gt;      titxt.TimeItemTextLayout = &lt;BR&gt;      gantt1.TimeItemTextLayouts.GetFromName("Default");&lt;BR&gt;      titxt.TimeItemTextLayout.Color = Color.Black; &lt;BR&gt;      titxt.TimeItemTextLayout.Font = new Font(FontFamily.GenericMonospace, 10, FontStyle.Regular); &lt;BR&gt;      titxt.TimeItemTextLayout.VertAlign = StringAlignment.Near; &lt;BR&gt;      ti.TimeItemTexts.Add(titxt);&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;      Ti</description><pubDate>Sat, 17 Nov 2007 12:25:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Multiselect in the TimeItemArea</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11061</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I know you can multiselect time items by holding the ctrl key while clicking them, and that you can get to all selected time items by the method &lt;FONT size=2&gt;gantt1.GetSelectedTimeItems().&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;But what if I do not allow multi select? How can I stop it?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2"&gt;To effectively stop multiselect for the TimeItems go like this:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;gantt1.OnTimeItem_SelectionChanged += &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;TimeItemEvent&lt;/SPAN&gt;(gantt1_OnTimeItem_SelectionChanged);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-fami</description><pubDate>Sat, 17 Nov 2007 11:35:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Is there a way the Gant_ASPs gantt chart area will resize by browsers window size? </title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11053</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;I set the size of gantt_asp to 100% but the grid is resizing instead of the gantt chart area. Is there a way the Gant_ASP's gantt chart area will resize by browser's window size? &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;Currently we do not a built in capability to adjust from client side size changes. If you need it you will need to trigger a postback from the resize and supply the new sizes and adjust the size of the Gantt_ASP server side.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description><pubDate>Sat, 10 Nov 2007 12:42:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>How to get the snapped time values in the Gantt1_OnTimeItem_StopValueResize event?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11039</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;DIV style="DIRECTION: ltr"&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt; &lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt;I have a gantt chart/grid where I have set the start and stopsnap times. After I change the stop time of timeitem, the cooresponding column in the grid changes to the 'snapped' time.  How can I get this value to use instead of the true time from the Gantt1_OnTimeItem_StopValueRes&lt;WBR&gt;ize event?&lt;BR&gt;&lt;BR&gt;Trying: e.TimeItem.GanttRow.GridNode&lt;WBR&gt;.GetCell(3).Content.Value&lt;BR&gt;gives me the original stoptime of the timeitem and : Gantt1.FocusedTimeItem.Stop&lt;WBR&gt;.Add(e.Diff).ToString&lt;BR&gt;gives me the new stoptime w/out being snapped as indicated.&lt;BR&gt;&lt;BR&gt;Thank you for your help.&lt;BR&gt;&lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt; &lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt;The snapping is calculated after the OnTimeItem_StopValueRes&lt;WBR&gt;ize event, but you can use the same logic we do to calculate the snapped value: Gantt.DateScaler.SnapTime(time,precision).&lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt; &lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt;So try this:&lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt;TimeBeforeSnap=e.TimeItem.Stop&lt;WBR&gt;.Add(e.Diff);&lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt;TimeAfterSnap=Gantt1.DateScaler.SnapTime(TimeBeforeSnap,e.TimeItem.TimeItemLayout.SnapStopTime);&lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt; &lt;/DIV&gt;&lt;DIV style="DIRECTION: ltr"&gt; &lt;/DIV&gt;</description><pubDate>Wed, 31 Oct 2007 12:02:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>I want to keep the original Height of Some time items...</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11040</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For the gantrow I have set the property CollisionDetect = True&lt;BR&gt;So on Collision the height of the timeItems are changed (just what I want). But I want to keep the original Height of Some time items because it is another activity. How can I arrange this in VB. Thnx in advance.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can set IphGantRow3.CollisionDetectBetweenLayers=false and keep some activities in one layer and the others in another layer.&lt;/P&gt;</description><pubDate>Wed, 31 Oct 2007 11:43:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>The data in the bound datasource must be mangled before presentation. How?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10322</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Because of the data in my normalized tables, when I use a databound gantt, no column in my DataTable has the data I would like to display in my GTP.NET grid.  I figured that I could use OnGridCustomCellDraw and OnGridPaintForeground to paint the cell much in the same way that I use the UserDraw, can I use these methods to draw the text in my Grid?&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;The problem I'm having is that the OnGridPaintForeground is the only event two that ever gets called, and based on the arguments given and the frequency it is called, I don't think it is the appropriate for drawing the text for the grid column.&lt;/P&gt;&lt;P&gt;I must be missing some property that I need to set - similar to what you do with the TimeItemStyle when you are using UserDraw on TimeItems.&lt;/P&gt;&lt;P&gt;Are there any examples available where this is done? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;One way is to produce a complex datasource that takes in the values from your other tables, but I think what you really want is a way to intercept what is put on the screen and also (if editable) a way to intercept what is put in the datarow when the grid is edited...&lt;/P&gt;&lt;P&gt;For this you need Grid.GridStructure.RootNodes.NodeDataConnect&lt;/P&gt;&lt;P&gt;There is currently no sample on this but the logic is the same as for time items (TimeItemDataConnect) and there are some samples for that...&lt;/P&gt;&lt;P&gt;Look at this article : http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10098&lt;/P&gt;&lt;P&gt;What you want to do is to implement the events: &lt;/P&gt;&lt;P&gt;Grid.GridStructure.RootNodes.NodeDataConnect.OnBeforeCellToDS &lt;BR&gt;AND&lt;BR&gt;Grid.GridStructure.RootNodes.NodeDataConnect.OnBeforeDSToCell &lt;/P&gt;&lt;P&gt;Once there you can do whatever you need with the data and fill the cells...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Sat, 20 Oct 2007 12:44:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Im using Gantt_Asp but everytime I modify a timeitem I have a postback and I lose my f1.dataset values</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11021</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Consolas size=3&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;BR&gt;I'm using Gantt_Asp but everytime I modify a timeitem I have a postback and I lose my f1.dataset values&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;This is by design, the ASP.NET model is stateless and the SessionState is there to help you to handle that. &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;What you need to do is to, depending on your design criterias, is to cache the dataset you use and restore it for postback events. This is shown in the LetsBuild_ samples series available here &lt;A href="http://www.plexityhide.nu/ajaxdemo/LetsBuild_ProjectPlanner.aspx"&gt;http://www.plexityhide.nu/ajaxdemo/LetsBuild_ProjectPlanner.aspx&lt;/A&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;In short this is done like this:&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;    protected void Page_Load(object sender, EventArgs e)&lt;BR&gt;    {&lt;BR&gt;...&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;      if (Page.Session["loaded_proj"] == null || (bool)(Page.Session["loaded_proj"]) == false)&lt;BR&gt;      {&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;BR&gt; &lt;BR&gt; // OK, New user connect to your DB and fetch the data...&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;BR&gt;        f1.dataSet1.ReadXml(Page.MapPath(".\\App_Data\\project.xml"));&lt;BR&gt;        System.IO.MemoryS</description><pubDate>Sat, 20 Oct 2007 12:30:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>OnTimeItem_AfterMove event, the TimeItemEventArgs returns 0 in its X and Y fields?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11019</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;I am trying cause an interaction between two objects (represented by timeitems in the Gantt) that is triggered when one timeitem is moved on top of another. When trying to implement this by using the OnTimeItem_AfterMove event, the TimeItemEventArgs returns 0 in its X and Y fields. This is not good, since I am trying to find the "lower" timeitem by using the Gantt.TimeItemFromPoint method.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;1) Why does the TimeItemEventArgs return these values?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;2) If this is not fixable, how do I find the relevant timeitem?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;FONT&gt;&lt;FONT face=Consolas&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;1) The mouse position is not relevant after the mouse button is released, and the draw rectangle of the time item is not updated until the next render-sweep, what is valid here is the Start and Stop of the time item (collisiondetection may affect Y pixel pos, datescaler changes my change X pixel pos)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P clas</description><pubDate>Sat, 20 Oct 2007 12:09:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Ajax samples source code</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11016</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Hello&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;I see that you have an Ajax web example in &lt;/FONT&gt;&lt;A href="http://www.plexityhide.nu/ajaxdemo/Default.aspx"&gt;&lt;FONT face=Consolas size=3&gt;http://www.plexityhide.nu/ajaxdemo/Default.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Consolas size=3&gt;, can I download the source code for this example? or can I download any similar example in GTP.NET 3.0 in web?&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Thanks for all.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;When you download GTP.NET for windows forms you get a menu item in the plexityhide GTP.NET start menu: "Download the ASP.NET and Ajax samples install". Once you have downloaded the ASP.NET and Ajax samples and installed them you will find the complete source on your harddrive wwwroot: C:\inetpub\wwwroot\GTP.NET.ASP.NET.AJAX\CompleteSource&lt;/FONT&gt;&lt;/P&gt;</description><pubDate>Tue, 16 Oct 2007 22:37:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>I want to increase and decrease the date scaler resolution manually on some buttons. Hows this possible... ?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11013</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Hello support,&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;I want to increase and decrease the date scaler resolution manually on some buttons. How's this possible... ? It will help me if you provide the code. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;private void ZoomMinus_Click(object sender, System.EventArgs e)&lt;BR&gt;{&lt;BR&gt;        gantt1.DateScaler.StartTime=gantt1.DateScaler.StartTime.AddDays(2);&lt;BR&gt;        gantt1.DateScaler.StopTime=gantt1.DateScaler.StopTime.AddDays(-2);&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;private void ZoomPlus_Click(object sender, System.EventArgs e)&lt;BR&gt;{&lt;BR&gt;        gantt1.DateScaler.StartTime=gantt1.DateScaler.StartTime.AddDays(-2);&lt;BR&gt;        gantt1.DateScaler.StopTime=gantt1.DateScaler.StopTime.AddDays(2);&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;This way we do it in Gantt_ASP, and it works better because it always zooms half of the span, no matter the current resolution...&lt;/P&gt;&lt;P&gt;      if (eventArgument == "scaleinc") &lt;BR&gt;      {&lt;BR&gt;        TimeSpan ts=StopTime.Subtract(StartTime);&lt;BR&gt;        ts=new TimeSpan(ts.Ticks/4);&lt;BR&gt;        &lt;BR&gt;        StartTime=StartTime.Subtract(ts);&lt;BR&gt;        StopTime=StopTime.Add(ts);&lt;BR&gt;      }&lt;BR&gt;      else &lt;BR&gt;      if (eventArgument == "scaledec") &lt;BR&gt;      {&lt;BR&gt;        TimeSpan ts=StopTime.Subtract(StartTime);&lt;BR&gt;   &amp;n</description><pubDate>Tue, 16 Oct 2007 22:24:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Is there a way to show more than one header-line (more than one column) and / or mantain the Cell layout in the header?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=11010</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;BR&gt;We have an application that shows more than a single collumn in the Grid, and each Cell in a different colour, but when switching to Schedule Mode, the colours and other columns are not shown in the header. Is there a way to show more than one header-line (more than one column) and / or mantain the Cell layout in the header? Thank you.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT&gt;&lt;FONT face=Consolas&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;BR&gt;You can change the header cell layout by setting the GridColumn.ColumnCell.CellLayout to the CellLayout of your choice. The header cells use the HeaderBackgroundColor, HeaderBackgroundGradiantColor&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;properties for colors, besides that they work the same way.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Sat, 13 Oct 2007 18:00:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>How to print with GTP.NET in ASP.NET ?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10992</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How to print with GTP.NET in ASP.NET ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To print from the web there are a couple of possibilities: &lt;/P&gt;&lt;P&gt;#1 Just print the page - not very hard nor nice&lt;/P&gt;&lt;P&gt;#2 Print to pdf on the server side and have the user download it... Nice, full control, but more complex and involves external components to handle the pdf part... Use the samples for windows forms that show print to a PrintDocument.&lt;/P&gt;</description><pubDate>Tue, 25 Sep 2007 23:55:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Happy and Angry people</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10224</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT size=5&gt;Are you &lt;STRONG&gt;Happy&lt;/STRONG&gt;? Are you &lt;STRONG&gt;Angry&lt;/STRONG&gt;? Come on get it off your chest and help us improve our products.... &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=5&gt;send us an email and help us out &lt;A href="mailto:support@plexityhide.com"&gt;support@plexityhide.com&lt;/A&gt; . Thanks In Advance...&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;FONT size=4&gt;&lt;U&gt;GTP.NET; Happiness&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN class=504431408-21112005&gt;&lt;FONT color=#111111 size=7&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN class=504431408-21112005&gt;&lt;FONT color=#111111 size=7&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN class=504431408-21112005&gt;&lt;FONT color=#111111 size=7&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN class=504431408-21112005&gt;&lt;FONT color=#111111 size=7&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN class=504431408-21112005&gt;&lt;FONT color=#111111 size=7&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt;</description><pubDate>Sat, 01 Sep 2007 14:27:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Changing all row heights when one row is changing</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10980</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried to use the OnRowResize event to change all rows while one was changing. The grid starts to flicker and behave weird when doing this...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;To solve this we introduced a new event.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;New event added OnRowResizeDone&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;Event fires when user has resized a row. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;You can implement this event to do other changes that you want as a result of a row height change,&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;like if you want to change all other Grid rows the same way.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;This event is available from 3.0.9.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P</description><pubDate>Sat, 01 Sep 2007 14:20:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>I need is to be able to display various periods of calendar with several shifts (time periods) in a day..</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10066</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi, i am currently evaluating phGantTime package and i would like to see is it possible to  a rosters with it. What i need is to be able to display various periods of calendar with several shifts (time periods) in a day..And i need to assign employees to shifts. Also i need to be able to draw holidays and weekends with different colors.&lt;/P&gt;&lt;P&gt;Can you please send me some sample code? Because there are alot of properties, and so far i cant find a way how to customize this top line which displays date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The sample code below draws a green background on Wednesdays and a red background on sunday. This sample is for GTP.NET but you can do the same thing in phGantTimePackage...&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-GB"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;private&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; gantt1_OnDateScalerPaintBackground(PlexityHide.GTP.OffscreenDraw aOffscreenDraw, PlexityHide.GTP.OffscreenDrawArgs e)&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-GB"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-GB"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;      &lt;/SPAN&gt;DoBack(e.G,gantt1.DateScaler.Height);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courie</description><pubDate>Sat, 01 Sep 2007 12:41:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>I'd like to use OnTimeItem_Hoover at GTP.WEB VB but its not available yet?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10974</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Consolas size=3&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;BR&gt;I'd like to use OnTimeItem_Hoover at GTP.WEB VB but it's not available yet. can you please tell me if your're working on that? &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;BR&gt;When allowing for the Ajax movable Gantt_ASP.ClientTimeItems the html is different from when using non-movable time items. So what we needed to do was to find a way for you to handle both the static and the ajax case.&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;For the static case you can use the OnAreaAttributes event on the server side to inject any script reference or attribute you need.&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;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:&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;PlexityHide.GTP.WEB.&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;Gantt_ASP&lt;/FONT&gt;&lt;FONT size=2&gt;.ClientSideJavaScript_TimeItemInit = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"aImgElement.title=aClientTimeItem.UserString;\r&lt;br&gt;"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;You can add any valid javascript statement (multiple rows) here. Use this to set up MouseOver reference for you client side Hover needs. &lt;BR&gt;&lt;BR&gt;We also added the client side UserString on client side time items for you to use to pass Time item unique data.&lt;BR&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;Initiate the UserString by implementing this new even</description><pubDate>Sat, 18 Aug 2007 12:54:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Is it possible to use a TimeItemStyle of User in GTP.WEB?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10614</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;FONT size=2&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use a TimeItemStyle of 'User' in GTP.WEB? If so, how do we specify how to draw the item?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Yes. The Gantt_ASP uses the windows forms gantt for rendering. So implement the event found here:&lt;/P&gt;&lt;P&gt;Gantt_ASP.Gantt.OnTimeItem_UserDraw&lt;/P&gt;&lt;P&gt;This event can be implemented like this in c#:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.Gantt_ASP.Gantt.OnTimeItem_UserDraw += &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; PlexityHide.GTP.&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;TimeItemEvent&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.impl_OnTimeItem_UserDraw);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;In VB.NET you use the AddHandler call to assign a delegate in runtime, like this:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;Add a method:&lt;/P&gt;&lt;CODE&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;Private&lt;/FONT&gt;&lt;FONT color=#003366 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;FONT color=#003366 size=2&gt; impl_OnTimeItem_UserDraw(&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; aGantt &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; PlexityHide.GTP.Gantt, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; e &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; PlexityHide.GTP.TimeItemEventArgs)&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#111111 size=2&gt;Then you bind to this method like this:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" color=#0000ff size=2&gt;AddHandler&lt;/FONT&gt;&lt;FONT size=2&gt; this&lt;FONT color=#000000 size=2&gt;.Gantt_ASP.Gantt.OnTimeItem_UserDraw&lt;/FONT&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;AddressOf&lt;/FONT&gt;&lt;FONT size=2&gt; impl_OnTimeItem_UserDraw&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=1&gt;&lt;/FONT&gt;&lt;/CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;IMPORTANT: &lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;TimeItem.TimeItemLayout.Ti</description><pubDate>Sat, 18 Aug 2007 12:27:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>The OnTimeItemAreaMouseWheel is not being called at all when I scroll the wheel over the TimeItemArea?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10969</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;I am handling the OnTimeItemAreaMouseWheel event. However,&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;the handler is not being called at all when I scroll the wheel over the TimeItemArea. Do I have to do anything special to activate this event?&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Some mouse events (the wheel events included) will not fire unless the control has keyboard focus.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;We will look into a permanent solution but in the mean time add a Focus call in mouse down:&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=2&gt;gantt1.OnTimeItemAreaMouseDown += &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;MouseEventHandler&lt;/FONT&gt;&lt;FONT size=2&gt;(gantt1_OnTimeItemAreaMouseDown); &lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; gantt1_OnTimeItemAreaMouseDown(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;object&lt;/FONT&gt;&lt;FONT size=2&gt; sender, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;MouseEventArgs&lt;/FONT&gt;&lt;FONT size=2&gt; e)&lt;BR&gt;{&lt;BR&gt;  gantt1.TimeItemArea.Focus();&lt;BR&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;</description><pubDate>Wed, 15 Aug 2007 22:17:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Is there a way that i can allow users to be able to drag the edges of the fish eye to resize it?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10966</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is there a way that i can allow users to be able to drag the edges of the fish eye to resize it?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The user interactions with the fisheye is as follows:&lt;/P&gt;&lt;P&gt;ALT-key + click drag : widens the fisheye&lt;BR&gt;SHIFT-key + click drag : moves the fisheye&lt;/P&gt;</description><pubDate>Sun, 12 Aug 2007 13:23:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Is there a 64 bit ActiveX phGantt control I can use with the application?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10968</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Consolas size=3&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;BR&gt;We currently phGantt ActiveX control for one of our applications and just starting moving our application to 64 bit support.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Is there a 64 bit ActiveX phGantt control I can use with the application?&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;No we do not currently have a 64-bit edition of the phGantTimePackage. The 32-bit version will function on the 64-bit platforms.&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;We are currently unable to compile the phGantTimePackage for 64-bit since the Delphi compiler does not yet exist in a 64 bit version, it is planned for 2008 according to CodeGear.&lt;/FONT&gt;&lt;/P&gt;</description><pubDate>Sat, 11 Aug 2007 12:39:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Installation debugging</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10868</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H2&gt;plexityHide is not the author of this we only keep it here for our own benefit&lt;BR&gt;How to locate the cause of error code 1603 in a verbose MSI log file&lt;/H2&gt;&lt;P&gt;&lt;FONT face=Verdana size=2&gt;There is a trick I use very often when trying to figure out why an MSI-based setup is failing that I wanted to share with everyone.  I believe it is commonly known among setup developers and people who have to troubleshoot failed setups, but I could not find any "official" documentation for it.  This trick helps narrow down the root cause of error code 1603, which is a generic catch-all error code that means "fatal error during installation".  The 1603 error code is returned when any action fails during an installation, and most commonly it indicates that one of the custom actions in the MSI failed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Verdana size=2&gt;When I encounter a failed setup with return code 1603, here are the steps that I follow:&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Re-run the setup with verbose logging enabled using steps similar to those that I listed &lt;/FONT&gt;&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Click on the Start menu, choose Run, type cmd and click OK&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Verdana&gt;Run this command in the cmd prompt:  reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Debug /t REG_DWORD /d 7 /f  &lt;/FONT&gt;&lt;LI&gt;&lt;FONT face=Verdana&gt;Run this command in the cmd prompt:  reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Logging /t REG_SZ /d voicewarmupx! /f&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Re-run the setup and let it fail one more time&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Go to your temporary folder (go to the Start menu, choose Run, and type %temp%)&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Locate a file named msi*.log (where * is a randomly generated set of letters and numbers)&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Zip the msi*.log file (because it tends to be very large but since it is text it compresses nicely</description><pubDate>Wed, 01 Aug 2007 19:11:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Custom links</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10956</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;I have created a custom link with the TimeItemLinkDrawStyle.User property but the&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;OnTimeItemLink_SelectionChanged event doesn't raise and the UserDrawLinkEventArgs.G property is null in the OnUserDrawLink event when i select a custom link. How could i select a custom link?&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Can you help me?&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;The thing is that user drawn links can have any shape, so we need to find a way to describe that shape so that we can detect a selection.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;This is done by a two step process; selection region definition and drawing.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;The selection region definition is done in the in the OnUserDrawLink event when the e.BoundingRegion is set. So, to have a selectable straight line link go like this:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FA</description><pubDate>Wed, 01 Aug 2007 12:59:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>gridNode.Expanded = true doesnt seem to be work in Gantt_ASP?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10944</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have multiple rows on the GTP grid, where each row can have any number of child rows. It should be possible for the user to set which rows need to be expanded and which need not. However, the gridNode.Expanded = true doesnt seem to be working. &lt;BR&gt;Also, its been noticed that in web component, all the rows are always collapsed when its loaded. Please provide pointers on what needs to be done.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expanded/Collapsed state is stored in ViewState. So in order to change the client view it is not enough to set the GridNode.Expanded state. &lt;BR&gt;You must instead use Gantt_ASP.Get/SetExpandedStatusForGridNode&lt;/P&gt;&lt;P&gt;&lt;BR&gt;    public bool GetExpandedStatusForGridNode(GridNode aGridNode)&lt;/P&gt;&lt;P&gt;Can be used in PageLoad more or less like this (This code does not check for postback so it will the effect that collapse appear not to work) &lt;/P&gt;&lt;P&gt;      Gantt_ASP1.Gantt.Grid.Refresh(); // Makesure the grid is rendered and the datasources get initiated&lt;BR&gt;      foreach (GridNode gn in Gantt_ASP1.Gantt.Grid.RootNodes)&lt;BR&gt;      {&lt;BR&gt;        Gantt_ASP1.SetExpandedStatusForGridNode(gn,true);&lt;BR&gt;      }&lt;BR&gt;&lt;/P&gt;</description><pubDate>Tue, 17 Jul 2007 14:34:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>How can I determine which rows are selected in the grid? </title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10941</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can I determine which rows are selected in the grid? It's easy to determine which row is selected with: &lt;BR&gt;owningTaskId := StrToInt((gantt1.Grid.FocusedCell.GridNode.ListItemWhenDataBound() as DataRowView).Item['id'].ToString)&lt;BR&gt;but how do I determine which multiple rows are selected?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Often in gui controls like the GTP.NET there is a distinct difference between "select" and "focus". The "thing" with focus can almost always be only one, and focus often mean keyboard-focus (where will the key-strokes go).&lt;/P&gt;&lt;P&gt;Selections can often consist of many "items", often refered to as multi-select.&lt;/P&gt;&lt;P&gt;So in the grid there is only one Focused cell: gantt1.Grid.FocusedCell. And there are possibly many selected cells: ArrayList al=gantt1.Grid.GridStructure.SelectedCells();&lt;BR&gt;You will need to iterate thru the list of selected cells and get to their GridNode just as you did with the focused cell.&lt;/P&gt;&lt;P&gt;Each Cell has a Selected property that is true or false. You can programatically set this if needed.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Sat, 14 Jul 2007 14:17:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Tasks constraints</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10939</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Is it possible to manage task's constraints with the GTP .Net 3.0 Component (ie: task1 begin after task 2, task 1 end when task 2 begin, task 1 start 3 month after task 4 etc... like with MS project) ?&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;And so, is-it possible to draw links starting from the start date of a task and joining the end date of another (with the demo I was only able to join task with end date from the first one and start date of the sconde one) ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Task constraints are normaly part of your business logic and not a primaliry concearn for a GUI control, but we offer several events like OnTimeItem_AfterMove that you will want to implement to enforce your rules.&lt;/P&gt;&lt;P&gt;You can also use the TimeItemLinkActions that are available on each link. The LinkAction can be set to some simple rules on how to behave when a TimeItem changes: TimeItemLinkActions are executed when the time items in the link are changed (Start or Stop is changed). LinkActions can help you enforce some of the business rules that you want to stay in effect when the user changes time items &lt;/P&gt;&lt;/P&gt;&lt;P&gt;To control where the link is rooted you set the TimeItemLinkStyle property of the link to one of the values :&lt;/P&gt;&lt;P&gt;&lt;P&gt;StartToStart Start of one time item to another time items start.  &lt;BR&gt;StartToStop Start of one time item to another time items stop.  &lt;BR&gt;StopToStart Stop of one time item to another time items start.  &lt;BR&gt;StopToStop Stop of one time item to another time items start.  &lt;BR&gt;&lt;/P&gt;&lt;/P&gt;</description><pubDate>Wed, 11 Jul 2007 11:57:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>tooltips in Gantt_ASP</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10463</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How would I add tooltips to time items and grid cells in the Gantt_ASP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In IE-html the title attribute of a tag is interperted as a tooltip so to add the tooltip to a grid cell you only change the text in it from "Hello" to "&amp;lt;span title=\"The hello tooltip\"&amp;gt;Hello&amp;lt;/span&amp;gt;"...&lt;/P&gt;&lt;P&gt;And for a time item you would go like this:&lt;/P&gt;&lt;PRE class=sourcecode&gt;&lt;CODE&gt;    &lt;B&gt;private&lt;/B&gt; &lt;B&gt;void&lt;/B&gt; Gantt_ASP1_OnAreaAttributes(PlexityHide.GTP.WEB.Gantt_ASP aGantt, PlexityHide.GTP.WEB.AreaAttributeEventArgs e)    {      &lt;B&gt;if&lt;/B&gt; (e.AreaKind==PlexityHide.GTP.WEB.AreaKind.TimeItem)      {                e.Result=&lt;FONT color=#9933cc&gt;" Title=\"&lt;/FONT&gt;Tooltip for this time item\&lt;FONT color=#9933cc&gt;" &lt;/FONT&gt;&lt;FONT color=#9933cc&gt; "&lt;/FONT&gt;;      }    }&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class=sourcecode&gt;&lt;CODE&gt;In Ajax things has changed slightly:&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class=sourcecode&gt;&lt;CODE&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US style="COLOR: #1f497d; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2; mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;This design is a bit more complex but a lot more flexible.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US style="COLOR: #1f497d; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2; mso-ansi-language: EN-US"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US style=</description><pubDate>Tue, 10 Jul 2007 02:43:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>The problem I have found is that my OnTimeItemAreaKeyDown event is not firing correctly...</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10938</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;I have been using GTP.Net for a long time now in one of my apps. I just recently added the feature to move next or previous in the timeitems on the screen.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;The problem I have found is that my OnTimeItemAreaKeyDown event is firing correctly, but only when I use my numeric pad left (4) or right (6).&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;If I use the regular left and right keys on my keyboard, the control does not seem to pick up the event has fired.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;I have other controls on my form and they receive the left and right keys, but my GTP doesn't.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Consolas size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Consolas size=3&gt;Is there something I need to enable to make the left and right keys work?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am not sure why some of your keys are working, I would have guessed that all or nothing should apply. &lt;/P&gt;&lt;P&gt;The main "GotYou" thing about catching keys in the time item area is to focus the time item area for key-input.&lt;/P&gt;&lt;P&gt;Implement a MouseDownEvent:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;private&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size</description><pubDate>Sat, 07 Jul 2007 19:23:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Is it possible with the GTP.Net component to import MS Project ".mpp" file ? </title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10936</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;Is it possible with the GTP.Net component to import MS Project ".mpp" file ? if not, is-it possible to extract data from it and recreate a Gantt diagram editable ??&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Consolas&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;FONT&gt;&lt;FONT face=Consolas&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;No, sorry, GTP.NET does not read .mpp files. The workaround is to use the xml format from MsProject, read it into a dom and iterate and populate either the Gantt directly via the API, or populate the datasets and bind those to the Gantt.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;Once you have populated the Gantt everything is editable by graphical manipulation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;</description><pubDate>Fri, 29 Jun 2007 00:30:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>How can I configure the gantt visualization to make it more attractive? </title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10935</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can I configure the gantt visualization to make it more attractive? For example &lt;A href="http://demos.devexpress.com/XtraChartsDemos/RangeViewTypes/GanttSeries.aspx "&gt;Xtracharts &lt;/A&gt;, there default GUI look so attractive (but they dont support full Gantt function like yours) Is there any way to configure it colorfull like that?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial color=#111111&gt;The abilities to change the look of the GTP.NET are endless. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#111111&gt;To Start with TimeItems:&lt;BR&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;FONT size=2&gt;To fill the time item we offer some styles out of the box with gradient behavior ;by setting properties like Color, GradientColor, FrameColor, BrushKind (Important!) and TimeItemStyle to Modern1, Pipe or Glossy you can do very much with little effort.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#111111 size=2&gt;And if that is not enough you implement UserDrawn time items.&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#111111&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#111111 size=2&gt;To do the background we also offer UserDraw events like  OnTimeItemAreaPaintBackground. Combined with methods like TimeToPixel you can do time dependent backgrounds any way you need.&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-F</description><pubDate>Wed, 27 Jun 2007 10:31:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>Why does the GTP.net OnTimeItemAreaKeyDown event neverfire?</title><link>http://plexityhide.dyndns.org/InstantKB13/article.aspx?id=10933</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-language: ZH-CN"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-language: ZH-CN"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-language: ZH-CN"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-language: ZH-CN"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-language: ZH-CN"&gt;Why does the GTP.net OnTimeItemAreaKeyDown event never fire?&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-language: ZH-CN"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-language: ZH-CN"&gt;I need detect “&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:State w:st="on"&gt;&lt;st1:place w:st="on"&gt;del&lt;/st1:place&gt;&lt;/st1:State&gt;” key and delete TimeItemLinks.Select SelectedLink&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-language: ZH-CN"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-language: ZH-CN"&gt;&lt;o:p&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; </description><pubDate>Thu, 21 Jun 2007 13:48:00 GMT</pubDate><dc:creator>Administrator</dc:creator></item></channel></rss>