DayPilot Forums

AJAX Calendar/Scheduling Controls
DayPilot » Forums » How To » How can I use a Window.Open since JavaScriptEventAction?

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

Andre - 4/20/2007 2:44:06 PM
I'll give it a try.
Dan Letecky - 4/20/2007 9:01:34 PM
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');
Dan Letecky - 4/22/2007 9:32:46 PM
Sorry for delay, thanks for your help, it works now.
Andre - 8/14/2007 2:13:05 PM
See also a related documentation topic:

HOWTO: Open a pop-up window with event details
Dan Letecky - 9/11/2007 10:07:14 AM
Post reply