Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
Has anyone ever seen the issue where a timeline appt goes into the wrong day based on the current time? It looks like when I add an appt, it moves from previous day to current day based on the time of day. i.e. an appt that has a date/time of 3/14/10 2:30 PM - 3/14/10 4:00 PM the appt spans two days if the current time is say 2:45 PM. If I make the appt to be 3/14/10 3:00 PM - 3/14/10 4:00 PM it stays on one day and does not span 2.

Any help is much appreciated. I think I just don't have a setting right????
Peter
Telerik team
 answered on 23 Mar 2010
3 answers
150 views
Hi,
I have a TimelineView that spans multiple days even though the appointment is set for one day only. For example the Start Date/Time and End Date/Time are on 3/12/10 but the TimelineView shows a start on 3/11/10 going into 3/12/10.

Probably something easy which I just am not getting.

Any help is appreciated. I attached screenshots.
Peter
Telerik team
 answered on 23 Mar 2010
1 answer
144 views
Can someone point me to a working example of a hierarchical parent-child rad grid using EntityDataSources?  I can display the parent table, but when I click to expand the child table, I get the following error:

'ClientID' is not a member of type 'WebcomKBModel.wc_Goal' in the currently loaded schemas., near multipart identifier, line 1, column 8.

I believe this is because my key field is not called "ClientID" in the child schema created by the EDMX modeler.  Its a navigational field which may need to be referenced with another name?   If anyone can point me to some working example that shows how the EntityDataSource should be setup for a Parent to Child relationship in a hierarchical grid, that would be great!

I can do it with a SqlDataSource, but not an EntityDataSource.

Pavlina
Telerik team
 answered on 23 Mar 2010
1 answer
108 views
Hi Folks,

I have my datagridview in aspx and i have certain code like this:-
<asp:GridView runat="server" AllowSorting="True" AutoGenerateColumns="False" Width="100%" ID="gvProductCode" meta:resourcekey="gvProductCodeResource1"
            <Columns> 
            <asp:CommandField ShowSelectButton="True" meta:resourcekey="CommandFieldResource1"
                <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle> 
                <ItemStyle HorizontalAlign="Center"></ItemStyle> 
            </asp:CommandField> 
            <asp:BoundField DataField="vchProductCode" HeaderText="Product Code" SortExpression="vchProductCode" meta:resourcekey="BoundFieldResource1"
                <HeaderStyle HorizontalAlign="Center"></HeaderStyle> 
                <ItemStyle HorizontalAlign="Left"></ItemStyle> 
            </asp:BoundField> 
 </Columns>             
        </asp:GridView> 

now i replaced my datagridview with a RadGrid...can anyone please let me know the code that i should replace.....with the above code with respect to RadGrid...urgent help required.

Thanks
Satya
Pavlina
Telerik team
 answered on 23 Mar 2010
1 answer
114 views
 Hi,

The "Enabled" property of RadScheduler is not working properly with Firefox.
Please check it out.

RadScheduler1.Enabled = false

Lior S
Top achievements
Rank 1
 answered on 23 Mar 2010
2 answers
68 views
Hi,

   Filter is giving error when we enter ';' (semo colon) in the filter control. Please send me the solution asap.

thanks,
Raj
Raj J
Top achievements
Rank 1
 answered on 23 Mar 2010
1 answer
141 views
Hi, i am andrew

i new programmer donet and telerik. i want make scheduler in web [asp.net] so i try use telerik scheduler.
i have database access2003 with table name appointment
id        auto number
start   date time
end    date time
sbj     memo
 and i drag rad scheduler and i connect  with my data source access mdb. i try with manual telerik but when i save my data it error

Server Error in '/WebSite1' Application.

You tried to assign the Null value to a variable that is not a Variant data type.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: You tried to assign the Null value to a variable that is not a Variant data type.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OleDbException (0x80004005): You tried to assign the Null value to a variable that is not a Variant data type.]
   Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.OnDataSourceOperationComplete(Int32 count, Exception e) +39
   System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) +77
   Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.Insert(RadScheduler owner, Appointment appointmentToInsert) +178
   Telerik.Web.UI.Scheduling.AppointmentController.InsertAppointmentThroughProvider(Appointment appointment) +75
   Telerik.Web.UI.Scheduling.AppointmentController.InsertAppointment(Appointment appointment) +37
   Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack) +469
   Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument) +108
   Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +39
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

it say null value how  to get value and how to use with database mdb ?
please help me how to use scheduler, may i have get example with code  because i new in dotnet developer.

thank you

Andrew


Peter
Telerik team
 answered on 23 Mar 2010
3 answers
122 views
Is there is was in the timeline view to have appointments that are created in the AM displayed on top of appontments that are created in the PM?  Please see the attached screen shot.

Peter
Telerik team
 answered on 23 Mar 2010
1 answer
114 views
Hi All,

I am using the Scheduler to plan appointments.
Some Appointments are set by administrator as "no man's land" (for example every Wednesday evening is "off") , so that is you cannot insert any appointment on this given 'slot'.
A problem arises with recurring "no man's land" events.

The potential overlap is detected correctly with the first occurence of the recurring event, but I can't manage to detect the following events.

In other words, on the first wednesday the "collision" is found, not on the subsequent ones.

Any ideas how to do that ?

I tried to look at this example :

Setting special days or time slots in RadScheduler

http://www.telerik.com/support/kb/aspnet-ajax/scheduler/setting-special-days-or-time-slots-in-radscheduler.aspx

But how I am afraid, I can't use it  : my no man's land areas are not "special days", but rather a "part" of a day.

Below is the method i tried to use (and which is faulty) :
    Protected Function isOnHSArea2(ByVal apt As Appointment) As Boolean 
 
        Dim allAppointments As IList(Of Appointment) = RadScheduler1.Appointments.GetAppointmentsInRange(apt.Start, apt.End) 
        For Each currentAppointment In allAppointments 
            If currentAppointment.ID <> apt.ID Then
 
                If (Convert.ToBoolean(currentAppointment.Attributes("isHS"))) Then 'isHS : off Duty
                    Return True 
                End If 
 
            End If 
        Next 
 
        Return False 
        'Return (appointmentsCount > (AppointmentsLimit - 1)) 
    End Function 

Thank you.
Peter
Telerik team
 answered on 23 Mar 2010
1 answer
430 views
Hi All,

I am using the Scheduler to plan appointments.
Some Appointments are set by administrator as "no man's land" (for example every Wednesday evening is "off") , so that is you cannot insert any appointment on this given 'slot'.
A problem arises with recurring "no man's land" events.

The potential overlap is detected correctly with the first occurence of the recurring event, but I can't manage to detect the following events.

In other words, on the first wednesday the "collision" is found, not on the subsequent ones.

Any ideas how to do that ?

Thank you.

Below is the method i tried to use (and which is faulty) :
    Protected Function isOnHSArea2(ByVal apt As Appointment) As Boolean 
 
        Dim allAppointments As IList(Of Appointment) = RadScheduler1.Appointments.GetAppointmentsInRange(apt.Start, apt.End) 
        For Each currentAppointment In allAppointments 
            If currentAppointment.ID <> apt.ID Then
 
                If (Convert.ToBoolean(currentAppointment.Attributes("isHS"))) Then 'isHS : off Duty
                    Return True 
                End If 
 
            End If 
        Next 
 
        Return False 
        'Return (appointmentsCount > (AppointmentsLimit - 1)) 
    End Function 

Peter
Telerik team
 answered on 23 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?