Hi ,
I am using RadSchedulerRecurrenceEditor control only ( No Schedular).
i am using window manager to popup Recurrenceeditor from same page as a popup window on click of button.
please see following code
Code file
now when i open this window i can see recurrence editor control.
i have added following JS functions for by default checking recurrence option and hiding hourly and yearly option
Till this point its working fine.
now i am facing some issues:
1. in weekly option list i want to set day checkbox checked as true for todays date. e.g. if today is monday , monday checkbox should be checked and same for other days.
2. in monthly list option , drowpdown are not working to select for any specific day of month. but if we press up or down arrow click it is working.
3. in popup window i have put close button . but when i click on that i dont get window object in parent page. my parent page contains master page.
4. I also want to check recurrence end date with my one variable on page . i am not able to get end date from recurrenceeditor.
can you please help me in above issues ... its urrgent.
Thanks,
Abhijit Chaudhari
I am using RadSchedulerRecurrenceEditor control only ( No Schedular).
i am using window manager to popup Recurrenceeditor from same page as a popup window on click of button.
please see following code
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
ShowContentDuringLoad
=
"false"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"winPopupRecurrence"
runat
=
"server"
ShowContentDuringLoad
=
"true"
KeepInScreenBounds
=
"true"
Modal
=
"true"
Width
=
"600px"
Height
=
"450px"
>
<
ContentTemplate
>
<
div
>
<
telerik:RadSchedulerRecurrenceEditor
ID
=
"RadRecurrenceEditor"
runat
=
"server"
>
</
telerik:RadSchedulerRecurrenceEditor
>
</
br
>
<
asp:Button
ID
=
"BtnSaveRecurrence"
runat
=
"server"
Text
=
"Save"
CausesValidation
=
"false"
OnClientClick
=
"Close(); return false;"
/>
</
div
>
</
ContentTemplate
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
Code file
winPopupRecurrence.OpenerElementID = LbRecurrencePattern.ClientID;
i have added following JS functions for by default checking recurrence option and hiding hourly and yearly option
function pageLoad() {
var $ = $telerik.$;
$(".RecurrenceEditor").children().each(function (i) {
if (i == 0) {
$($($(this).children()[0]).children()[0]).attr("checked", "checked");
}
else if (i == 1)
this.style.display = "block";
});
var $ = $telerik.$;
$(".rsRecurrenceOptionList").children().each(function (i) {
if (i == 0 || i == 4)
$(this).hide();
});
Till this point its working fine.
now i am facing some issues:
1. in weekly option list i want to set day checkbox checked as true for todays date. e.g. if today is monday , monday checkbox should be checked and same for other days.
2. in monthly list option , drowpdown are not working to select for any specific day of month. but if we press up or down arrow click it is working.
3. in popup window i have put close button . but when i click on that i dont get window object in parent page. my parent page contains master page.
4. I also want to check recurrence end date with my one variable on page . i am not able to get end date from recurrenceeditor.
can you please help me in above issues ... its urrgent.
Thanks,
Abhijit Chaudhari