We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Odd behaivour in Lightswitch controls

Thread ID:





111183 Sep 11,2013 01:35 PM UTC Sep 24,2013 07:10 AM UTC LightSwitch Silverlight 2
Tags: SfDataGrid
Charles Elliott
Asked On September 11, 2013 01:35 PM UTC

Is anybody else having problems with the Lightswitch controls when running in a Silverlight Web app? In the Syncfusion Shell I am finding that the menus don't launch the screens and the first column in the Sfdatagrid is missing at runtime. Also if I set SizeToGrid mode the data in the grid disappears altogether! The shell also allows users to close all the windows down so that they have no navigation options whatsoever. If anyone has any way of resolving these issues please let me know.

Allen Adams
Replied On September 12, 2013 06:19 PM UTC

I have the same issues.  Datagrid appears on screen, but it doesn't respect any of the individual business types on the individual entities---they all are test boxes.

Santhosh A [Syncfusion]
Replied On September 24, 2013 07:10 AM UTC




Thanks for using Syncfusion products.




Menus don’t launch the screen in Syncfusion shell.

We are able to reproduce this issue and this will be fixed in our upcoming  Volume 4 release.

FirstColumn in SfDataGrid is missing at runtime


We have checked this issue in different scenarios , but we are not able to replicate the issue.

So would you please share some more information and steps to replicate the issue? That would be helpful for us to look into this issue further.


After Setting SizeToCells mode data in the grid disappears

We are able to reproduce the issue and this will be fixed with the upcoming Volume 4 release. Now you can use “Auto” column sizer to achieve your requirement.


The simple difference between Auto and SizeToCells is that Auto includes header cells while calculating column width but SizeToCells  does not include header cells.


Datagrid doesn’t respect any of the individual data types



LightSwitch SfDataGrid don’t have support for cell types currently. It loads text boxes for all types.

But you can achieve this requirement in sample level by replacing the appropriate column type.


The below code shows how to add ComboBoxColumn in SfDataGrid.



IContentItemProxy proxy = null;

partial void CreateNewTable_Created()


    proxy = this.FindControl("grid");

    proxy.ControlAvailable += proxy_ControlAvailable;




SfDataGrid dataGrid;

void proxy_ControlAvailable(object sender, ControlAvailableEventArgs e)


     dataGrid = e.Control as SfDataGrid;                                   


     this.Details.Dispatcher.BeginInvoke(() =>


          Dispatchers.Main.BeginInvoke(() =>


              GridComboBoxColumn entryTypeColumn = new GridComboBoxColumn();

              entryTypeColumn.ItemsSource = new List(){"One","Two","Three"};

              entryTypeColumn.MappingName = "MappingName";

              entryTypeColumn.AllowFiltering =dataGrid.AllowFiltering? true:false;











Please let me know if you need further assistance.



Santhosh A.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon