Hi quick and simple and if anyone can let me know how to do it I would be grateful
Currently I am opening the dialog on double click and all is well but my client wants to open on a single click of the webdayview and I have scoured the forums and docs for an answer and found nada. can this be done?
Many thanks
Richard
Hi Viktor
Many thanks for your response, I've succeeded to open the appointment dialog on single Click, according to your recommendations.
Thank you.
Hakim
Hi Hakim,
Before doing anything, please read my first reply in that thread. Dialog on single click is not publically supported feature and suggested work around include usage of private variables and functions. That means, in case of misbehavior, you should not use that.
To implement, you should go to properties of WebDayView in visual designer, expand ClientSideEvents, type-in "myClick" for the Click subproperty and "myDblclick" for Dblclick subproperty.Next you should copy <script> block from my first response and paste it anywhere within the <head> of your page.
If you want to debug, then you may insert "debugger;" or "alert('my click function hit')" statements in those handlers.
Hi,
I've just discovered andinstalled the Infragistics product and I need to open an appointment using a simple click.
Can you please help me in implementing this functionnality by providing me a sted by step procedure because it's not realy clear for me.
Kind regards
Hi Richard,
In your function name of 3rd param is "element", but you calloDayView._onHandleEvent(src, {type:'dblclick', myEvt:true});I expect that you should get exception. You should change name of param to "src", or replace "src" by "element" in _onHandleEvent.
Please insert at the beginning of your event handlers new linedebugger;and when debugger goes to that line, please hit F11 or F10. It will allow you to see what is going on and find out reasons for most problems. In javascript many things can go wrong and without debugging (direct, alerts, output to screen instant values, etc.) it is very hard to expect that codes will work as you intend.