Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Double click (Read 3033 times)
CodingJeff
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Apr 22nd, 2007
Double click
Jun 14th, 2007 at 11:05am
Print Post  
Can anyone tell me how I can capture the last name of an appointment when a user doublclicks on an appointment in the schedule?
Thanks in advance
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Double click
Reply #1 - Jun 14th, 2007 at 11:52am
Print Post  
Handle the Calendar.ItemClick event and perform something similar to the following:

Code
Select All
private void OnItemClick(object sender, ItemMouseEventArgs e)
{
    if (e.Clicks == 2)
    {
	  string itemText = e.Item.HeaderText;
    }
} 



Meppy
  
Back to top
 
IP Logged
 
CodingJeff
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Apr 22nd, 2007
Re: Double click
Reply #2 - Jun 14th, 2007 at 11:57am
Print Post  
Awesome, Thank you
  
Back to top
 
IP Logged
 
CodingJeff
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Apr 22nd, 2007
Re: Double click
Reply #3 - Jun 14th, 2007 at 2:00pm
Print Post  
How about getting the Contact ID associated with the same appointment?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Double click
Reply #4 - Jun 14th, 2007 at 5:19pm
Print Post  
Hello,

Try with e.Item.Contacts[0].Id.

Stoyan
  
Back to top
 
IP Logged
 
CodingJeff
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Apr 22nd, 2007
Re: Double click
Reply #5 - Jun 14th, 2007 at 6:40pm
Print Post  
Works great, thanks again guys.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint