possble to not display resource selection?

9 posts, 0 answers
  1. adam.hodge
    adam.hodge avatar
    5 posts
    Member since:
    Jul 2006

    Posted 02 Oct 2007 Link to this post

    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     
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2772 posts

    Posted 03 Oct 2007 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. adam.hodge
    adam.hodge avatar
    5 posts
    Member since:
    Jul 2006

    Posted 03 Oct 2007 Link to this post

    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.
  5. T. Tsonev
    Admin
    T. Tsonev avatar
    2772 posts

    Posted 03 Oct 2007 Link to this post

    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
  6. adam.hodge
    adam.hodge avatar
    5 posts
    Member since:
    Jul 2006

    Posted 03 Oct 2007 Link to this post

    wow, you rock!
  7. Dheepa
    Dheepa avatar
    31 posts
    Member since:
    Oct 2007

    Posted 04 Oct 2007 Link to this post

    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.
  8. T. Tsonev
    Admin
    T. Tsonev avatar
    2772 posts

    Posted 05 Oct 2007 Link to this post

    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:

    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
  9. Mark
    Mark avatar
    52 posts
    Member since:
    Sep 2007

    Posted 12 Dec 2009 Link to this post

    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
  10. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 14 Dec 2009 Link to this post

    Hi Mark,

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017