search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

paint event

Asked by Roiy
16 years ago.

Hi

1.is there a way to paint all the event in colornot just the DurationBarColor?

2.how to mark a selected event in the calendar ?

Thanks

roiy

Comment posted by Dan Letecky
16 years ago.
1. You can use EventBackColor property to change the background color of all events. If you want to modify the color for individual events, you should use BeforeEventRender method and modify e.BackgroundColor.

2. You need to enable selecting by setting EventClickHandling="Select". This will enable event selecting (clicking will select an event). The selected event will be marked with a top and bottom border, 5px high. The color of these borders is determined by EventSelectColor property (blue by default).
Comment posted by Roiy
16 years ago.

1.OK

2 I need to leave the EventClickHandlingEnum = PostBack becouse i need to use e.Value.

what is the way to leave EventClickHandlingEnum = PostBack and mark a selected event?

Thanks

Comment posted by Dan Letecky
16 years ago.
If you need a server-side event after event selecting you should use this:

EventClickHandling="Select" EventSelectHandling="PostBack"

In this case, EventSelect event will be fired on the server side.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.