Open to group view

Posted by: davidmoss on 9 September 2017, 8:29 am EST

  • Posted 9 September 2017, 8:29 am EST

    Anyway to add code so screen will open to group view (category) by default?
  • Replied 9 September 2017, 8:29 am EST

    Imports C1.Silverlight.Schedule
    Namespace LightSwitchApplication

    Public Class Calendar

    Private Sub Calendar_InitializeDataWorkspace(saveChangesTo As List(Of Microsoft.LightSwitch.IDataService))
    AddHandler Me.FindControl("C1Scheduler").ControlAvailable, AddressOf C1Scheduler_ControlAvailable
    End Sub

    Private Sub C1Scheduler_ControlAvailable(sender As Object, e As ControlAvailableEventArgs)
    Dim MyScheduler As C1Scheduler = TryCast(e.Control, C1Scheduler)
    MyScheduler.GroupBy = "Category"
    MyScheduler.GroupPageSize = 2
    End Sub

    End Class

    End Namespace

    This works but with the major bug of not being able to go to another screen and back without control screwing up it's pretty much worthless. Is anyone at ComponentOne actively trying to resolve issues with this lightswitch control?
  • Replied 9 September 2017, 8:29 am EST

    Hello David,

    We have escalated this issue to the concerned team. Will let you know as soon as there is any update on this.

    Thanks,
    Richa
  • Replied 9 September 2017, 8:29 am EST

    Hello David,

    The issue (Scheduler becomes blank) is fixed in the latest C1LightSwitch installer 1.0.20123.31.
    It's now available on the prerelease site:
    http://prerelease.componentone.com/dotnet30/c1lightswitch/2012-t3/C1StudioLightSwitch.1.0.20123.31.msi

    The related Silverlight build 4.0.20123.296 is available here:
    http://prerelease.componentone.com/hotfixes/silverlight/C1Silverlight4_4.0.20123.296.zip

    Thanks,
    Richa
Need extra support?

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

Learn More

Forum Channels