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

[Solved] Select action question

1 Answer 94 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
nachid
Top achievements
Rank 1
nachid asked on 03 Jan 2011, 04:43 PM
I have a bunch of events and I am trying to use the calendar component to manage them
Each event has an ID and a date
I managed easily to show those events on my Calendar
However I want to use the event ID to retrieve the event when I select it from the calendar and click on it
Today you can use only the date in your select action
I can have multiple events with the same date
In the help online, it is said that that
"You can use Action  to set action name and route values or the overload Action method to set action name, controller name and route values".


I'll be gratefull if someone can elaborate on it and help me use ID to select my events

1 Answer, 1 is accepted

Sort by
0
nachid
Top achievements
Rank 1
answered on 11 Jan 2011, 10:32 AM
I studied deeply the code of CalendarSelectionSettingsBuilder & co.
I am convinced that it is not that easy to work around this problem.
I guess the best I can do is to write a jQuery code and modify each hRef of my cells.
I still have the option to use the date itself as a link and try to ovoid duplicate dates
Tags
Calendar
Asked by
nachid
Top achievements
Rank 1
Answers by
nachid
Top achievements
Rank 1
Share this question
or