problem with radscheduler javascript

5 posts, 0 answers
  1. MOUSLIKI
    MOUSLIKI avatar
    11 posts
    Member since:
    Jul 2012

    Posted 11 Feb 2011 Link to this post

    Hi all,
       I have used the code an the demo :   http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourceavailability/defaultcs.aspx

    but the function of JavaScript in the example don't work in my project ..?????

    please I'm very stressed with that.
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 11 Feb 2011 Link to this post

    Hello MOUSLIKI,

    Could you please be more specific which of the Javascript functions doesn't work and did you receive any error?

    Regards,
    Veronica Milcheva
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. MOUSLIKI
    MOUSLIKI avatar
    11 posts
    Member since:
    Jul 2012

    Posted 11 Feb 2011 Link to this post

    thanks  Veronica 

       the all function related to appointement or ressources for example : 
    scheduler.get_appointments().getAppointmentsInRange(start, end);

    and also the intellesense don't give me any of this methode !!!! 
  4. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 14 Feb 2011 Link to this post

    Hello MOUSLIKI,

    In the ticket info I see you are using version 2010.3 1317. Can you confirm this?

    To include jQuery on your page and enable IntelliSense simply register Telerik.Web.UI.Common.Core.js using RadScriptManager/MS ScriptManager under VS 2010 or MS ScriptManager under VS 2008:
     
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <%--Needed for JavaScript IntelliSense in VS2010--%>
                <%--For VS2008 replace RadScriptManager with ScriptManager--%>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            </Scripts>
        </telerik:RadScriptManager>

    Also please note that you need to cast the RadScheduler as shown below:

    <script type="text/javascript">
            //Put your JavaScript code here.
            function pageLoad() {
                var scheduler = $telerik.toScheduler($find("<%= RadScheduler1.ClientID %>"));
            }
        </script>

    You can press Ctrl+Shift+J to update the IntelliSense in the Visual Studio. Now you are ready to use the IntelliSense.

    Please let me know if this was helpful.

    Best wishes,
    Veronica Milcheva
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  5. MOUSLIKI
    MOUSLIKI avatar
    11 posts
    Member since:
    Jul 2012

    Posted 14 Feb 2011 Link to this post

    Hi Veronica,

    thank you for your help, I have solved my problem using a server side code.

    thank you,
Back to Top