C1.Silverlight.Schedule.Appointments

Posted by: jaiswalshilpi43 on 20 November 2017, 10:27 pm EST

    • Post Options:
    • Link

    Posted 20 November 2017, 10:27 pm EST

    Can any one please help regarding this issue,I’m using ComponentOne C1Scheduler so, When I’m moving to one schedule to another schedule I’m getting error even though i already added that refrence C1.Silverlight.Schdeule.

    Object reference not set to an instance of an object. at C1.Silverlight.Schedule.AppointmentsCoverPane.IsPaneElementInternal(FrameworkElement element)

  • Posted 22 November 2017, 12:37 am EST

    Hello,

    Could you please elaborate more on what you meant by ‘When I’m moving to one schedule to another schedule’. Does this mean that you have multiple schedules in one page and you are simply working on one Schedule an then on another, or does it has do anything related to Appointements (like on dragging & dropping etc),

    Also, could you please share the build version you are using while you are getting this error.

    Thanks,

    Ruchir Agarwal

  • Posted 22 November 2017, 1:50 am EST

    Hi Ruchir,

    We are using C1Schedular version 4.0.20111.125 and switching between Day view to Work Week view getting following error can you please what might be the issue ?

    Object reference not set to an instance of an object. at C1.Silverlight.Schedule.AppointmentsCoverPane.IsPaneElementInternal(FrameworkElement element)

    Following code is defined in xaml

    <sr:ToolBar x:Name="tbarButtons" HorizontalAlignment="Stretch" Grid.Row="0">
                            <StackPanel Orientation="Horizontal" >
                                <Button x:Name="btnToday" Content="Today" 
                                 Style="{StaticResource buttonStyle}" Click="btnToday_Click"/>
                                <!--<Rectangle Width="0.5" Height="Auto" VerticalAlignment="Stretch" Margin="0,3"
                                    Fill="{StaticResource BorderBrush}"/>-->
                                <RadioButton x:Name="btnDay" Style="{StaticResource radioButtonStyle}" Content="Day"   
                                    c1:CommandExtensions.CommandTarget="{Binding ElementName=sched1}"
                                    c1:CommandExtensions.Command="sched:C1Scheduler.ChangeStyleCommand"
                                    c1:CommandExtensions.CommandParameter="{Binding Path=OneDayStyle, ElementName=sched1}" />
                                <RadioButton x:Name="btnWorkWeek" Style="{StaticResource radioButtonStyle}" Content="Work Week"  
                                    c1:CommandExtensions.CommandTarget="{Binding ElementName=sched1}"
                                    c1:CommandExtensions.Command="sched:C1Scheduler.ChangeStyleCommand"
                                    c1:CommandExtensions.CommandParameter="{Binding Path=WorkingWeekStyle, ElementName=sched1}"/>
                                <RadioButton x:Name="btnWeek" Style="{StaticResource radioButtonStyle}" Content="Week" 
                                    c1:CommandExtensions.CommandTarget="{Binding ElementName=sched1}"
                                    c1:CommandExtensions.Command="sched:C1Scheduler.ChangeStyleCommand"
                                    c1:CommandExtensions.CommandParameter="{Binding Path=WeekStyle, ElementName=sched1}"/>
                                <RadioButton x:Name="btnMonth" Style="{StaticResource radioButtonStyle}" Content="Month" 
                                    c1:CommandExtensions.CommandTarget="{Binding ElementName=sched1}"
                                    c1:CommandExtensions.Command="sched:C1Scheduler.ChangeStyleCommand"
                                    c1:CommandExtensions.CommandParameter="{Binding Path=MonthStyle, ElementName=sched1}"/>
                                <!--<Rectangle Width="0.5" Height="Auto" VerticalAlignment="Stretch" Margin="0,3"
                                    Fill="{StaticResource BorderBrush}"/>-->
    
                                <Button x:Name="hypArrowPrevious" Style="{StaticResource ImageButtonStyle}" Margin="5,0,5,0" >
                                <Image x:Name="imgArrowPrevious" Source="resources/icons/Back 16 n p.png"/>
                                </Button>
                                <gControls:gDateTimePicker x:Name="dtScheduleDateTime" TimeZoneSource="None"   Style="{StaticResource gDateTimePickerStyle}"/>
                                <!--<basics:DatePicker x:Name="dtScheduleDateTime" />-->
                            <Button x:Name="hypArrowNext" Style="{StaticResource ImageButtonStyle}" Margin="5,0,5,0">
                                <Image x:Name="imgArrowNext" Source="resources/icons/Forward 16 h p.png"/>
                                </Button>
    
                            </StackPanel>
                        </sr:ToolBar>
    
  • Posted 22 November 2017, 7:41 am EST

    it is very old control version, built for Silverlight 4. I can’t tell what could be wrong. We ended Silverlight 4 support more than 2 years ago:

    https://www.grapecity.com/en/forums/silverlight-edition/support-ending-notice-silv

  • Posted 22 November 2017, 5:10 pm EST

    Is There any next version of C1Schedular 4.0.20111.125 in Silverlight 4 So that we can use of that version it may be fix our problem ?

  • Posted 22 November 2017, 9:00 pm EST

    Hello,

    You may try testing the issue using 4.0.20141.399 version, which could be downloaded from the following URL: http://prerelease.componentone.com/silverlight4/c1silverlight/2014-t1/C1Silverlight4_4.0.20141.399.zip

    Thanks,

    Ruchir Agarwal

  • Posted 23 November 2017, 1:22 am EST

    Hi Ruchir,

    After using above version also iam still facing same issue can you please what might be the issue to get this error . Do we miss anything ? Kindly look in to this issue and suggest some possible solution. Is this any Style issue when moving from Day view to Week view ?

    Object reference not set to an instance of an object. at C1.Silverlight.Schedule.AppointmentsCoverPane.IsPaneElementInternal(FrameworkElement element)

    Thanks,

    Krishna

  • Posted 27 November 2017, 11:58 pm EST

    Hi Krishna,

    We could not replicate any such issue using the latest version.

    Could you test the issue using the latest Silverlight version. If the issue still occurs, then we would request you to share the application with us. Otherwise as mentioned support for 4.0 has been stopped and without having your application & with 4.0 version we cannot suggest what possibly could be causing the issue at your end.

    ~Ruchir Agarwal

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels