User Profile & Activity

Bernard Xiang Member
Page
of 52
Posted: June 20, 2013 10:15 PM

Hi Jakub,

From your message above, you mentioned that you have successfully insert the resource data to your database. And right now you're facing the problem that comes from EventsAdapter update method. However if you have successfully insert the resource data to database and control the identity ID, the events won't show the old data. As you can see in WebScheduler sample (SoftwareDevelopmentTimeline.aspx), it also control handle the identity value. Although, you can use this function to refresh the resources from clientside events:

var scheduler = ISGetObject(controlId);
scheduler.RefreshResources();
return true;

Actually, I need to trace and debug this problem in our local end. Perhaps, you can guide us to replicate this issue by giving us a simple sample that can replicate this issue in our local end. Look forward to hear any feedback from you so I can help you further.

Regards,
Bernard

Posted: June 19, 2013 10:56 PM

Hi Frank,

I expect WebScheduler 4 will be released in July. It will be packaged with our ASP.NET control that have supported HTML5 doctype also ClientUI and our new new mobile framework "CrossLight".

In WebScheduler 4, it will come with many new features like Optimized Daylight Saving Time for many countries that use daylight saving time in their timezone and Modern UI theme that would render WebScheduler in different way. Using Modern UI, WebScheduler will appear neater and more up-to-date instead of the other theme in Scheduler. WebScheduler 4 will come with other features to modify its UI. Hope this helps.

Regards,
Bernard


For more information, please see http://intersoftpt.wordpress.com/2013/05/16/new-in-2013-r1-webscheduler-4/

Posted: June 19, 2013 10:40 PM

Hi Jakub,

I have tried to replicate your issue here. Unfortunately, I couldn't replicate your issue in our local end. Please check if your stored procedure (p_WebSchedulerResources_ins) have the right parameter from your  TableAdapter. However, when using DataSet ResourcesTableAdapter Insert function, I don't have any difficulties to insert the data to my database. Using that method I just have to add the ResourcesName, Description, Color and Location parameter, then it will control the new ID (identity) for the new resources. Is there any executable simple sample in our local end that can replicate your issue? I really need to track where the problem comes from so I can help your further.

Regards,
Bernard

Posted: June 18, 2013 9:53 PM

Hi Jakub,

Actually, all the fields in Resources table are necessary to make WebScheduler works properly. However, to achieve this scenario, you can put this configuration in your DataBinding <ResourcesBinding ResourceIDField="ID" ResourceNameField="ID" />. This method force the ID to be shown as ResourceName. The other field can be deleted from ResourcesBinding configuration. Also using this method, you couldn't add resources manually from editing form. Is this method achieve your scenario? Please let me know if you have any difficulties regarding this matter. Hope this helps.

Regards,
Bernard

Posted: June 16, 2013 9:42 PM
Hi Jakub,

Actually, this matter happen in all of our control. This matter happen because there are some changes in our framework that made our the control couldn't make the object automatically in aspx page. However, you still can make client side events in your page, First, you can make javascript manually in your aspx page and then you can manually added the function name to client side event's property inside WebScheduler (i.e. <ClientSideEvents OnBeforeAdd="WebScheduler1_OnBeforeAdd" />). We are really sorry for this problem and if you still found any difficulties regarding this problem, please let me know. I'll guide you further. Hope this helps.

Regards,
Bernard
Posted: June 13, 2013 10:53 PM

Hi Jakub,

I think that scenario is possible to do with WebScheduler. Although, you can extend the column of Resources table then filter it using the parameter in extended column of Resources table. When Resources table filtered, events will be shows regarding the Resources that WebScheduler got from server side. You can also change the structure of the CallOut in OnCallOUtShow event. Here's the code:

function OnCallOutShow(controlId, mode) {
   var WebScheduler1 = ISGetObject(controlId);
   WebScheduler1.GetCallOutDataElement().children[0].rows[2].style.display = "none";
   return true;

}

You can also control the insert data in WebScheduler in OnBeforeAdd event. please let me know if you have any difficulties to achieve this scenario. Hope this helps.

Regards,
Bernard

Posted: June 11, 2013 11:59 PM

Hi Michiel,

Actually, this scenario couldn't be achieved for now. WebDesktopShortcut always reindex its position when you hover or after being created. This is handled by our API to maintain the position for WebDesktopShortcut. owever you can set its position with Location property in WebDesktopShortcut, i.e. Location="100, 100". But to make shortcut pinned in right bottom, we need set its right and bottom style. This couldn't be done because when reindex position, our API set its left and top so it will negate the right and bottom style in WebDesktopShortcut.

If you want to achieve this, I can make this as Feature Request. Our developer team will handle the feature request soon, so WebDesktop can achieve your scenario. Please give me a feedback so I can help your further.

Regards,
Bernard

Posted: June 11, 2013 9:18 PM

Hi Jamesik,

Actually, there are 3 primary table on WebScheduler which are Resources, Events and Categories. However, Resources is the table that usually used to bind each event with single resources. This table also used to hide or show some events in WebScheduler. I'm glad that you have solved your problem.

Hope this helps.

Regards,
Bernard

Posted: June 10, 2013 10:27 PM

Hi Jakub,

To resolve this matter, maybe you can filter the data at when the data loaded. You can specified events that you want to show regarding its resources. I attach my simple sample regarding this matter. Please look on my sample and please let me know if this sample doesn't fulfill your requirement. Hope this helps.

Regards,
Bernard

Hi Tenika Lusby,

Maybe you can resolve that matter by bypassing its parameter before WebDialogBox created. Here's the example:

function OnBeforeCreated(controlId) {
   var WebDialogBox1 = ISGetObject(controlId);
   WebDialogBox1.WindowSettings.AllowMaximize = "Yes";
   return true;
}

WebDialogBox inherits many APi from WebDesktopWindow, so it can be customized like WebDesktopWindow. Hope this helps.

Regards,
Bernard

All times are GMT -5. The time now is 5:25 AM.
Previous Next