adam.hodge
Top achievements
Rank 1
adam.hodge
asked on 02 Oct 2007, 02:29 PM
is it possible to turn off the display of resource selection? Basically I would just create a generic resource in my provider or not use them at all. Thanks!
adam
adam
8 Answers, 1 is accepted
0
Hi,
I am not sure that I fully understand your question. At the moment, there is no option to turn off the resource selection in the advanced form. I agree that such an option is useful and we will consider implementing it. If you are using a custom provider you are not required to return any resources, just return an empty array in the GetResourceTypes and GetResourcesByType.
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I am not sure that I fully understand your question. At the moment, there is no option to turn off the resource selection in the advanced form. I agree that such an option is useful and we will consider implementing it. If you are using a custom provider you are not required to return any resources, just return an empty array in the GetResourceTypes and GetResourcesByType.
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
adam.hodge
Top achievements
Rank 1
answered on 03 Oct 2007, 11:45 AM
That's what I found. Basically I have a need for the advance form but the resource will be defaulted. So if I could just hide that drop down that would be great.
0
Hi Adam,
We will implement an option to enable/disable the rendering of the resource drop downs in time for the service pack, due in about a week.
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We will implement an option to enable/disable the rendering of the resource drop downs in time for the service pack, due in about a week.
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
adam.hodge
Top achievements
Rank 1
answered on 03 Oct 2007, 12:32 PM
wow, you rock!
0
Dheepa
Top achievements
Rank 1
answered on 04 Oct 2007, 04:27 PM
I am looking for something similar. I want to provide a dropdown outside of the scheduler to pick a resource and then default the resource to be that for all the appointments made and not let them pick a different resource in the advance edit. How can I do this.
0
Hello Dheepa,
You should be able to do that by using the EnableResourceEditing property (will be available in the service pack) and by setting the resource in the AppointmentInsert event. For example:
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You should be able to do that by using the EnableResourceEditing property (will be available in the service pack) and by setting the resource in the AppointmentInsert event. For example:
protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e) |
{ |
int resKey = int.Parse(DropDownList1.SelectedValue); |
Resource res = RadScheduler1.Resources.GetResource("User", resKey); |
e.Appointment.Resources.Add(res); |
} |
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Mark
Top achievements
Rank 1
answered on 12 Dec 2009, 09:02 PM
Hi
I'm using the Q3 2008 controls. I'd like to disable one of my 3 resource dropdowns when a user enters the Advanced Edit form. It's ok if it's visible, I just want to prevent users from making a change. Is that possible?
Thanks
Mark
I'm using the Q3 2008 controls. I'd like to disable one of my 3 resource dropdowns when a user enters the Advanced Edit form. It's ok if it's visible, I just want to prevent users from making a change. Is that possible?
Thanks
Mark
0
Hi Mark,
Regards,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can use this kb article to access the resource combobox in the advanced form. Then you can set its Enabled property to false - resRoomDDL.Enabled = false;
Regards,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.