TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Peter Thopson
NA
5
463
Calendar Controls in Webforms
Dec 16 2020 6:05 AM
I want to take the selected date from the calendar control and pass to the argument.
protected
void
Calendar1_SelectionChanged(
object
sender, System.EventArgs e)
{
_availebletimeSlotsRoom1 =
new
BindingList<
string
>(_allTimeSlots.ToList());
_availebletimeSlotsRoom2 =
new
BindingList<
string
>(_allTimeSlots.ToList());
_availebletimeSlotsRoom3 =
new
BindingList<
string
>(_allTimeSlots.ToList());
_availebletimeSlotsRoom4 =
new
BindingList<
string
>(_allTimeSlots.ToList());
DLAvailTS1.DataSource = _availebletimeSlotsRoom1;
DLAvailTS2.DataSource = _availebletimeSlotsRoom2;
DLAvailTS3.DataSource = _availebletimeSlotsRoom3;
DLAvailTS4.DataSource = _availebletimeSlotsRoom4;
UpdateRoom(1, e.Start, _availebletimeSlotsRoom1);
//ERROR HERE:'EventArgs' does not contain a definition for 'Start' and no extension method 'Start' accepting a first argument of type 'EventArgs' could be found (are you missing a using directive or an assembly reference?)
UpdateRoom(2, e.Start, _availebletimeSlotsRoom2);
UpdateRoom(3, e.Start, _availebletimeSlotsRoom3);
UpdateRoom(4, e.Start, _availebletimeSlotsRoom4);
}
This procedure starts after a change of the selected dates in the Calendar1 control.
Parameter 'e' does not have not property Start.
How can I get the Start from the Calendar Object
Reply
Answers (
3
)
Open Source School Management System in .NET MVC
lose filter in pager ,mvc