Drop Down Issue in Scheduler.Net-EVAL120608 Trail Version

Hi,

When I was looking into forum, i came to know that the latest version is available for scheduler. So I have downloaded “Scheduler.Net-EVAL120608.zip” today. I tried to intregarte with my existing calendar POC and found that dropdown(LightboxSelect) and multiselect(LightboxMultiselect) are not loading the data. On further analysis, I reverted back to my old version and tested and are working fine.

I would like to know, do I need to do any changes to correct this issue.

Regards,
Kamal

Adding to it, I have taken Scheduler.MVC3 sample from the latest version for further anlaysis and included a category dropdown and tested. The dropdown is not loading the data. I think that there might be an issue with DHTMLX Dll. Could you please look into this and let me know the solution.

Regards,
Kamal

Also, I would like to inform you that my earlier version downloaded on 08-May-2012. When I used this version dll and js, application was working fine.

Regards,
Kamal

Hello Kamal,
thank you for the information.
We will check this issue

I’ve just checked the trial package, dropdowns and multiselect seems to work there.
When you tried it in your app, did you replace both dll and js scripts, or just dll?
and what kind of error do you get?

As I informed you, I have replaced both dll and js files. Also, I tried with MVC Sample from trail version it is not loading the data into dropdown. I tried the below in MVC Sample:
public virtual ActionResult Index()
{

        var sched = new DHXScheduler(this);
        sched.Config.multi_day = true;
        sched.InitialDate = new DateTime(2011, 9, 19);
        sched.LoadData = true;

        //To Create Category Box
        var eventCategorySelect = new LightboxSelect("Category", "Category");

        for(int i=0; i<10; i++)
        {

// eventCategorySelect.AddOption(new LightboxSelectOption(i,“Category”+i.ToString()));

            eventCategorySelect.AddOption(new LightboxSelectOption(i.ToString(),i.ToString()));
        }
        eventCategorySelect.Height = 30;
        eventCategorySelect.MapTo = "CategoryId";
        sched.Lightbox.Add(eventCategorySelect);
        sched.EnableDataprocessor = true;
        return View(sched);
    }

The same is working in older version.

Regards,
Kamal

Thanks for the sample, now I get it.
There is a bug with LightboxSelectOption. If you add options as collection of custom objects(like in AddRangeController->Index from the package) it will work.
We will fix it in the nearest time

Hi Aliaksandr,

Thank you very much for you reply.

As per your suggestion, I have done necessary changes and able load the drop down and multiselect controls.
Now I have noticed that save method is triggering twice when I insert or update the event. For Example: if I create an event then the event inserted sucessfully and is having action type “Insert”. After that, another time save method is triggered with action type “Update” immediately and updating the same record. On further analysis, I found that lat and lng has 0 at first time of insertion and will updated in subsequent save(update) method. Is this actual behavior of the calendar or issue. Could you please look into this and let me know your thoughts.

Regards,
Kamal

Hi,
this looks like a bug, but once again I couldn’t reproduce it on basic samples.
I’ve set initial lat and lng values, and created few events, but they have had correct values at the first time, so there was no second request.
Try to download the latest scheduler from the site(issue with LightboxSelectOption is fixed now).
if the issue continues, please attach some demo or code which will help to reproduce it

Hi Aliaksandr,

Thanks for reply. I am cross verify all methods and send you the steps followed to simulate this issue(save method is triggering twice) soon.

I have noticed another issue i.e. Month view is showing duplicates as shown in attached snapshot.
Could you please look into this and update me the solution.

Regards,
Kamal


do you have this issue with the latest version of scheduler(-EVAL120613) ?

Hi Aliaksandr,

Thanks, it is working with EVAL120613. But I noticed another issue with latest version i.e. Recurring Event is not working fine. If event is normal event then event window is opening. if event is recurring then the event window is opening. I tired in my calendar poc and MVC sample
Could you please look into and let me know solution to correct this.

Regards,
Kamal

Hi,

Do you mean that the recurring event window is not opening?
Are there any error messages in browsers console?

Hi Aliaksandr,

Yes, the recurring event window is not opening but normal event window is opening. Browser console is not giving any error.

I have noticed another issue i.e default value selection in dropdown. In my event widnow, the category dropdown should be defaulted to 3 when user open the event window to create an event. I am using the below statement and is working fine earlier.

sched.InitialValues.Add(“CategoryId”, “3”);

But it is not working in new version dowloaded on 120613. Could please check and suggest me how to correct this.

Regards,
Kamal

Hello Kamal,
I still can’t reproduce any of these issues:(
I’ve just checked initial values and recurring form on a trial package from site, and they worked as supposed.
the only thing i can suggest for now, try to add the next line to configuration

scheduler.Version = "123";

it make scheduler to generate links to the sources as
codebaseUrl/dhtmlxscheduler.js?123
so we’ll be sure that calendar is using actual version of js codebase, not the one stored in browser cache

Hi Aliaksandr,

Thank you very much for your reply.

The below issue is not consistent. I assume that this is because of browser cache. Some times, it works even without doing below changes. However, i have done below changes and is working fine.

Regards,
Kamal

Hi,

On further analysis, I have noticed following issue in recurring event .

I created an recurring event with following options:

*Full day Event
*Event should repeat weekly on every Thursday until 10 occurrences.

I am able to see this event on calendar. Now, I have edited the same recurring event(whole Series) and modified location and save. After this, I am not able to see this event on calendar. I have debugged and found that the data is coming from database but it is not rendering on the calendar. I am not able to figure out what could be the issue. As you know, I am planning to migrate my POC from trail to Lincensed. Before that, I want to make sure that all required features are working fine.

Regards,
Kamal

Hi,

I have further debugged the same issue and my observations are below.

Create Recurring Event having the Start date as 2012-06-17 04:00:00.000(Time zone feature is enabled) and end date as per 10 occurrences. Once I edited and save then the end date is changed to 2012-06-18 04:00:00.000. I assume that this reason why I am not able to see this event.
Adding to it, When I edit the event and selected whole series, I saw the start date is 2012-06-17 and end date is 2012-06-18 in event window and save it then the application is updating same end date to database but not the actual end date as per recurrence setup.

It would be great help if you give quick solution to solve this issue.

Regards,
Kamal

Adding to it, the below issue is occurring when I select the Edit series not the edit occurrence. I tried recurring event with fully day event and with timings and seen same issue in both the cases. So could you please look into this issue and let me know the solution.

Regards,
Kamal

Hi,

Good Morning!

After so many hours of debugging, I found that the above issue is happening because of enabling the limit extension i.e sched.Extensions.Add(SchedulerExtensions.Extension.Limit). If I exclude this extension, the editing of recurring event(whole series) is working fine otherwise it is not.

Note: As you know, we have enabled this extension to highlight the current time

I hope that this will help you to simulate this issue and find the solution.