Click here to Skip to main content
15,846,144 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using dhtmlx schedule
I have downloaded sample project for mvc4 scheduler.
What I want is,If user double click on the schedule,I don't want to display the Lightbox,How can I define this in my view page and in which action I have to define it?
Index.cshtml in" MVCFormInLIghtBox",I have defined like
ViewBag.Title = "Scheduler | MVC Form in lightbox";
ViewBag.SampleTitle = "MVC Form in lightbox";
ViewBag.ShortDescription = "Custom lightbox form";
ViewBag.LongDescription = "Try to edit event";
<script type="text/javascript">
alert("In light box script");
alert("In double click");
return true;

<style type="text/css">


In this Dbl click event is not firing,even alert is also not can I fire this event as well as I don't want to show the lightbox.

1 solution

Try this
Using jQuery you can easily implement double click event
  var yourControlId = $("#yourControl");
  yourControlId .dblclick(function () {
   //show light box here

Hope this helps
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900