Print Page | Close Window

Retrieve clicked event

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=16466
Printed Date: 12 May 2025 at 7:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Retrieve clicked event
Posted By: brianbruff
Subject: Retrieve clicked event
Date Posted: 17 March 2010 at 12:00pm
Hi there,
does anyone know how I can find what event has been clicked (or double clicked even)?
 
I'm using this code
 

void axCalendarControl1_DblClick(object sender, EventArgs e)

{

var x = axCalendarControl1.ActiveView.HitTest();

f (x.ViewEvent != null)
{
var viewEvent = x.ViewEvent;
var id = viewEvent.Event.Id;
}

}

 

Problem is when I set the calendar control to readonly i don't get the event anymore



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net