Jump to content
Xtreme .Net Talk

How can i can cause items/events/task in my calendar to be links?


Recommended Posts

Posted
I have a calendar control that displays a bunch of events and tasks. I was wondering if theres some way that I can cause these events to be links at which I can click and it will return a more in depth info regarding displayed events/tasks etc.
Posted

So would this

 

strEvents.Append("<br />" + dueTimeString + "<br />" + Consultant + "<br>" + Client + "<br>" + JobTitle + "<br>" + JobNo + "<br><br>");

 

 

be

 

strEvents.Append("<br /><href>" + dueTimeString + "<br />" + Consultant + "<br>" + Client + "<br>" + JobTitle + "<br>" + JobNo + "<br><br>");

 

is this what you meant

Posted

This is what I did, but I didn't get a link. In fact the href appeared in the html itself. Looking at my code is there any obvious reason?

 

strEvents.Append("<br /><" + due_Start_Time_String + "<br />" + due_Finish_Time_String + "<href=" + JobTitle + ">Here</a>" + JobNo + "<br><br>");

Posted

I did this and still got nothing:

 

if (eventdate.Equals(e.Day.Date))

strEvents.Append("<br>" + due_Start_Time_String + "<br>" + due_Finish_Time_String + "<href= + JobTitle + >Here</a>" + JobNo + "<br><br>");

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...