Resource Collection in RadScheduler

47 posts, 0 answers
  1. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 24 Feb 2012 Link to this post

    Hello Jose,

    You can access controls of the advanced form from code behind in the FormCreated event of RadScheduler. Here is a help topic for more details.

    For a client side approach, please see this topic.

    Regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  2. Karthik
    Karthik avatar
    19 posts
    Member since:
    Aug 2012

    Posted 22 Feb 2013 Link to this post

    Hi,
     I've used the examples given here and it has almost solved all the issues I was facing, except a small bit. I am able to insert a custom resource type by selecting from the drop down into the database, but when I am editing the same appointment, how do I display the resources that I selected while inserting the appointment. for example, the appointment data types like description, location are all displayed automatically, but in regards to the custom resources I am not sure how to display. The drop down displays all the values, but I want to select one that I have preselected and pass it from the database .
    In other words..as in the Example below is how I get the values for the dropdown and in my database (through another query) I get the purposeid. I want this purposeid to be selected when I display the edit appointment. Can you please help?

     ResourceType resMeetingRoomPurpose = new ResourceType
                                                         {
                                                          DataSource = DBHelper.GetMeetingRoomPurposes(),
                                                          KeyField = "purposeid",
                                                          ForeignKeyField = "purposeid",
                                                          TextField = "Purpose",
                                                          AllowMultipleValues = false,
                                                          Name = "Purpose"
                                                         };



  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Karthik
    Karthik avatar
    19 posts
    Member since:
    Aug 2012

    Posted 25 Feb 2013 Link to this post

    Guys,
     Any help will be much appreciated. I have used this without templates and I need to preselect only one resource. Please help
  5. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 27 Feb 2013 Link to this post

    Hi,

     
    Since this thread is quite long it is not quite clear which exactly scenario are you implementing. Generally preselecting of the appropriate resource is a functionality that is usually inbuilt in RadScheduler. If you are using Custom Advanced form you will have to implement it as in this on-line demo. You can get the isolated code from this Code Library.

    Hope this will be helpful.

    All the best,
    Plamen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Santosh
    Santosh avatar
    24 posts
    Member since:
    Sep 2013

    Posted 25 Oct 2013 Link to this post

    how to get selected value by default in radschedular dropdownlist from database???? At present Getting "-" by default in radschedular how to over come this issue????
  7. Santosh
    Santosh avatar
    24 posts
    Member since:
    Sep 2013

    Posted 25 Oct 2013 Link to this post

    how to get selected value by default in radscheduler dropdownlist  from database???? At present Getting "-" value default in radscheduler dropdownlist how to over come this issue ???
  8. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 30 Oct 2013 Link to this post

    Hello,

     
    You can use onFormCreated event as it is described in Change the selected index of a resource combobox so always one option is preselected section of this help topic.

    Hope this will be helpful.

    Regards,
    Plamen
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  9. Santosh
    Santosh avatar
    24 posts
    Member since:
    Sep 2013

    Posted 31 Oct 2013 Link to this post

    Hi Peter,
    I use RadScheduler in my application...created resource collection and populated with some data.....but in the drop down by default the first list item is dispalyed as '-' which I dont want.I want default value irrespective of "-".

    just few mins back seen ur reply to this kind of issue
    This behavior is by design. If no resource of a specific type is associated with the appointment, the "-" option is selected for the dropdown list. (posted on dec 27 2007) ...... got any solution to this issue . 

  10. Santosh
    Santosh avatar
    24 posts
    Member since:
    Sep 2013

    Posted 04 Nov 2013 Link to this post

    4 Days up no reply to my issue .... kindly give some reply to above issue.... i had been posted on 31/10/2013 till now no reply .... waiting for the reply.
  11. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 05 Nov 2013 Link to this post

    Hello,

     
    I am attaching a sample web page where similar behavior is implemented. Hope this will be helpful.

    I would also like to recommend you if you are having a urgent issue connected with RadControls to use your support tickets system.

    Regards,
    Plamen
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  12. Santosh
    Santosh avatar
    24 posts
    Member since:
    Sep 2013

    Posted 05 Nov 2013 Link to this post

    Thanks For The Reply ..... we are using radresource in radschedular but not radcombobox. radschedular is not accepting radcombobox.Give samples in Radresource instead of radcombobox for getting default value instead of "-".


  13. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 07 Nov 2013 Link to this post

    Hello Santosh,

     
    It is not clear what do you mean by "using radresource". Would you please share which exactly scenario and binding from our on-line demos are you using so we could provide solution?

    Regards,
    Plamen
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  14. Santosh
    Santosh avatar
    24 posts
    Member since:
    Sep 2013

    Posted 07 Nov 2013 Link to this post

    Hello Admin,
                        Thanks For the Reply my issue is u had attached sample file on 5th of this month which consists of radcombobox in radschedualr but we are using "ResourceType" in Radschedular by this we are getting "-" value default in "ResourceType" we don't want such "-" value default.Instead of  "-" value we want "ACTIVE" value to be placed default in radschedular using radresouce type but not with radcombobox.

  15. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 11 Nov 2013 Link to this post

    Hi Santosh,

     
    Unfortunately I could not find any attached file and it is still not clear what is the difference of the scenario that you are implementing.  Would you please elaborate is you using AdvancedTemplate scenario or the default insert/update form?

    Regards,
    Plamen
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  16. Santosh
    Santosh avatar
    24 posts
    Member since:
    Sep 2013

    Posted 12 Nov 2013 Link to this post

    Hello Admin,
    Attached File Named as :changeResourceDefaultValue.Zip dated on 5th of this month(In This Page only). AttachedFile consists of radcombobox in radschedualr but we are using "ResourceType" in Radschedular by this we are getting "-" value default in "ResourceType" we don't want such "-" value default.Instead of  "-" value we want "ACTIVE" value to be placed default in radschedular using radresouce type but not with radcombobox.
  17. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 12 Nov 2013 Link to this post

    Hi,

     
    Now  I think the scenario a bit more clear.

     In your case you are defining the resources from the mark up as in this on-line demo while in the project I attached it was done from a custom provider. The only difference that have to be done in the code is that instead of "ResRoom" you should find the control in the code behind by using "Res"+ Yuur ResourceType Name. This should let you find the correct RadComboBox in the advanced form and change the text of the selected item according to your scenario.

    Regards,
    Plamen
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  18. Manikandan
    Manikandan avatar
    2 posts
    Member since:
    Nov 2013

    Posted 07 Oct 2015 Link to this post

    hi i am using radscheduler, while i am created new appointment template, The template inside subject and Start Date End Date, CheckboxList radcombobox isthere,  tow type of checked option if i clicked checkbox1 i want load radcombobox in checkbox1 related data at same time i clicked checkbox2 i want load radcombobox in checkbox2 related data

    Please help me 

     

     

     

     

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017