Welcome Guest Search | Active Topics | Sign In | Register

Scheduler Options
Priya
Posted: Tuesday, March 23, 2010 3:03:03 AM
Rank: Member
Groups: Member

Joined: 1/6/2010
Posts: 12
Hai,

I am using eo scheduler in my application and i tried to open a pop-up with different data regarding the date that i selected , for that i used onselectionchanged event but its not working. Below is the code that i used


protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
string projectDate = Calendar1.SelectedDate.ToString();
Calendar1.Attributes.Add("onClick", "return projectAndEmirate('" + projectDate + "')");

}

<eo:Calendar id="Calendar1" runat="server" TitleTemplateScope="TextOnly" ....

OnSelectionChanged="Calendar1_SelectionChanged">
.....
</eo:Calendar>

The onselectionchanged event itself not firing.kindly help me in this...


Thanks in advance
eo_support
Posted: Tuesday, March 23, 2010 6:17:13 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

SelectionChanged only works when the page posts back. You can either set the Calendar's AutoPostBackOnSelect to true to trigger a post back on select, or post back the page through other means (such as a standard button).

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.