ComponentGO! :: Forum

user:
psw:
| lost password
home recent posts search register AspNetForum v.3.0.0.0

Home » Recent messages recent posts - RSS

8/26/2008 3:05:57 PM
topic: 3rd Resource Column

from: go
Posts 558
Notice, the ResourceRow.Texts property is of the string[], and when your code:

row.Texts[0] = "Data for Col A"

gets the string[] array and changes first value of one, if the array is length enough, indeed.

Therefore, you should set property by following code:

row.Texts = new string[] {"Data for Col A", "Data for Col B", "Data for Col B"};

or use appropriate method: “void SetText(int index, string value)”, which extends the array up to enough size.
8/26/2008 2:52:28 PM
topic: Setting WorkHourBegin and WorkHourEnd does not always work

from: go
Posts 558
It is difficult to say what causes the properties changing. However, you can debug when property is changed by putting a breakpoint in the Scheduler.cs file at “public TimeSpan WorkHourBegin” property.
8/26/2008 12:41:43 PM
topic: Resize item in newest beta build

from: go
Posts 558
We did not meet with problems like your. In addition, we did not make changes in the items resizing code.
8/26/2008 12:37:51 PM
topic: Cannot update Scheduler from MS AJAX Aync postback

from: go
Posts 558
We have not sample that could be send to you. Besides, the working of control could depend on the way of using control on the page. Therefore, it’ll be fine if you could send me the test projects (zipped with bin folder and telerik dlls) that shows me your problem. support@componentgo.com
8/26/2008 12:27:57 PM
topic: Tooltip Issue

from: go
Posts 558
Thanks for your effort. We try to implement that in next build.
8/22/2008 8:57:26 AM
topic: 3rd Resource Column

from: Amundo
Posts 8
Hi, I want to have 3 Resource Columns in my <columns> collection in the scheduler. Creating a third column seems to work so I have:

<Columns>
<gos:ResourceColumn Text="Col A" ShowTree="true" Width="115px">
</gos:ResourceColumn>
<gos:ResourceColumn DataIndex="1" Text="Col B" Width="540px" />
<gos:ResourceColumn DataIndex="2" Text="Col C" Width="540px" />
</Columns>

and when the page shows all 3 columns. However, when I want to put text in the third column I hit an issue. When binding a row I put data in the first 2 columns using

row.Texts[0] = "Data for Col A" and row.Texts[1] = "Data for Col B"

but when I try to add row.Texts[2] = "Data for Col C" I get an error because the Texts collection isn't big enough.
I see that in your page "http://www.componentgo.com/Demo/WebScheduler/EditTexts.aspx" there are 3 columns, but in the code source I can't see how they are created (searching on their headers yields no results).

Help please.

Amundo
8/20/2008 3:19:02 AM
topic: Resize item in newest beta build

from: BenjaminCPH
Posts 4
After we installed the new beta build, it seems that we cannot resize items in the right side.
Left side works fine....

Hmm, seems like me doing something wrong... :o)

Cant figure out why i cant resize right side....
edited by BenjaminCPH on 8/20/2008
8/20/2008 3:06:47 AM
topic: Cannot update Scheduler from MS AJAX Aync postback

from: BenjaminCPH
Posts 4
Yes thank you, downloaded and istalled yesterday.

Seems to be working fine with MS Ajax.

But we're working with Telerik RadControls for ASP.NET AJAX.

We've tried several things to make it work, but same thing happens, the WebScheduler disappears.

Both tried putting it inside a RadAjaxPanel and not in a panel.

Can you send me any code samples were you have it working with telerik?
8/19/2008 11:05:21 PM
topic: Setting WorkHourBegin and WorkHourEnd does not always work

from: ketelsb
Posts 6
I am initializing these properties at every request, because at every request I renew the Scheduler's data.

I can watch the values in debug mode until the very last moment when the page gets loaded and they still are the correct values, but when the control loads, the default properties are being displayed.

It only happens with javascript postbacks and not with button clicks or <a href""> clicks.
In all cases the same code is executed.
8/19/2008 1:14:00 PM
topic: Tooltip Issue

from: gheilman
Posts 4
I found a fix for the bug (in code). Within the SetInfo function of the TipBoxForm, add a "this.Refresh();" before the "ForceClose = false;" (line 198).
pages: 1 2 3