8 Answers, 1 is accepted
0
Hi Rama,
We do not provide a property to turn this option off. I can suggest you a workaround using the FormCreated event:
Best wishes,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We do not provide a property to turn this option off. I can suggest you a workaround using the FormCreated event:
protected void RadScheduler1_FormCreated(object sender, SchedulerFormCreatedEventArgs e) |
{ |
if (e.Container.Mode == SchedulerFormMode.AdvancedInsert || |
e.Container.Mode == SchedulerFormMode.AdvancedEdit) |
{ |
RadioButton hourly = (RadioButton) e.Container.FindControl("RepeatFrequencyHourly"); |
hourly.Visible = false; |
} |
} |
Best wishes,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Rama
Top achievements
Rank 1
answered on 27 May 2008, 12:48 PM
Thank you Tsonev...
0
Stephen
Top achievements
Rank 2
answered on 18 Dec 2008, 08:42 AM
Is there an easy way to find the names of the controls? I'd like to do a similar thing with the Recurring Appointment checkbox.
I'd also like to find customAttribute textboxes and increase the width of the textbox. I couldn't find it by name so am not sure how I go about that.
thanks,
Stephen
I'd also like to find customAttribute textboxes and increase the width of the textbox. I couldn't find it by name so am not sure how I go about that.
thanks,
Stephen
0
Hi Stephen,
Please, use this kb article as reference:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-access-controls-in-the-advanced-form.aspx
All the best,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Please, use this kb article as reference:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-access-controls-in-the-advanced-form.aspx
All the best,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Stephen
Top achievements
Rank 2
answered on 18 Dec 2008, 02:25 PM
Thanks for that. I actually found that knowledgebase article about half an hour after I made that post and it was very helpful.
I've now got the Recurring appointment hidden or shown depending which Room (resource) the appointment is opened on.
I would like to change the visibility if the Room dropdown box is changed, otherwise I may get the situation where the user opens a new appointment for a room that can have recurring appointments, and then changes the dropdown to a room that cannot. A clientside event perhaps?
thanks again,
Stephen
0
Hi Stephen,
I am not sure what the desired functionality should be, but you can review the customizing the advanced template example and decide if this can help you achieve your goal:
http://demos.telerik.com/aspnet-ajax/Scheduler/Examples/AdvancedFormTemplate/DefaultCS.aspx.
Regards,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I am not sure what the desired functionality should be, but you can review the customizing the advanced template example and decide if this can help you achieve your goal:
http://demos.telerik.com/aspnet-ajax/Scheduler/Examples/AdvancedFormTemplate/DefaultCS.aspx.
Regards,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
ISCServices
Top achievements
Rank 1
answered on 26 Aug 2011, 06:39 AM
Hi I tried RadioButton hourly = (RadioButton)e.Container.FindControl("RepeatFrequencyHourly") however I am always getting null in object, could be because of RecurrentAppointment is unchecked initially!! Is there another way to get the same? Basically I am d also wish to disable the hourly option in recurrence Patten however unable to find the same control on form created event.
0
Hello,
Here is one way to achieve this functionality that works at my side:
Hope this will help.
All the best,
Plamen Zdravkov
the Telerik team
Here is one way to achieve this functionality that works at my side:
function
OnClientFormCreated(sender, args) {
var
$ = $telerik.$;
var
mode = args.get_mode();
if
(mode == Telerik.Web.UI.SchedulerFormMode.AdvancedInsert ||
mode == Telerik.Web.UI.SchedulerFormMode.AdvancedEdit) {
$(
".rsRecurrenceOptionList li:eq(0)"
).hide();
}
}
Hope this will help.
All the best,
Plamen Zdravkov
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>