This is a migrated thread and some comments may be shown as answers.

Database???

20 Answers 431 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Silderado
Top achievements
Rank 1
Silderado asked on 08 Nov 2007, 12:35 PM
Hi, I have a problem, what can I do to look like in my database, OBJECT DATASOURCE, and demonstrate the information in SCHEDULER? I tried in various ways and not see anything, or the time set ... Someone help me?

20 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 08 Nov 2007, 01:33 PM
Hello Silderado,

Thank you for your interest in RadScheduler.

Could you please be more specific as to what your want to achieve and what problems you experience? Are you trying to bind RadScheduler to an ObjectDataSource? If so, I suggest you refer to the online example on Binding To Generic List which will help you get started.



Greetings,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Silderado
Top achievements
Rank 1
answered on 08 Nov 2007, 02:07 PM
Hi Peter,

I am using the same example that you passed me, however i copy it for my application, not modified anything, and when they do not appear that the hours: 08:00 - 09:00 - 10:00 ...

And when I click Week or month not do anything ...

You know what can be?
0
Atanas Korchev
Telerik team
answered on 08 Nov 2007, 02:50 PM
Hello Silderado,

Unfortunately we are not sure where the problem might be. I suggest you open a formal support ticket and send us your code as an attachment. This will help us identify the problem. Thanks.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Silderado
Top achievements
Rank 1
answered on 08 Nov 2007, 04:00 PM
You do not have any idea what this because when I click this also not doing anything?
0
Peter
Telerik team
answered on 08 Nov 2007, 04:12 PM
Hello Silderado,

Unfortunately, we can only shoot in the dark trying to guess where the problem is since the information you provided is not sufficient. You said that you tried to recreate the example locally. Did the appointments created with the InitializeAppointments() method display after running the project? Do you experience problems trying to insert/edit and appointment? Please, consider the original online example and tell us what is the difference in the behavior that you experience locally? Ideally, as Albert suggest, you should open a support ticket and send us your project so we can test it.


Best wishes,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Silderado
Top achievements
Rank 1
answered on 08 Nov 2007, 04:42 PM
I agree with you, it is rather complicated ...

I made the following now, to try to locate the problem ... copy the default file, DefaultCS.aspx and DefaultCS.aspx.CS, for my project and when I try to run this error occurring in the line: 
<%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>

Message: Name of space to name or type 'SessionDS' does not exist in space to name 'Telerik.Web'. Need a reference module (assembly)?


This can this causing this problem?


 

0
Peter
Telerik team
answered on 09 Nov 2007, 08:28 AM
Hello Silderado,

Yes, this will cause a problem since we use a custom session datasource for the examples. You need a reference to the SessionDataSource.dll file which is in the Bin of the Live Demo examples.

Or, you can try replacing the session datasource with an SqlDataSource for example, using the SchedulerData.mdf database file in the App_Data folder of the Live Demo examples.


Greetings,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Silderado
Top achievements
Rank 1
answered on 09 Nov 2007, 09:14 AM
Hi Peter,

  I did this, I was in the folder BIN and added the reference file SessionDataSource.dll, though not resolved. After that I copy the file by replacing what I had, which was the RadControls for Asp.net, also not resolved.

  For its second choice, as I would not to use the session datasource and use a SqlDataSource that I have, which actually is a ObjectDatasource?


Silderado
0
Peter
Telerik team
answered on 09 Nov 2007, 09:21 AM
Hello Silderado,

Did you try copying the SessionDataSource.dll file to the bin of your project?

As for the second question, could you please be more specific? I suggest you try first binding RadScheduler to an SqlDataSource using the SchedulerData.mdf file just to make sure that you have a working project. Then you can try with other data sources.


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Silderado
Top achievements
Rank 1
answered on 09 Nov 2007, 09:44 AM
Did you try copying the SessionDataSource.dll file to the bin of your project?
A: I did exactly that and not resolved.

As for the second question, could you please be more specific? I suggest you try first binding RadScheduler to an SqlDataSource using the SchedulerData.mdf file just to make sure that you have a working project. Then you can try with other data sources.

A: I copying the file SchedulerData.mdf then created the SqlDataSource seeking information him, and still not achieve anything view.

He was looking at the bottom of the page and is showing that the 'TELERIK' not defined this ... you know what can be?


Another thing, not installing all the dlls succeed because of RadControls' Prometheus' for ASPNET Q2 2007 it is occurring error of incompatibility of Telerik.Charting.dll, stating that already exists in another folder ... That will be the problem?
0
Silderado
Top achievements
Rank 1
answered on 09 Nov 2007, 11:27 AM
Someone can help me?
0
Peter
Telerik team
answered on 09 Nov 2007, 11:46 AM
Hello Silderado,

The examples which we provide with the installation of the Telerik Web.UI suite are part of a quick start framework which uses various dependencies such as header and footer for the pages. If you want to isolate a particular example in a separate project you should strip those dependencies. For example, consider the Binding to Generic List demo:

<%@ Page Language="C#" AutoEventWireup="true" Inherits="Telerik.Web.Examples.Scheduler.BindToList.DefaultCS" 
    CodeFile="DefaultCS.aspx.cs" %> 
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %> 
<%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %> 
<%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %> 
<%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %> 
<%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <qsf:HeadTag ID="Headtag1" runat="server" /> 
</head> 
<body class="BODY">  
    <form id="Form1" method="post" runat="server">  
        <qsf:Header ID="Header1" runat="server" NavigationLanguage="C#" /> 
 
        <asp:ScriptManager ID="ScriptManager" runat="server" /> 
          
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="RadScheduler1">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
          
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="30" BackColor="#E0E0E0" InitialDelayTime="500">  
            <asp:Image ID="Image1" Style="margin-top: 200px" runat="server" ImageUrl="~/Ajax/Img/loading.gif" 
                BorderWidth="0px" AlternateText="Loading"></asp:Image> 
        </telerik:RadAjaxLoadingPanel> 
          
        <div class="bigModule">  
            <div class="bigModuleBottom">  
                In addition to using declarative data sources and custom providers  
                <b>RadScheduler</b> can also be bound to both generic and non-generic collections.  
                <br /> 
                This allows you to directly use your business objects as a data source.  
            </div> 
        </div> 
 
        <telerik:RadScheduler runat="server" ID="RadScheduler1" 
            Width="750px" EnableEmbeddedSkins="True" Skin="Mac" 
            DayStartTime="08:00:00" DayEndTime="18:00:00" TimeZoneOffset="03:00:00" 
            OnAppointmentInsert="RadScheduler1_AppointmentInsert" 
            OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" 
            OnAppointmentDelete="RadScheduler1_AppointmentDelete" 
            DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End" 
            DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentId">  
        </telerik:RadScheduler> 
 
        <qsf:Footer runat="server" ID="Footer1" /> 
    </form> 
</body> 
</html> 
 

Try deleting the highlighted lines and check if the error disappears.


Cheers,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Silderado
Top achievements
Rank 1
answered on 09 Nov 2007, 12:29 PM

Hi Peter,


It was the same that I used, i copying it again, the code that you sent, and can not work with him in any way ...

Retirei the parties that you went, as was below the code.

 

<%@ Page Language="C#" AutoEventWireup="true" Inherits="Telerik.Web.Examples.Scheduler.BindToList.DefaultCS"    
    CodeFile="DefaultCS.aspx.cs" %> 
 
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    Namespace="System.Web.UI" TagPrefix="asp" %>    
    
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>    
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>    
    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">    
<html xmlns="http://www.w3.org/1999/xhtml">     
<head id="Head1" runat="server">     
    <qsf:HeadTag ID="Headtag1" runat="server" />    
</head>    
<body class="BODY">     
    <form id="Form1" method="post" runat="server">     
        <asp:ScriptManager id="ScriptManager1" runat="server">  
        </asp:ScriptManager>&nbsp;  
             
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">     
            <AjaxSettings>    
                <telerik:AjaxSetting AjaxControlID="RadScheduler1">     
                    <UpdatedControls>    
                        <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />    
                    </UpdatedControls>    
                </telerik:AjaxSetting>    
            </AjaxSettings>    
        </telerik:RadAjaxManager>    
             
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="30" BackColor="#E0E0E0" InitialDelayTime="500">     
            <asp:Image ID="Image1" Style="margin-top: 200px" runat="server" ImageUrl="~/Ajax/Img/loading.gif"    
                BorderWidth="0px" AlternateText="Loading"></asp:Image>    
        </telerik:RadAjaxLoadingPanel>    
             
        <div class="bigModule">     
            <div class="bigModuleBottom">     
                In addition to using declarative data sources and custom providers     
                <b>RadScheduler</b> can also be bound to both generic and non-generic collections.     
                <br />    
                This allows you to directly use your business objects as a data source.     
            </div>    
        </div>    
    
        <telerik:RadScheduler runat="server" ID="RadScheduler1"    
            Width="750px" EnableEmbeddedSkins="True" Skin="Mac"    
            DayStartTime="08:00:00" DayEndTime="18:00:00" TimeZoneOffset="03:00:00"    
            OnAppointmentInsert="RadScheduler1_AppointmentInsert"    
            OnAppointmentUpdate="RadScheduler1_AppointmentUpdate"    
            OnAppointmentDelete="RadScheduler1_AppointmentDelete"    
            DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End"    
            DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentId">     
        </telerik:RadScheduler>  &nbsp;  
    </form>    
</body>    
</html>    
 


[]s
Silderado
0
Peter
Telerik team
answered on 09 Nov 2007, 01:14 PM
Hi Silderado,

There are still references to the quick start framework (qsf) in your code:

      
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>       
    
 
 <qsf:HeadTag ID="Headtag1" runat="server" />    




Kind regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Silderado
Top achievements
Rank 1
answered on 09 Nov 2007, 01:27 PM
Withdrew most did not change anything : (
0
Peter
Telerik team
answered on 09 Nov 2007, 01:33 PM
Hi Silderado,

Well, we are not sure then what else could be causing the problem. It would be best if you open a support ticket and send us your project. Please, include all related files such as DLLs and database files.


Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Silderado
Top achievements
Rank 1
answered on 09 Nov 2007, 01:51 PM
Hi Peter,

  I think I am starting to find something ...

  You know which component, dll, that makes it appear the option FixHeight dp Telerik.Web.UI.RadScheduler.FixHeight?


  Why this error occurring in this line, I think this is what this so that the contents do not appear, ie HOURS ...
0
Peter
Telerik team
answered on 09 Nov 2007, 03:16 PM
Hello Silderado,

I am not sure why you get this error. We cannot give you specific advise unless we examine your project locally.


Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Silderado
Top achievements
Rank 1
answered on 09 Nov 2007, 03:37 PM
How can I send the project to you?
0
Peter
Telerik team
answered on 09 Nov 2007, 03:38 PM
Hi Silderado,

Please, open a support ticket and attach the project there.

Greetings,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Silderado
Top achievements
Rank 1
Answers by
Peter
Telerik team
Silderado
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or