Home Unanswered Active Tags New Question

How can I use a Window.Open since JavaScriptEventAction?

Hi, Im using the DayPilot 2.3 and Im doing a projectworkingwindow.openwith javascript for show a day selected, it works goodfor JavaScriptFreeAction (eg.: window.open("Default2.aspx?startingtime=0}", null,"height=200,width=400,status=yes,toolbar=no,menubar=no,location=no"); but for select events throw JavaScriptEventAction, it doesnt works, it doesnt open the window.

Can anyone help me?

Thanks

Asked by Andre 4 years ago.
Replies
I'll give it a try.
Comment posted by Dan Letecky 4 years ago.
There is a quotation marks escaping bug. I'll fix it in DayPilot Lite 2.2.

Before it's released you can use apostrophes instead of quotation marks:

window.open('Default2.aspx?id={0}', null,'height=200,width=400,status=yes,toolbar=no,menubar=no,location=no');
Comment posted by Dan Letecky 4 years ago.
Sorry for delay, thanks for your help, it works now.
Comment posted by Andre 4 years ago.
See also a related documentation topic:

HOWTO: Open a pop-up window with event details
Answer posted by Dan Letecky 4 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java