In the WebDayView and WebMonthView is there a way to change the default appearance of appointments? For example I want to add an icon that would appear to the left of the appointment. Also I want to hyperlink the location such clicking it would take me to another page on my web app. Is there a way to do this?
Thanks,
George
Hi Nikolay. Thansk for your attention. I am still having the same problem. I've attached a zip file of my project that isn't working. Any help or thought you have would be greatly appreciated.
Have a nice day,
Hello,
I am still following your case. Are you still experiencing the same problem?If you have any concerns or questions, please feel free to contact me, I will be glad to help you.
Thank you for choosing Infragistics components!
Best regards,Nikolay Alipiev
Hello, George.
Here is the WebScheduleInfo members list, containing the default tags. It seems you are doing it right, using the custom tags, but as far as the code you have provided, I cannot give you more information.
But, after your custom tag is interpreted, you can then just simply try to put IMG tag referencing the source. The last one is more as a workaround, but if it appears to be working you can use it. If you still have problems, you can try to send me some sample, so that I can investigate further and in more details.
Best regards,
Nikolay Alipiev
HI Nikolay,
Your previous response helped quite and bit and I've read the post that you linked and have started down the road of using the AppointmentFormatString. The post indicates that I should be able to use my own custom fields in the AppointmentFormatString but I'm not having much luck. I've derived a class from WebScheduleInfo and have added to it my own custom format tag.
public class FixtureScheduleInfo : Infragistics.WebUI.WebSchedule.WebScheduleInfo
{
public static string FormatTag_TYPEICONPATH = "<TYPEICONPATH>";
public FixtureScheduleInfo() : base()
}
I've also made sure that my aspx file is using my FixtureScheduleInfo and that my WebDayView and WebMonthView are referencing it as their WebScheduleInfoID. For my appointments I've derived a class from Appointment and have added a string property for TYPEICONPATH. I've also changed the AppointmentFormatString for my WebDayView and WebMonthView to "<SUBJECT> - <TYPEICONPATH>". The result is that though the subject appears as I would expect. the TYPEICONPATH doesn't display. When I look at it in the IE javascript debugger it looks like the <TYPEICONPATH> is being interpreted as HTML. It looks like that whatever is responsible for replacing the format tags with the values from the appointments is skipping over my custom format tag. Is there something that I'm missing about how this should work? Any assistance that you can provide would be greatly appreciated.
Thanks again,
I am still following your case. Have you been able to resolve the issue?
If you have any concerns or questions, please feel free to contact me, I will be glad to help you.