Recurring event after clicking a readonly event

Hi,
I´m using dhtmlxScheduler with c#, and i´m using the recurring and read only modules in my scheduler. When i click in a non read only event i can change, add or remove a recurring event with any problem, but if i choose a read only event and after i choose a non read only event i cannot see the recurring option. i have to refresh the page to gain again access to recurring option. What can i do resolve this problem?

Thanks

This is known limitation.
Recurring section can’t be shown in readonly state, so readonly extension hides recurring section - which is cause problematic behavior in your case.

We will try to fix it in oncoming update.

One possible solution. For now it’s working…

function block_readonly(id, event){
scheduler._init_lightbox_events();

var s;
if (event==“create”){
scheduler._init_lightbox_events();
s=scheduler._lightbox.innerHTML.replace(/<TEXTAREA disabled/gi,"<TEXTAREA");
s=s.replace(/<SELECT disabled/gi,"<SELECT “);
s=s.replace(”

","
");
s=s.replace("
","
");
s=s.replace("<DIV class=custom_button_recurring","<DIV class=dhx_custom_button_recurring");
scheduler._lightbox.innerHTML="";
scheduler._lightbox.innerHTML=new String(s);
return true;
}
if (event==“move”){
return false;
}

debugger;
s=scheduler._lightbox.innerHTML.replace(/<TEXTAREA/gi,"<TEXTAREA disabled");
s=s.replace(/<SELECT/gi,"<SELECT disabled");
s=s.replace("

","
");
s=s.replace("
","
");
s=s.replace("<DIV class=dhx_custom_button_recurring","<DIV class=custom_button_recurring");
scheduler._lightbox.innerHTML="";
scheduler._lightbox.innerHTML=new String(s);
return true;
}

scheduler.attachEvent(“onBeforeDrag”,block_readonly)
//scheduler.attachEvent(“onClick”,block_readonly)
scheduler.attachEvent(“onDblClick”,block_readonly)

This solution does not work for me!
The reccurind disappears after an event seen as readonly …