User Profile & Activity

Andi Santoso Support
Page
of 53
Posted: June 2, 2010 10:43 AM

Hi Vincenzo,

     Just wanted to let you know that the issue has been fixed, you can simply apply the latest hotfix that I attached in here. However, this is a nightly build hotfix, disclaimer is on. Since this hotfix has not been tested intensively, any feedback regarding this will be highly appreciated.

     In this scenario, the background color is applied manually in a button click. WebScheduler can't detect this custom action. So, we need to cache the background color when the specified cell is the selected cell. We have added CacheBackgroundColor client-side API that can be used to cache the bg color (needs latest build). 

     However, the following code can be added when the color is applied to the cells.

function SetBackgroundColor(elements, isHourArea) {
            var s = ISGetObject("WebScheduler1");
            for (var i = 0; i < elements.length; i++) {
                var el = elements[i];
                if (el != null) {
                    var currentEl = null;
                    if (isHourArea) {
                        var child = el.children[0];
                        child.style.backgroundColor = "yellow";
                        currentEl = child;
                    }
                    else {
                        el.style.backgroundColor = "yellow";
                        currentEl = el;
                    }
                    if (currentEl == s.SelectedDateArea) {
                        s.CacheBackgroundColor("yellow"); //cache the background color if the specified cell is the selected date area
                    }
                }
            }
        }

       I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso.

Hi Wolfgang Pichler,

     Thank you for your details information. I am able to replicate the issue now. I have forwarded this to our developer team and will inform you as soon as possible when I get news from them.

     I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Hi Vincenzo,

     Yes, we did not add the API of GetEndDateOfWorkWeek, since as I tried using GetEndDateOfWeek, it gave me a correct behavior. Please kindly take a look at my screenshot, and noticed that, it will recognize the day of the end of week just nicely.

     I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: June 1, 2010 2:10 PM

Hi Brad,

      Unfortunately, at this moment, our WebGrid does not support that kind of feature. WebGrid will only allow to have one type of template column for one particular column only. Just as my colleague explained, we cannot have a different type of column template type for each different row.

      Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: June 1, 2010 1:47 PM

Hi Ca,

     As far as I know, we cannot use HyperLinkFormatString property to set the asp link button control. You can simply set the NavigateUrl in your template instead of set them in the serverside. 

     The HyperLinkFormatString can only be used when the column type is set to Hypelink. I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: June 1, 2010 10:06 AM

Hi Vincenzo,

     I am able to replicate the issue of yours. I have forwarded this to our Developer team. I will inform you as soon as possible when it is fixed. Thank you and have a nice day.

Best Regards,

Andi Santoso

Hi Vincenzo,

     Forgive me, however, I am getting confused in here. As you posted on the first post, you wanted to mark a date from 2010-03-29 until 2010-04-03, in order to do so, here is the snippet:

arr.Add(new WebSchedulerDateRange(new Date(2010, 2, 29, 0, 0, 0), new Date(2010, 3, 4, 0, 0, 0), 2, "DateTime"));
            

     And as you noticed, in your provided code sample you have set them with:

arr.Add(new WebSchedulerDateRange(new Date(2010, 2, 29, 0, 0, 0), new Date(2010, 3, 3, 0, 0, 0), 2, "DateTime"));
            

     In this case, yes, you will mark dates from 2010-03-21 until 2010-03-02. As you might see on my attachment, I have set them with this range and the 2nd April is marked. 

     I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Hi Vincenzo,

      Just wanted to let you know that the issue has been fixed and the build can be downloaded in here. However, this is a nightly build and the disclaimer is on. Any feedbacks regarding this build is highly appreciated since this particular build has not been tested intensively.

      However, for week view, it is not a issue. With that kind of range, the disabled time starts from 29th of March 00:00:00 to 3rd of April 00:00:00. In this configuration 3rd of April will not be marked, because the disabled time ends at 3rd of April 00:00:00. If 3rd of April should be set as disabled time, you will need to set the end of disabled time to 3rd of April 23:59:59 or 4th of April 00:00:00. 

      Here is the snippet in order to do so:

arr.Add(new WebSchedulerDateRange(new Date(2010, 2, 29, 0, 0, 0, 0), new Date(2010, 3, 4, 0, 0, 0, 0), 1, "DateTime")); 

      I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

  

Hi Tenika,

     I am able to replicate the issue of yours. I think, that is hapenning since we put WebGrid inside a table tag. Here, in the attachment, I have modified those sample so that it will resize the grid and always show the message in every response.

     I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: May 26, 2010 10:47 PM

Hi Brad,

     Deeply sorry, however, I have not heard any news regarding this work item. But, I have re-follow up them about this work item. I have asked them to fix this issue as soon as possible. Thank you and have a nice day.

Best Regards,

Andi Santoso

All times are GMT -5. The time now is 2:59 PM.
Previous Next