11231 : Script manager is ambiguous in the namespace system.Web.UI

…row like this: <add assembly=”System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″/>   And a row like this: <add assembly=”System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″/>   In the web.config? Then VS does not know where to… Continue reading

10374 : Print to a bitmap

…Rectangle.FromLTRB(0, 0, CapTimingGantt.Gantt.Width, CapTimingGantt.Gantt.Height);     g.FillRectangle(new SolidBrush(Color.Tomato),r);     g.DrawRectangle(Pens.Black, r);     CapTimingGantt.Gantt.PrintInit(null);     CapTimingGantt.Gantt.PrintPage(g, r, 150, 28, ref hasMorePages);     CapTimingGantt.Gantt.PrintEnd();         g.Dispose();   We also get questions on… Continue reading

11058 : 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?

…      ti.TimeItemTexts.Add(titxt);         TimeItemText titxt2 = new TimeItemText();       titxt2.Text = “Test2”;       titxt2.TimeItemTextLayout = gantt1.TimeItemTextLayouts.GetFromName(“Default”).Clone() as TimeItemTextLayout;       titxt2.TimeItemTextLayout.Name = “SecondOne”;       gantt1.TimeItemTextLayouts.Add(titxt2.TimeItemTextLayout);       titxt2.TimeItemTextLayout.Padding=new Rectangle(0,20,0,0);       ti.TimeItemTexts.Add(titxt2);… Continue reading

10027 : It is possible to host a windows user control in an Internet Explorer browser

…following way: <object id=”TestControl” height=”600″ width=”600″ classid=”http:test2control.dll#test2control.UserControl1” viewastext> </object> It works perfectly. I then created windows usercontrol and dragged a GTP.Gantt onto the usercontrol. But now it’s not possible to… Continue reading

10854 : Ive got a problem with the AddText of the TextCollection in VCL.

…adds a text to a time item, and then changes it… procedure TForm1.Button4Click(Sender: TObject); begin   if Assigned(phGant1.ActiveDataEntity) then   begin     phGant1.ActiveDataEntity.TextCollection.AddText(‘Hello’,0,0);     ShowMessage(IntToStr(phGant1.ActiveDataEntity.TextCollection.Count));     phGant1.ActiveDataEntity.TextCollection.Text[0].Text:=phGant1.ActiveDataEntity.TextCollection.Text[0].Text+’+’;   end; end;… Continue reading