This is a migrated thread and some comments may be shown as answers.

Appt appearance within Radscheduler

6 Answers 92 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 23 Sep 2008, 09:10 AM
Hi,
Couple of questions..

Within my calendar i am displaying 2 types of appt.
I need to change the appearance of these 2 types.

It is easy to change backcolor, forecolor etc, however..
when i change the backcolor, there is still a thin "title bar" visible. I want the appt block to be fully filled with my colour. (only want this for 1 of the appt types!)

Also, is it possible to display an icon in the appt (within the calendar view) similar to the recurrance icon, but my own icon ?
(Not within the appt edit window, but the actual calendar view of the appt)

Many Thanks
Mark :-)

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 23 Sep 2008, 01:13 PM
Hi Mark,

Regarding your first question, could you please be more specific? Have you followed this help topic? If you want to remove the subject text of the appintments, you can hook to the AppointmentDataBound event and set e.Appointment.Text = " ". If you mean something different, please elaborate. If you need to send us a sample project or screenshots, I suggest you open a support ticket.

As for the second question, you can do this using Templates. You can refer to this kb article for how to add templates dynamically based on a custom condition tha you define.  

Feel free to contact us if you have any further questions.


Greetings,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mark
Top achievements
Rank 1
answered on 23 Sep 2008, 01:18 PM
Hi,
Sorry i was a bit vague.

I am using WebBlue skin which gives a "header" bar appearance on the appt. I want it use the WebBlue skin but have the Default skin appt appearance.

Also, could you send the KB article in vb.net please ?

Many Thanks
Mark
0
Peter
Telerik team
answered on 23 Sep 2008, 02:01 PM
Hello Mark,

Even with the WebBlue skin, using the css selectors suggested in this help topic, I was able to set the background color for the appointments. Please, refer to the attached screenshot. Is this the desired appearance or do you see a problem with it too?

As for the VB.NET version of the kb article, we don't have a sample project in VB.NET, but you can use http://www.codechanger.com/ to convert it. If you experience any problems, feel free to let us know.


All the best,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mark
Top achievements
Rank 1
answered on 23 Sep 2008, 02:18 PM
Great, Thats what i was after...simple when you know how !! lol

Many Thanks
Mark
0
Mark
Top achievements
Rank 1
answered on 23 Sep 2008, 02:31 PM
Hi Peter...

Just a quick question (for you !).
Seem to be having a brain-freeze today !
I cant seem to add an icon (or gif image) to the corner of the appointment ?

I have tried, but no luck...
Any ideas please
Thanks
Mark

.rsApt.TaskApptStyle .rsAptInner

{

background-image: url('Images/CITY.jpg');

}

0
Peter
Telerik team
answered on 24 Sep 2008, 01:09 PM
Hi Mark,

Please, try the following css selector:
 <style type="text/css">  
     .rsApt.TaskApptStyle .rsAptInner  
    {  
        /*          color    image             repeat    x   y  */ 
        backgroundred url('Images/CITY.gif'no-repeat 5% 10%;  
    }  
    </style> 

You can adjust the position of the image via the x and y percent values.

Regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Mark
Top achievements
Rank 1
Answers by
Peter
Telerik team
Mark
Top achievements
Rank 1
Share this question
or