Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1160
Trying
posted

Trying to use the webdayview to diplay information in a detailsview on click activity client side event. Anyone know anything about how to make this function? What I'd like to do is stop the appointment page from popping up and instead display the information next to the webdayview in a deatils view on a single click event. Now I have the single click event working to bring up the popup on a single click but as I noted I don't really want that to happen.

Parents
  • 1160
    posted

    Alright answered my own question sort of. Now I'm just trying to use the postback function with my click event but it doesnt seem to want to work. Perhaps I've typed the code wrong. I know I'm missing something thats probably obvious though. Here is the code I am using.

     

    <script id="igClientScript" type="text/javascript">

    <!--

    function WebDayView1_Click(oDayView, oEvent, element){

    //Add code to handle your event here.

    debugger;

    oDayView._onHandleEvent(element, {type:'dblclick', myEvt:true});

    oEvent.fullPostBack=true;

    }

    function WebDayView1_DblClick(oDayView, oEvent, element){

    //Add code to handle your event here.

    if(!oEvent.event.myEvt)

    oEvent.cancel = true;

    }

    // -->

    </script>

Reply Children