Schedule Builder demo

Thread is closed for posting
19 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 09 Jun 2008 Link to this post

    Requirements

    RadControls version

    RadControls for ASP.NET AJAX Q2 2008 SP2
    Telerik.Reporting Q2 2008 SP2

    .NET version

     2.0

    Visual Studio version

    2005

    programming language

    C#

    browser support

    all browsers supported by RadControls


     
  2. PROJECT DESCRIPTION

    Overview

    This demo is a sample web application created to demonstrate interoperability among various Telerik controls in a real-world application. The application simulates a session schedule builder which is data-bound to a Microsoft SQL Server Express. The user can view all available sessions in a grid, filter them using a slider, and drag them to the scheduler to build his own schedule. Also, the user can manage his own profile – upload an image, print his badge and schedule using Telerik.Reporting.
    This demo is available online at: http://demos.telerik.com/schedulebuilder/

    Features

    1. Drag&drop between RadGrid and RadScheduler - you can drag an appointment from RadGrid and insert it in RadScheduler by dragging. The appointment will be displayed in the corresponding time slot of RadScheduler; appointments that are already in the schedule do not allow to be dragged again.
    2. Deleting of appointments from RadScheduler - delete an appointment and it will be available for dragging from the RadGrid again.
    3. RadWindow - click on an appointment (session) and RadWindow will be shown with details of session.
    4. Grouping and Sorting of RadGrid – sessions in RadGrid are grouped by date and track. Every track has a different color. Clicking on headers of Time or Level column will sort the sessions by time or difficulty level.

    5. RadGrid filtering using RadSlider – drag the slider handle. This will filter the sessions in the RadGrid by difficulty level – all sessions with level less or equal to the value of slider will be displayed.
    6. Uploading images using RadUpload – click “upload photo” link and RadUpload will be displayed. This will allow you to upload a photo.
    7. Edit user profile – click the “Edit” button and RadTextBoxes and a RadComboBox will be displayed. Fill them and click the “Save” button.
    8. Print your profile badge – click the “Print my badge” button. A Radwindow, containing a ReportViewer, will be displayed.
    9. Print your schedule - click the “Print my schedule” button. A RadWindow, containing a ReportViewer, will be displayed.
  • Nyceane
    Nyceane avatar
    17 posts
    Member since:
    Nov 2007

    Posted 26 Jun 2008 Link to this post

    Hey, thanx for the demo, it was really helpful, but I'd be appreciated if there are more comments around, I can't seem to get what does "marked" means...
  • Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 27 Jun 2008 Link to this post

    Hello Nyceane,

    "Marked" are these records (appointments) from the grid which are already dragged to the scheduler control. The appointment will be displayed in the corresponding time slot of RadScheduler; appointments that are "marked" are already in the schedule and do not allow to be dragged again.

    Best regards,
    Rosi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  • Wen
    Wen avatar
    10 posts
    Member since:
    May 2008

    Posted 27 Aug 2008 Link to this post

    Can someone please check the status of the online demo. I'm getting the error below.

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Thanks,

    - Wen
  • Paul
    Admin
    Paul avatar
    4281 posts

    Posted 28 Aug 2008 Link to this post

    Hi Wen,

    Thanks for the report. The demo will be fixed ASAP. Please excuse us for the inconvenience we might have caused you.

    Best wishes,
    Paul
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  • Jack Slyfield
    Jack Slyfield avatar
    2 posts
    Member since:
    May 2007

    Posted 31 Aug 2008 Link to this post

    In Default.aspx.cs I get an error due to this:
        private
    DataServer _dataServer;

    Error message is :
    Error 3 The type or namespace name 'DataServer' could not be found (are you missing a using directive or an assembly reference?) C:\Projects\Demos\ScheduleBuilder\IntegrationDemo\Default.aspx.cs 21 13 C:\...\ScheduleBuilder\

    This code is from the ScheduleBuilder demo. I have search to source codee and find no reference to DataServer.  Any thoughts?

  • Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 05 Sep 2008 Link to this post

    Hello Jack,

    Everything works as expected on our end.

    I suggest you check if the DataServer.cs file is missing. It should be placed inside the App_Code folder.

    I hope this helps. Meanwhile you can use the live demo here.

    Regards,
    Rosi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  • coop
    coop avatar
    5 posts
    Member since:
    Nov 2006

    Posted 21 Sep 2008 Link to this post

    This application is exactly what I'm looking at the Telerik controls for....a web based Event tracking app I'm working on.$0$0$0$0I  am however unfortunately C# illiterate... would there happen to be a VB version of this demo app?$0$0$0$0$0Thanks!$0$0-Coop$0
  • Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 23 Sep 2008 Link to this post

    Hi Coop,

    We will certainly consider your request for the next version of the demo. Meanwhile you can easily convert the code from the sample in VB.NET language using our free online Telerik's Code Converter .

    Kind regards,
    Rosi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  • coop
    coop avatar
    5 posts
    Member since:
    Nov 2006

    Posted 23 Sep 2008 Link to this post

    Thanks for the link to the code converter....that's going to be a very useful tool.

     One comment though. I see the Sample Project page just got updated a little bit.  I happen to click on the live demo for the Event Scheduler app and noticed that the profile for the sample user (John Smith) has a photo associated with it that you may want to change.  I'm no prude by any stretch of the imagination, but I'm not sure how business appropriate a naked woman on your site is.  

    Update:
    Talk to sales when I was purchasing your product and they took care of the issue above.
  • Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 24 Sep 2008 Link to this post

    Hi Coop,

    Thank you for bringing this to our attention.

    The database for the example is being reset every 4 hours. However,  we will consider  another way how we can deal better with this problem.

    Regards,
    Rosi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  • Jeff Giesbrecht
    Jeff Giesbrecht avatar
    48 posts
    Member since:
    Apr 2006

    Posted 10 Oct 2008 Link to this post

    Could you update the download to the latest version of the Telerik controls and also include the visual studio solution for the application? It will make it much easier to run and debug through the code to understand how it works together.

    Sincerely,
    Jeff
  • Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 13 Oct 2008 Link to this post

    Hi Jeff Giesbrecht,

    Thanks for your interest in our controls.

    The demo will be updated with the latest official build soon.

    Regards,
    Rosi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  • Wen
    Wen avatar
    10 posts
    Member since:
    May 2008

    Posted 20 Oct 2008 Link to this post

    Is there a way to disable the ability to drag/drop certain rows, dependent on a row parameter, through a row or grid configuration?

    I noticed that in your demo this was accomplished by the select assignment of the "onmousedown" event based on the "Marked" field, but was wondering if there was a more inherit method through the RadGrid control and related grid items.

    Thanks in advance.

    Wen
  • Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 21 Oct 2008 Link to this post

    Hello Wen,

    Thank you for interest in our demo.

    RadGrid supports drag and drop functionality out of the box.
    You can use it to achieve your goal. Please see our online example -  Items Drag And Drop
    Also you can read our help article for more details - Drag and drop of grid items


    If you use this functionality of RadGrid you can cancel the dragging for certain rows by hooking on the OnRowDragStarted event set eventArgs.set_cancel(true) to cancel.

    In the Scheduler Builder demo the dragging  is disabled for these rows which are already dragged. To achieve this we have a column in the DataBase containing boolean value. If it is true the mousedown event is not attached to this row and it cannot be dragged.The code which implement that is in the RadGridSessions_ItemDataBound event handler:
      if (!(bool)(DataBinder.Eval(e.Item.DataItem, "Marked")))  
                {  
                    e.Item.Attributes["onmousedown"] = string.Format("onMouseDown(event, this,{0})", DataBinder.Eval(e.Item.DataItem, "ID").ToString());  
                } 

    Regards,
    Rosi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  • Jeff
    Jeff avatar
    2 posts
    Member since:
    Dec 2008

    Posted 12 Jan 2009 Link to this post

    Hi,
    When I updated the Telerik.Web.UI.dll in the project to version 2008.3.1125.35, I lost the colors inside the appointment blocks.  They are now gray.

    No changes were made to code.

    Steps to reproduce:
    - Loaded clean solution in VS2008.  Upgraded solution to 3.5, accepted the default values of the Telerik Report Upgrade wizard.
    - Dragged a RadDatePicker onto Default.aspx;
    - Prompted with "Destination File Exists: A file with the name 'bin/Telerik.Web.UI.dll' already exists. Do you want to replace it?"  Clicked Yes.
    - Prompted with "Destination File Exists: A file with the name 'bin/Telerik.Web.UI.xml' already exists. Do you want to replace it?"  Clicked Yes.
    - Right-clicked Default.aspx & chose "View in Browser"

    Your expedited response would be greatly appreciated.  (This is the final obstacle to getting finances for developers' licenses!)

    Thanks,

    Jeff
  • Peter
    Admin
    Peter avatar
    6637 posts

    Posted 13 Jan 2009 Link to this post

    Hello Jeff,

    With Q3 2008, the styling of RadScheduler has been simplified. This may cause some workarounds which depend on the previous rendering to malfunction. Such is the case with applying unique styles to RadScheduler's appointments. To fix the problem, please add the following css styles:

     
    .Windows_and_Frameworks .rsAptOut  
    {  
       background#c0dee3!important;  
       color#1c6390!important;  
    }  
     
     
    .Office_and_SharePoint .rsAptOut  
    {  
        background#c7e0a6 !important;  
       color#387000 !important;  
        }  
     
     
    .Development_Practices .rsAptOut  
    {  
       background#ece999!important;  
       color#a14B00!important;  
    }  
     
    .Database_Platform .rsAptOut  
    {  
       background#FF9F80!important;  
       color#480000!important;  
    }  
     
     
    .Web_and_User_Experience .rsAptOut  
    {  
       background#D8664D!important;  
       color#000!important;  
    }  
     
     
    .Windows_Mobile .rsAptOut  
    {  
        background#E5FFFF!important;  
        color#2D579F!important;  
    }  
     

    This workaround is based on the following help topic:
    http://www.telerik.com/help/aspnet-ajax/schedule_howtoset_different_styles_for_appointments.html


    Best wishes,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  • Jason
    Jason avatar
    12 posts
    Member since:
    Aug 2007

    Posted 02 Sep 2009 Link to this post

    I love this demo but I cant figure out on how the radupload control works on this demo. How is the textbox being hidden ?

    Hector
  • Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 04 Sep 2009 Link to this post

    Hi Hector,

    Please add the following CSS rule to the <head> section of your page:

    <style type="text/css">       
    div.RadUpload .ruFakeInput 
        display : none
    </style> 


    Regards,
    Veselin Vasilev
    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